No sign-up11,173 open-source and SaaS tools, with GitHub stats refreshed every day.

Marrow Stack

SaaS

Collection of free MIT-licensed Next.js TypeScript blocks for auth, billing, teams, email and rate limiting that you copy into your own project.

marrowstack.dev
Marrow Stack homepage screenshot

About Marrow Stack

MarrowStack is a library of copy-and-paste TypeScript blocks for Next.js. Each block is a self-contained server action you drop into a project, with strict typing, Zod-validated inputs and typed database adapters. The site lists 17 open-source blocks, free under the MIT license, and says you sign in to copy them.

Blocks include an auth system with email and password, GitHub and Google sign-in, plus verification, password reset and role-based access control, along with account lockout, all wired to Supabase, billing and subscriptions through the PayPal REST API, team workspaces with member invitations and row-level security, a transactional email system through Resend, and sliding-window rate limiting with an Upstash Redis upgrade path.

The product description also names an admin block, Solana sign-in and USDC payments. The code is described as ORM agnostic, working with Prisma, Drizzle, Supabase or any repository pattern, with hardened defaults such as bcrypt hashing and token expiry.

Key features

  • Self-contained Next.js server action blocks
  • Auth with OAuth, lockout and role-based access
  • PayPal billing and subscription block
  • Multi-tenant team workspaces on Supabase
  • Transactional email templates via Resend
  • Rate limiting with an Upstash upgrade path
  • Zod-validated, strictly typed code

Good fit for

  • Starting a SaaS with ready-made auth and billing
  • Adding team workspaces to a Next.js app
Tags
nextjs
typescript
auth
billing
supabase
code-blocks
open-source
saas-starter

Marrow Stack: questions and answers

What is Marrow Stack used for?
Marrow Stack is a collection of free MIT-licensed Next.js TypeScript blocks for auth, billing, teams, email and rate limiting that you copy into your own project. It is a good fit for starting a SaaS with ready-made auth and billing, and adding team workspaces to a Next.js app.
Is Marrow Stack open source?
No. Marrow Stack is proprietary (closed-source) software. In the Developer Tools category, open-source options include Visual Studio Code, Godot and code-server.
Can I self-host Marrow Stack?
Yes. Although Marrow Stack is closed source, it can be self-hosted on your own servers.
What are some alternatives to Marrow Stack?
Marrow Stack competes with Boilerships and Dirstarter.

Open-source alternatives to Marrow Stack

See all

SaaS alternatives to Marrow Stack

See all