Skip to content
Code Recycle
Free · open sourceMITUnclaimed listing

nextjs-billing is by lmsqueezy — not by us.

We indexed this project so people can find it. We are not selling it, we host no copy of the code, and we are not affiliated with or endorsed by its authors — get it from them.

Indexed Oct 12, 2026 · 740 stars at index time. Maintainers: claiming verifies your identity and unlocks a higher assurance tier. Removal requests are honored.

Template · for humans & their agents

nextjs-billing

unclaimed listingactively maintainedFreeMIT

Next.js billing app with Lemon Squeezy

by Open Source Community · New publisher

Go to the project ↗Open live demo ↗

Every claim on this page is refundable if it is untrue — refund policy.

lemonsqueezy.com

lmsqueezy/nextjs-billing is an open-source project by lmsqueezy: Next.js billing app with Lemon Squeezy. Indexed here so it can be found — not resold.

It is free. Get it from the upstream repository: https://github.com/lmsqueezy/nextjs-billing

From the project's own README (excerpt, reproduced for discovery under its MIT license):

Next.js Billing App with Lemon Squeezy

This Next.js demo app can be used as a base for building subscription-based SaaS apps.

Just clone this repo and build your app alongside the ready-made auth and billing.

Using the following stack: • Framework - Next.js 14 • Language - TypeScript • Billing - Lemon Squeezy • Auth (GitHub OAuth) - Auth.js v5 • ORM - Drizzle • Styling - Tailwind CSS • Components - Wedges • Serverless Postgres - Neon • Linting - ESLint • Formatting - Prettier

This template uses the Next.js App Router. This includes support for enhanced layouts, colocation of components, tests, and styles, component-level data fetching, and more.

Compatbile with Vercel Edge Functions and serverless deployments.

Customer Portal vs Integrated Billing

Keep in mind that Lemon Squeezy comes with inbuilt Customer Portal that covers all the features from this app and more.

Nonetheless, should you seek a billing solution more closely integrated with your SaaS platform, this template serves as a foundation for creating a seamless, integrated SaaS billing system.

Prerequisites

1. Lemon Squeezy Account and Store

You need a Lemon Squeezy account and store. If you don't have one already, sign up at Lemon Squeezy.

2. Neon Account

This template uses Neon + Drizzle ORM for serverless Postgres, making it compatible with the Vercel Edge functions. If you don't have an account, you can sign up for free at Neon.

Getting Started

1. Clone the Repo

Start by cloning this repo to your local machine and navigating into the directory.

2. Install Dependencies

Then, install the project dependencies:

3. Set Environment Variables

Copy the .env.example file to .env:

Then, fill in the environment variables:

Lemon Squeezy

Once you have created an account and store on…

Preview

See what it does before you commit. Previews show behavior, never source code.

01Capabilities

Does

  • No capabilities recorded

Doesn’t

  • No exclusions declared

02Requirements & stack

Depends on

No declared dependencies

Credentials needed

None declared

Stack

typescript

03Community

No endorsements yet

No verified confirmations yet — be the first.

Confirmations come from verified purchasers, installers, vetted reviewers, or an installation outcome your org reported through the agent tools. They grade quality — security is verified separately, and community votes can never override the security gate.

Open an issue

Sign in to confirm — weight comes from verified usage, not vote count.

Nobody has reported anything yet — a success counts as a report too.

04Trust Passport

Full passport →
–/100

0/0 automated components pass. An automated score is never a security guarantee.

This listing is unclaimed, so publisher identity cannot be verified and it stays below the “verified” tier by design — that is a statement about the listing, not about the project’s quality. Our automated scans still ran; a maintainer who claims it unlocks identity verification.

VersionChannelReleasedNotes
0.0.0stableOct 12, 2026Indexed listing — see the upstream repository for real release history.