
Sell GitHub Repository Access
With Polar you can seamlessly offer your customers and subscribers automated access to private GitHub repositories.- Fully automated collaborator invites
- Unlimited repositories (via multiple benefits) from your organization(s)
- Users get access upon subscribing & removed on cancellation
- Or get lifetime access upon paying a one-time price (product)
Use cases
- Sponsorware
- Access to private GitHub discussions & issues for sponsors
- Early access to new feature development before upstream push
- Premium educational materials & code
- Self-hosting products
- Courses, starter kits, open core software & more…
Create GitHub Repository Benefit
- Go to
Benefits
in the sidebar - Click
+ New Benefit
to create a new benefit - Choose
GitHub Repository Access
as theType
Connect your GitHub Account
and install a dedicated Polar App for this benefit across the repositories you want to use it with.
- Click
Connect your GitHub Account
Why do I need to connect GitHub again and install a separate app?This feature requires permission to manage repository collaborators. GitHub Apps does not support progressive permission scope requests. So instead of requesting this sensitive permission from all users (unnecessarily) in our core GitHub Login this feature uses a standalone app instead.
Repository
Select the desired repository you want to automate collaborator invites for.Why can I only connect organization repositories vs. personal ones?GitHub does not support granular permissions for collaborators on personal repositories - granting them all write permissions instead. Since collaborators would then be able to push changes, releases and more, we do not support personal repositories by default.Want this still? Reach out to us and we can enable it.
Role
Select the role you want to grant collaborators.- Read (Default & Highly recommended)
- Triage
- Write
- Maintain
- Admin
Anyone with read access to a repository can create a pull request (source).
Additional Costs for Paid GitHub OrganizationsGitHub treats collaborators as a seat and they will incurr charges accordingly to your billing unless you’re using a free GitHub organization plan. So make sure to confirm you’re on a free plan OR charge sufficiently to offset the costs you’ll need to pay to GitHub.