Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erfanebrahimnia/unlockrepo
Automate your Github repository access
https://github.com/erfanebrahimnia/unlockrepo
automation github gumroad kysely nextjs nextjs14 react shadcn-ui tailwindcss typescript
Last synced: 6 days ago
JSON representation
Automate your Github repository access
- Host: GitHub
- URL: https://github.com/erfanebrahimnia/unlockrepo
- Owner: ErfanEbrahimnia
- License: mit
- Created: 2024-11-12T11:57:55.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-02T12:16:44.000Z (about 2 months ago)
- Last Synced: 2025-01-18T08:05:04.876Z (12 days ago)
- Topics: automation, github, gumroad, kysely, nextjs, nextjs14, react, shadcn-ui, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://unlockrepo.com
- Size: 468 KB
- Stars: 18
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔐 UnlockRepo
A simple tool to automate and monetize granting access to your private repositories after a purchase is made on Gumroad.
[Live demo](https://unlockrepo.com)
## 👨💻 Tech Stack
UnlockRepo is built using:
- [Next.js 14](https://nextjs.org/)
- [shadcn-ui](https://ui.shadcn.com)
- [TailwindCSS](https://tailwindcss.com)
- [Lucia](https://lucia-auth.com/)
- [Kysely](https://kysely.dev/)
- [@t3-oss/env-nextjs](https://env.t3.gg/)
- Hosted on [Vercel](https://vercel.com/)## 🛠️ Self-Hosting UnlockRepo
Deploying UnlockRepo is straightforward:
1. Clone this repository.
2. Deploy to Vercel using `npx vercel deploy --prod`.
3. Set up a new Postgres database.
4. Register a [Gumroad OAuth application](https://app.gumroad.com/settings/advanced#application-form).
5. In Gumroad, add a [new custom text field](https://app.gumroad.com/checkout/form) titled "Github Username" (make sure it matches this text exactly).
6. Register a [GitHub OAuth application](https://github.com/settings/developers).
7. Refer to the [.env.example](https://github.com/ErfanEbrahimnia/unlockrepo/blob/main/.env.example) file and add the environment keys in Vercel.## ⚙️ Running Locally
To run UnlockRepo locally, make sure you have Node.js > 18.20.4 and Postgres installed.
1. Clone this repository.
2. Run `npm install` to install dependencies.
3. Copy [.env.example](https://github.com/ErfanEbrahimnia/unlockrepo/blob/main/.env.example), rename it to `.env.local`, and update the values as needed.
4. Run `npm run dev`.---
Feel free to reach out at [email protected] or [on Twitter](https://x.com/ErfanEbrahimnia) with any questions or feedback. Hope you find this useful! 😊