SupersaasHQ / lemonrepo

Sell access to private GitHub repositories using Lemonsqueezy & NuxtHub
https://supersaas.dev/lemonrepo
194 stars 21 forks source link
javascript nuxt nuxthub vue

Lemonrepo

Lemonrepo allows you sell access to Private GitHub repositories using Lemonsqueezy. Everything is automated, license activation to repo read only invite management.

Lemonrepo is the tech behind I use to sell https://supersaas.dev, a fullstack Nuxt 3 starter kit

Deploy to NuxtHub

Features

Environment variables

# GitHub
GITHUB_TOKEN=
GITHUB_OWNER=
GITHUB_REPO=

# Lemonsqueezy
LEMONSQUEEZY_API_KEY=
LEMONSQUEEZY_PRODUCT_URL=
LEMONSQUEEZY_WEBHOOK_SECRET=
LEMONSQUEEZY_STORE_ID=

# Admin
NUXT_SESSION_PASSWORD= A 32 char string
ADMIN_PASSWORD=

#TELEGRAM
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=

Setup

Make sure to install the dependencies with pnpm.

pnpm install

Development Server

Start the development server on http://localhost:3000:

pnpm dev

Production

Build the application for production:

pnpm build

Check out the deployment documentation for more information.

Deploy

Deploy the application on the Edge with NuxtHub on your Cloudflare account:

npx nuxthub deploy

Then checkout your server logs, analytics and more in the NuxtHub Admin.

You can also deploy using Cloudflare Pages CI.