DEV Community

Cover image for How To Monetize Your Private GitHub Repositories
Avraj
Avraj

Posted on

How To Monetize Your Private GitHub Repositories

A lot of creator-based platforms like Gumroad and Patreon allow you to sell digital products, and developers like me have been using them to also sell code. However, it's not convenient.

I personally have a Patreon for my YouTube channel where I share zip files for my source code. However, when I make changes to my code, I have to create a new zip file and re-upload it to Patreon. Worse, if someone wanted to properly discuss certain things related to the code, they have to send screenshots of the snippet and talk in a completely separate platform (Discord).

This inconvenience gave me an idea, so I built RepoCharge. It's a platform that integrates with your GitHub and Stripe account and allows you to add users to your private GitHub repository when they purchase it.

RepoCharge supports both one-time and recurring Stripe payments, so you can charge your audience once, or continuously. It also revokes access to the repository if the purchase was refunded, or when the subscription expires.

Feel free to give it a shot. I'm open to feedback on the platform, so you can always reach out to me through the RepoCharge support email or the Discord community.

Top comments (0)