HNHacker News
TopNewBestAskShowJobs

hermanthepug

2 karma · joined February 28, 2024

submissionscomments
hermanthepug··on Show HN: Share private GitHub repos by auto-generated URL and paywall
These are some great ideas! Thanks!
hermanthepug··on Show HN: Share private GitHub repos by auto-generated URL and paywall
It's for cases where you'd ideally keep the repo private - eg. source code for an app you're working on.

Cloning can be prevented as we're not simply sharing the github repository directly to the client. We're exposing a version of the repository (to which the user could painstakingly go file by file and copy all the contents), but there'd be no git clone option. However, this could be enabled if wanted by the owner.

If you're a content creator and wanting to share the code, you may want to monetise access to the code. Many creators do this by uploading the repo to Dropbox and adding a share link inside their Patreon or membership platform.

hermanthepug··on Show HN: Share private GitHub repos by auto-generated URL and paywall
Nice q. While that's valid, there's also a need to allow 1000s+ of people to view a repository without knowing who these people are ahead of time (eg. content creator). This is where link generation is valuable + user management.

There's also a need to share multiple private repositories in a bundle using one single link - again to an unknown number of people.

Add this together with monetization, payment landing pages, disabling cloning (currently not possible within Github) and analytics.

hermanthepug··on Show HN: Share private GitHub repos by auto-generated URL and paywall
In a similar way to Docusign, you grant READ access to Repobear inside the dashboard, set a price and generate a share URL. User purchases the link and is returned access to the repository. Access isn't through Github directly, we act as the middleman and pass the repo contents to the client. Repo owner also has option to toggle cloning or not to the viewer :)
hermanthepug··on Show HN: Share private GitHub repos by auto-generated URL and paywall
Thanks dude!