Skip to content
プロジェクト

概要

Seed: the free SaaS starter built on web standards. Runs on Deno. Sign-in with 2FA, groups with roles, per-member Stripe billing, realtime, an offline app, an admin panel and a public website, wired together. MIT-licensed, built in public.

ビジネス・金融

この数値の測り方

計測したスター増加

24時間
-2
7日間
-2
15日間
-2
1か月
-1

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Seed

Seed: the free SaaS starter built on web standards. Runs on Deno, Node and Bun. The groundwork of your SaaS, already built: sign-in with a second factor, groups with roles, per-member Stripe billing, realtime, an offline app and an admin area, on Postgres and Docker Compose. MIT-licensed, usable today, built in public.

CI License

Try the live demo → · Website · Architecture · Deploy · All docs · Start a product

Demo video, 1 minute: Seed is cloned into an empty folder, deno task init writes the env file, deno task dev starts the stack, then a team's notes, a new tagged note, the group's members and the admin panel's view of a teammate. Opens the video on antonshubin.com.

Create your repository from it, fill in the env file, and you start with a product that already has accounts, a second factor, tenancy and a place for background work. A new user signs up and gets an account, a session and a first group in one database transaction. Groups are the only tenancy boundary, so the same membership checks and roles cover a person's own data and shared workspaces.

