GitHub - Patreon Integration

Hi! New to the group.

As a creator, I would like to make my private GitHub repositories available to my Patreons so that they can have exclusive access to my code and code enhancements.

I would like to automate adding and removing users from my GitHub repos based on their Patreon subscription.

Before I go off and develop this myself…

Has this already been done?

TIA!

2 Likes

I don’t know of any maintained library or integration that does this so that you could just clone and get going. I think it would be better if you coded your own integration. Basically you will need to call the Patreon api to confirm the patronage status of any user. They may need to link both their github and Patreon accounts to an intermediary app of your own. You can easily and cheaply launch such an app at any standard web hosting provider using the official PHP lib. Or you could adopt the logic in the PHP lib to your own stack.

1 Like

Thanks for the response!

2 Likes

GitHub’s new Sponsor program does this and it has been great … however it lacks a lot of features and just removed PayPal as a payment provider really pissing off a lot of sponsors.

If Patreon could come up with a ready go solution ya you would dominate in the open source and indie software dev arena. As it is I do not have the time or bother to try and sort out such an integration and so we are removing our use of Patreon in favour of GitHub Sponsor … not because its better … its not … but it significantly reduces the manual management we would need to do if we manually handled granting access to patreons to our private repo or some similar ham fist solution.

1 Like

Thanks for sharing! I’ve been busy with some other integration work (eBay) but need to get back to this!

1 Like

Yes, that would help the Open Source and the general indie software ecosystems greatly.

1 Like