Back to blogs

CoreMVP Is Now Open Source

Both SaaS templates, for Next.js and TanStack Start, are free under Apache-2.0: sign-in, teams, billing, Docs, tests and launch guides included.

By Antoine RossPublished
CoreMVP Is Now Open Source

CoreMVP for Next.js and TanStack Start are now free and open source under Apache-2.0. You can read every line before you build on it, use it in a commercial product, and keep the result in your own repository.

Clone a template and, with local Supabase running, you can sign up, create an Organization, and save a Project that survives a reload. Sign-in, teams, saved data, uploads, billing-based access, email, a public site and Docs are already connected, documented, and covered by tests you can run.

Try it before you clone: the live Next.js demo includes a dashboard with sample data.

What you get

Sign-in and accounts

Email and password sign-in works out of the box, with cookie-backed sessions, password reset, protected dashboard routes, and an Account page with a profile picture. Google sign-in is wired up and needs your provider settings. Passwordless email sign-in has its API route and hook ready, and the guide shows how to add its button. Authentication

Teams and permissions

Every user gets a private Personal Organization and can create shared ones, switch between them, and invite teammates by email-bound link. Owners, Admins and Members get different permissions, and the server re-checks the membership before every Organization action, so a role shown in the dashboard never grants access by itself. Organizations

The included Organizations test, from the owner's browser.

Projects show the pattern for your own data. Each one belongs to an Organization and can be created, renamed, archived and restored; people outside that Organization can't open it. Projects

Billing-based access

Connect Stripe or Polar for subscriptions or lifetime purchases. Lifetime buyers can check out as guests and set up their account afterwards; subscriptions start from a signed-in account. Access comes from the signed webhook, not the return page. Customers manage cards, invoices and cancellation in the provider's portal. Billing

Files and email

Private PDF, PNG and JPEG uploads up to 4 MiB, where each user can open only their own files. Supabase Auth sends account emails. Your app sends confirmations for eligible first purchases through Resend, and a mock mode keeps local development from sending them. Storage · Email

A dashboard to build on

A sidebar layout with Projects, Organizations, Account and Billing already working, plus Overview, Analytics, Activity, Records, Onboarding and Settings pages with sample data to replace, and a page of loading, empty and error states to copy from. Customize the dashboard

The dashboard speaks English and French and remembers the choice. You can add languages or remove translation entirely. Internationalization

Switching the dashboard to French.

A public site to make your own

A landing page, pricing page, changelog, MDX Blog with generated social images, and product Docs with search. Docs pages can require billing-based access, and each page is also available as Markdown under the same access rule. One configuration file sets your product name and default social preview, one origin setting drives canonical URLs, and the sitemap and robots rules come with it. Frontend · Blog · Docs · Public Page SEO

An API and database you can follow

Hono serves every route under /api, services hold product rules, and repositories query Supabase PostgreSQL through Drizzle, with SQL migrations for every table. Step-by-step guides show how to add an endpoint and change the schema. The OpenAPI reference documents the shared auth, billing, user, webhook and health operations. Application architecture

Choose your stack and host

Both include the features above and share the same API operations and Docs. Both build and deploy to Vercel or Cloudflare Workers, but not every hosted flow is verified yet for TanStack Start: Stripe test checkout is verified on Vercel only, and Polar, OAuth sign-in and production email are not yet verified on either host. Deployment status

Check that it works

A feature that looks finished can still be wrong, so the important flows come with browser tests. The ./coremvp command in each repository runs them, and also syncs your local environment, builds the app, and seeds demo billing data. CoreMVP CLI

With your local app and Supabase running:

./coremvp e2e projects

A recorded local run of the Projects suite, sped up.

The test saves and renames a Project, reloads to check it persisted, and confirms that another account can't retrieve it. Other suites cover sign-up, sign-in and sign-out (auth), Organizations and invitations (organizations), the dashboard language (dashboard:i18n), and billing from paywall to restricted content in Stripe test mode or the Polar sandbox (billing:lifetime and billing:subscription). Test Projects

After you deploy, hosted checks run from your computer against your own URL: an HTTP reachability check, plus sign-in and Stripe test-mode billing journeys in a browser you can watch with --headed.

These checks are evidence for the flows they cover, not a guarantee for your own changes or deployment.

Docs from first run to launch

The Quickstart takes you from an empty folder to a saved Project on your machine. The deployment guide then adds one thing at a time, each ending with it working on your URL: a live app, working accounts, deploy on merge, email, billing, Google sign-in, your domain, and real payments.

After launch, step-by-step guides cover shipping a change, rolling back, reading logs, rotating a secret, backups and adding a Test environment.

Your repository, with updates when you want them

Your app lives in your own repository, so improvements to CoreMVP never overwrite it. Keep CoreMVP as an upstream remote and take an update on a branch, review the changes and new migrations, and ship it like any other change.

Skills for your coding agent

If you use Claude Code or Codex, both repositories include instructions and skills for development, marketing, writing, SEO and reusing your product's visual and voice decisions. The development workflow separates planning, implementation and review: clear changes go straight to implementation, uncertain ones get a plan that an independent reviewer challenges first, and you make the product choices. Ask to see the plan first if you want to approve it. Agents can read the same Docs you do, as Markdown. Point one at a real feature and ask it to run the matching test:

Give your agent this prompt
Add an optional description to Projects. Read the repository instructions and use the worked example at https://coremvp.com/en/docs/projects.md.
Keep access scoped to the Project's Organization.
Run ./coremvp e2e projects and verify that the description saves and survives a reload. Report what changed, the results, and any checks you couldn't run.

You bring your own coding tool and model access. Agentic workflows · Set up your coding agent

Start building

Clone the template for your stack, follow the Quickstart, and save your first Project:

git clone https://github.com/coremvp/nextjs.git
# or
git clone https://github.com/coremvp/tanstack-start.git

Use GitHub issues to report problems or suggest improvements, and tell us where the setup or code can be clearer.

Both templates are available under Apache-2.0. Section 6 of the license covers trademark use and customary attribution. Hikari remains a separate MIT-licensed minimal starter.

About the author

I'm Antoine. I build CoreMVP and write about the problems I run into, the decisions I make, and what I learn along the way.

Read more