It exists because every SaaS MVP needs the same groundwork before its first feature. The reusable parts live here and in the published @spy4x/* packages; product rules stay out.

Status: usable today, and still growing in public. On main now: passkeys, Google and GitHub sign-in, email sign-in codes, guest accounts, a second factor, groups with roles and invitations, Stripe billing per member, notes (the reference feature), the file store, notifications in the app, by web push and in Telegram, nine languages, an offline SPA, the admin panel, and a public website with a blog and a newsletter. All of it is tested in CI, and most of it runs in the live demo with made-up people. The Android app and the iOS app wrap the hosted SPA. Not built yet: the desktop app, and the rest of the open issues.

Why Seed

  • Tenancy from day one. Every user gets a group at sign-up; every group uses the same IDs, membership checks and roles, from viewer to owner. A group can be renamed, deleted and, for 30 days, restored, and a person always keeps at least one.
  • Sign-in that is done. E-mail and password with a confirmation code, passkeys, Google and GitHub, and email sign-in codes. A visitor can start in a guest account with one click and add a sign-in method later, keeping their data. An authenticator app adds a second factor, people see and end their sessions, and personal API tokens are stored only as hashes.
  • Billing per member, through Stripe. A free plan with limits, a 14-day trial, quantities that follow the member count and a grace period after a failed payment: docs/billing.md.
  • Nine languages. The SPA, the admin panel, the website and the mails speak English, German, Spanish, French, Brazilian Portuguese, Russian, Japanese, Simplified Chinese and Arabic, which reads right to left.
  • A file store. Garage, a bundled S3 store, keeps images and PDFs on notes and profile pictures. Uploads go through signed links, and photos become small AVIF and WebP copies with their metadata removed: docs/files.md.
  • Notifications. In the app, by web push on a phone or desktop, and in Telegram once a person links the bot: docs/telegram.md.
  • Offline-first SPA. The SPA keeps the last notes and groups in IndexedDB (the shared data cache), opens with no network, and queues note writes with their idempotency keys. It sends them on reconnect and shows a stale write as a conflict to settle, never as a silent overwrite. The layer sits in one folder, so a product that does not want it deletes the folder, follows the removal steps in docs/offline.md and keeps an online SPA.
  • An admin panel on its own host. Operators find a person and see their sign-in methods, sessions and groups, refund a payment, write the blog, look after the newsletter's subscribers and rerun a failed job. Every action goes to the audit log.
  • A public website. Server-rendered by a small Fresh-compatible layer built with Vite, and usable with JavaScript off: pricing, legal pages, a blog with an RSS feed, and a newsletter with double opt-in and one-click unsubscribe: docs/apps.md.
  • CQRS with an outbox. Commands, queries and events go through one bus. Every group change writes its event to outbox_events, and the worker drains that table.
  • Safe API defaults. Every mutation must come from the web app's own origin, and group lists page with HMAC-signed cursors.
  • Built on web standards. Hono handlers take a Fetch Request and return a Response; password hashes and cursor signatures use Web Crypto; live updates travel over a standard WebSocket; everything is an ES module. The servers run on Deno, Node or Bun in Docker on any Linux host you control, and the clients run in any modern browser.
  • Operations included. Docker Compose for development and single-node production: Traefik, Postgres, Valkey, VictoriaMetrics, VictoriaLogs and Grafana.

Use it if you are starting a multi-user web product and want auth, tenancy and operations settled before the first feature. Skip it if you deploy to serverless functions rather than a server you run.

Runtimes

Seed runs on Deno, Node and Bun. The API, the worker, the migration and the website start unchanged on each, and CI starts the API, the worker and the website on all three for every pull request. One line in the env file picks the runtime of a product's servers (docs/apps.md):

APP_RUNTIME=node   # or bun; deno, empty or no line keeps Deno

The code is built on web standards: Fetch Request and Response, Web Crypto, WebSocket and ES modules. Seed's own tasks and tests run on Deno 2, which npm or Bun installs for you below. On 9 October 2026 the Deno team announced one more year of support for the runtime, with monthly bug-fix and security releases, after which it ends its own development; Deno stays open source. Running on all three runtimes keeps that choice with you. Seed never used Deno Deploy, so Deploy's shutdown does not affect a Seed product.

Quick start

Requires Docker and one of Node, Bun or Deno. The services run in Docker; the tasks that set them up run on Deno, which the first command installs on Node and Bun. The GitHub CLI is optional: GitHub's "Use this template" button and a clone do the same as the gh line.

Node

npm install -g deno
gh repo create my-product --template spy4x/seed --private --clone
cd my-product
npm run init
npm run dev

Bun

bun add -g deno
gh repo create my-product --template spy4x/seed --private --clone
cd my-product
bun run init
bun run dev

Deno

gh repo create my-product --template spy4x/seed --private --clone
cd my-product
deno task init
deno task dev

The root package.json hands the common tasks (init, dev, test, compose and the others it lists) to Deno, so the docs' deno task <name> also runs as npm run <name> or bun run <name>. To run the product's servers on Node or Bun as well, set APP_RUNTIME=node or APP_RUNTIME=bun in infra/envs/.env before dev; to switch later, rebuild the images as docs/apps.md says.

init checks that Docker runs, copies infra/envs/.env.example to infra/envs/.env, generates every secret and the web push keys, records the Seed commit your copy came from, and asks for the project name. dev starts Traefik, unless one already runs, then Postgres, Valkey, the API, the worker, the SPA and the monitoring. Then open http://app.localhost. Get started walks through it step by step: what opens where, and what to do when a step fails.

Or ask your AI agent:

Create my new product "Acme" from https://github.com/spy4x/seed and run it locally

To use Podman, set CONTAINER_PROVIDER=podman in the env file and start Traefik with deno task proxy:start, which calls Docker.

To keep taking Seed's fixes and features in your product later, see docs/products.md.

The rest of the local stack (monitoring, migrations, demo data, resetting the database) is in docs/local-stack.md.

What you get

Light Dark
The sign-in page in the light theme: a card titled Welcome back with an e-mail or username field, a password field, a Sign in button, a link for a forgotten password and a Sign in with a passkey button, and below the card a Try it without an account button that opens a new account in the browser and a link to create an account. The sign-in page in the dark theme: a card titled Welcome back with an e-mail or username field, a password field, a Sign in button, a link for a forgotten password and a Sign in with a passkey button, and below the card a Try it without an account button that opens a new account in the browser and a link to create an account.
The profile page in the light theme for the demo user Alex Rivera: a narrow icon rail on the left with the Personal group, search, Overview, Notes, Activity, Groups, notifications and the account, the profile's sections from Account to API tokens and Delete account, and the Account section with the name and the verified e-mail address. The profile page in the dark theme for the demo user Alex Rivera: a narrow icon rail on the left with the Personal group, search, Overview, Notes, Activity, Groups, notifications and the account, the profile's sections from Account to API tokens and Delete account, and the Account section with the name and the verified e-mail address.

The admin panel, on its own host, in a 58-second video on the website:

Watch the admin panel video on seedsaas.com: the Users page of the admin panel in the dark theme, listing five made-up people with their role, status and when they were last seen.

The screenshots, the GIF and the video show made-up people; docs/screenshots/record.ts records the pictures again from a running app, and docs/screenshots/admin-video.ts (deno task video:admin) the video.

How the parts fit togetherArchitecture diagram. Clients: apps/spa, the product, a Preact and Vite PWA with an IndexedDB offline copy that pulls what changed since its cursor; apps/admin, the operator area on its own host; apps/mpa, the public website on Preact and Vite, rendered on the server. All three call apps/api, the SPA over REST, the call route and the WebSocket, the admin app over REST, the MPA over REST for the blog, contact links, the catalog and the newsletter. Servers: apps/api on Hono (auth, CQRS dispatch, REST, the call route, the WebSocket) and apps/worker, which runs the outbox jobs. Data: Postgres 18 behind PgBouncer is the source of truth, Valkey holds rate limits, sign-in flows and the cache, and Garage stores files with the files profile. Docker Compose also runs Traefik and, with the monitoring profile, VictoriaMetrics, VictoriaLogs and Grafana. Shared code: libs/domain, libs/server, libs/ui, libs/platform and the @spy4x packages on JSR.

Documentation

Also on the website: seedsaas.com/docs, every guide below that is not internal, with the changelog at seedsaas.com/changelog.

Development

deno task check           # lint, format check, type check and unit tests
deno task hooks:install   # refuses a push while check is red, in every worktree
deno task e2e:local       # browser tests on a stack of their own

See CONTRIBUTING.md for the rules and docs/handoff.md for the traps in this codebase.

Built by

I'm Anton Shubin, a senior full-stack engineer and tech lead. Seed is the foundation I build client SaaS MVPs on. Need an MVP built for your product? That's my day job →

Licensed under MIT. Copyright (c) 2026 Anton Shubin.


Made by Anton Shubin · antonshubin.com/tools/seed

関連プロジェクトを探す

読み込み中…