Self-hostable Boilerplates
LAST VERIFIED OCT 29, 2026
Some teams can't or won't run their stack on someone else's cloud - compliance requirements, cost at scale, or just a preference for owning the infrastructure. These are boilerplates built to run outside the default Vercel/Supabase-style managed stack: Docker Compose for local and production parity, no hard dependency on a single vendor's platform APIs, and documentation that actually covers deployment to your own servers rather than a one-click button to someone else's. If you're comparing self-hosting against a managed option, it's worth reading the specific stack listed on each entry - '`self-hostable`' can mean anything from 'runs in one container' to 'needs a small ops team.'
18 kits - 9 free

IndieKit
Next.js 16 SaaS starter with a free MIT tier and closed-source paid Pro
from $79

Full Stack FastAPI Template
Free FastAPI and React starter with Postgres, JWT auth and Docker deployment

Apptension SaaS Boilerplate
Free, open-source Django + React SaaS boilerplate with 3k GitHub stars

Full-Stack AI Agent Template
A FastAPI + Next.js scaffold for building production AI agent products

Mastodon
The self-hosted, federated microblogging server behind the biggest corner of the fediverse.

Discourse
The open-source forum engine behind thousands of dev, gaming, and support communities.
from $1

NodeBB
A forum platform built on Node.js and WebSockets instead of Discourse's Rails stack.
from $0

Frappe LMS
AGPL-licensed course platform on the Frappe framework, with courses, live batches, and Frappe Cloud hosting.

Ultimate Backend
A free, MIT-licensed NestJS microservices SaaS starter with CQRS, GraphQL, and 7 core services

SaaS Pegasus
Mature Django SaaS boilerplate with teams, Stripe billing, and AI building blocks
from $449

WP Job Manager
The WordPress plugin most job boards are quietly built on, with employer applications and paid listings sold as official add-ons.
from $159

MkSaaS
Next.js 16 SaaS kit with AI features and three payment options

supastarter
Commercial TypeScript SaaS kit, sold per framework as a one-time license

Express-BetterAuth-Boilerplate
A Node.js/Express backend starter with Better-Auth authentication fully wired up

SlimSaaS
Lean Django + React SaaS starter kit with a one-time price

next-hono-turborepo
Minimal Next.js 16 + Hono monorepo starter with Turborepo and Docker

LastSaaS
A free, MIT-licensed Go + React SaaS boilerplate with multi-tenant billing, RBAC, and an MCP server

FastAPI Backend Starter Kit
A production-ready FastAPI backend template with async CRUD, Celery workers, and Docker out of the box