Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Zero drift.
Postgres, migrations, row-level security, API, realtime, storage, Studio and the typed client your components use, all from the TypeScript you already write. Change a field once. Nothing else to update.
One set of types runs your whole stack, database to component. Rename a field and the build fails instead of production.
Website & docs: supatype.com · Org overview: github.com/supatype · Discord: discord.gg/TzMtynufEH
User guides: docs · local dev · self-host · deploy to a VM with GitHub Actions
You need Node.js 18 or later for the CLI (20.19 or later, or 22.12 or later on Node 22, for the Vite 8 app supatype init sets up), and Docker for the default local stack.
npm install -g @supatype/cli
mkdir my-app && cd my-app
supatype init
supatype dev
On Linux and macOS you can also install the CLI with the install script or Homebrew. On Windows, use npm.
curl -fsSL https://supatype.com/install.sh | bash
brew install supatype/tap/supatype
supatype dev applies your schema, then watches it: save a change to schema/index.ts and it
migrates the database and regenerates the typed client. It keeps running, so use a second terminal
for everything else:
supatype diff # preview what a push would change
supatype push # apply the schema to another database (staging, production, a self-hosted server)
supatype generate # regenerate types and clients only
Upgrading from 0.6.0? Read UPGRADING.md first.
| Mode | Command | Postgres | Everything else |
|---|---|---|---|
| Dev | supatype dev | Docker (provider: "docker", what init writes) or native (provider: "native") | Docker Compose with the self-host images, or native engine + supatype-server binaries |
| Self-host | supatype self-host compose up | Docker (supatype/postgres) | Docker Compose, on the exact images each CLI release was tested with (override with SUPATYPE_*_IMAGE in .env) |
| Cloud | supatype login, supatype link, supatype deploy | Managed | Supatype Cloud (closed beta: request access) |
Every package consumes the same generated types; nothing in your app introspects the database after the fact or keeps its own copy of the model.
| Package | What it is |
|---|---|
@supatype/cli | The supatype CLI: init, dev, diff, push, generate, pull, rename, migrate, self-host, functions |
@supatype/types | Type primitives for schemas: Model<…>, field types, relations, access rules, Bucket<…> |
@supatype/client | Typed client: REST, auth, storage, realtime |
@supatype/react | React hooks: useQuery, useMutation, useAuth, SupatypeProvider |
@supatype/react-auth | Pre-built auth UI for React |
@supatype/react-native | React Native client, secure session storage, PKCE OAuth deep links |
@supatype/react-native-auth | Pre-built auth UI for React Native |
@supatype/vue | Vue composables |
@supatype/svelte | Svelte stores |
@supatype/solid | Solid primitives |
@supatype/ssr | Cookie-based auth for server components, route handlers and middleware |
@supatype/plugin-sdk | Build custom field types, composites, providers and Studio widgets |
@supatype/plugin-seo, plugin-color-picker, plugin-phone-field | First-party plugins |
@supatype/ui | React components styled with Tailwind, which your Tailwind build must scan (v4 @source, v3 content; see its README), a stylesheet at @supatype/ui/styles.css, and a Lexical rich text editor at @supatype/ui/rich-text |
@supatype/common | Shared web-app utilities |
Services (shipped as images, not npm libraries): studio (admin panel and CMS), storage, realtime, functions-worker (Deno edge functions).
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub supatype/supatype --plugin supatypePlugins from other owners that cover similar ground