
Github has announced that it has added sponsors-only repositories feature to help developers monetize their private code.
GitHub sponsors-only repositories
The sponsors-only repositories feature is available for all developers who have enabled GitHub Sponsors. Once you have enabled sponsors-only repositories, GitHub will automatically send invites to new and current sponsors. If a sponsor cancels his sponsorship, he will be automatically removed.
Github says that developers can use the sponsors-only feature to grant access to projects for only sponsors, discussions, or issues for only sponsors, and early access to projects that you are working on.
You can set the minimum and custom amount that sponsors are required to pay.
The introduction of the sponsors-only repositories feature means that we are likely to see more developers use Github for source code repository hosting with an aim of monetizing their code in the future or more public repositories being converted to private for the purpose of monetization.
How to add sponsors-only repositories

To add a repository to sponsors-only follow the procedure below (before you proceed, make sure that you have applied to join GitHub Sponsors and you have set up your sponsor account. Otherwise, you will not see the Your Sponsors tab in your account.).
- Log in to your GitHub account
- Click account menu
- Below the drop down, click Your Sponsors
- A list of sponsors will be shown
- On the right click dashboard
- Click sponsor tiers on the left sidebar
- Click edit on the tier you want to edit
- Then select Grant sponsors access to a private repository
- In the drop down menu, pick the repository that you want to be sponsors-only
- Then click the update button
- You are done
NOTE: In order to add a repository to the sponsors-only list, it must be set to private and you must have admin access permission. Only personal accounts can subscribe to sponsors-only repositories.
Read more about the introduced GitHub sponsors-only repositories feature.
Leave a Reply