lemonrepo

Sell access to private GitHub repositories using Lemonsqueezy & NuxtHub

Stars
153

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

Features

  • A modern website template to sell your repo
  • Feature sections
  • Show realtime sales
  • A public changelog showing your GitHub commits
  • Testimonials
  • FAQ
  • Lemonsqueezy integration
  • Superfast loading (Scored 100 on speed test)
  • Admin Panel - View orders, Taxes, Refunds, Discounts
  • Customer details
  • License details
  • Telegram notifications

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.

Badges
Extracted from project README's
Deploy to NuxtHub
Related Projects