#9797th of 101 in SaaS and app starters

nextjs-billing

Next.js subscription billing starter with Lemon Squeezy and GitHub auth

Stars
743
License
MIT
Last commit
Jun 2026
Language
TypeScript
Stars, last 29 weeks+13
25 Apr 2026: 730 stars2 May 2026: 731 stars9 May 2026: 732 stars16 May 2026: 732 stars23 May 2026: 733 stars30 May 2026: 734 stars6 Jun 2026: 734 stars13 Jun 2026: 735 stars20 Jun 2026: 735 stars27 Jun 2026: 736 stars4 Jul 2026: 737 stars11 Jul 2026: 737 stars18 Jul 2026: 737 stars25 Jul 2026: 737 stars1 Aug 2026: 738 stars8 Aug 2026: 739 stars15 Aug 2026: 739 stars22 Aug 2026: 739 stars29 Aug 2026: 739 stars5 Sept 2026: 740 stars12 Sept 2026: 740 stars19 Sept 2026: 740 stars26 Sept 2026: 740 stars3 Oct 2026: 740 stars10 Oct 2026: 740 stars17 Oct 2026: 740 stars24 Oct 2026: 740 stars31 Oct 2026: 741 stars7 Nov 2026: 743 stars14 Nov 2026: 743 stars

730 on 25 Apr 2026743 on 14 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A Next.js 14 App Router demo for subscription SaaS apps, with Lemon Squeezy billing, GitHub OAuth through Auth.js v5, and Postgres on Neon via Drizzle ORM. A webhook endpoint at /api/webhook processes subscription_created and subscription_updated events. The README notes that Lemon Squeezy's own Customer Portal covers the same features.

Who it is for: Developers building subscription SaaS on Next.js with Lemon Squeezy

Strengths

  • Auth, billing and database already wired together in one TypeScript codebase
  • Includes a Setup webhook action that registers the webhook via the Lemon Squeezy SDK
  • Drizzle with Neon serverless Postgres works with Vercel Edge Functions
  • MIT license

Weaknesses

  • Tied to Lemon Squeezy, Neon and GitHub OAuth; swapping any means rewriting code
  • Only handles subscription_created and subscription_updated webhook events
  • Local webhook testing needs a tunnel such as ngrok or LocalCan
  • Pinned to Next.js 14; no release is published

What it needs

  • TypeScript
  • Needs Lemon Squeezy account, Neon Postgres, GitHub OAuth app, ngrok or similar tunnel for local webhooks
  • env example file
  • sign-in: Auth.js

Also in SaaS and app starters

See all 101
Also in SaaS and app starters
RankProjectScore
1twentyOpen-source CRM extensible with objects, views and agents defined as code61.1k starscustom license97 out of 100
2wailsFramework for building desktop apps with a Go backend and web frontend37.1k starsMIT94 out of 100
3quasarVue.js framework for web, mobile, desktop and extension apps from one codebase27.2k starsMIT94 out of 100
#4next.jsReact framework for full-stack web apps with Rust-based build tooling143.7k starsMIT93 out of 100
#5herouiReact component library on React Aria and Tailwind CSS v431.2k starsApache-2.092 out of 100