Platform Sponsorship
About 315 wordsAbout 1 min
Use the sponsorship feature to financially support projects or users you admire.
CNB links a user's WeChat sponsorship code with their account and displays it in appropriate locations. Funds go directly to the creator's WeChat account — CNB does not charge any fees.
Please verify the creator's credibility before sponsoring.
Upload Sponsorship Code
Generate a WeChat Sponsorship Code
Open WeChat, tap the
+in the top-right corner → Payment → Sponsorship Code, complete the setup, and save the code.
wechat-sponsor Upload the WeChat Sponsorship Code
Go to the CNB platform - Personal Settings, and upload the WeChat sponsorship code.
Display Sponsorship Code
Personal Homepage
When visiting a user's homepage, if the user has uploaded a sponsorship code, click the sponsorship button to view the code and scan to sponsor.
Repositories Homepage
A repository homepage displays the sponsorship information of the top 5 most active users in the past 30 days by default. Users without a sponsorship code are excluded, and no lower-ranked users are substituted.
Repository activity is calculated based on commits, pull requests, issues, and other activities.
Customize Repository Sponsorship Information
If you need to customize the list of sponsored users or add custom donation links, add a .cnb/FUNDING.yml file to the default branch.
File content:
cnb:
- user1
- user2
custom:
- custom-url1
- custom-url2Field descriptions:
cnb: Specify sponsored users by username, up to 5. Once configured, only these users will be displayed, replacing the top 5 contributors.custom: Custom donation links shown in the sponsorship section, up to 5 URLs.
Stop Accepting Sponsorships
- Personal sponsorship: Go to Personal Settings and delete the uploaded sponsorship code.
- Donation links: Delete the relevant configuration in
.cnb/FUNDING.yml.