Any number of frontends and backends in one TypeScript monorepo, with typed clients, a database, Docker and CI already wired.
npx @oct8/octorepo@latest create my-repoor npm create @oct8/octorepo@latest my-repo
Generated from each backend's OpenAPI spec.
Workspace and pipelines, your pick.
Every app and service, with healthchecks.
Types, schemas and one UI package per framework.
A missing variable fails fast, by name.
Same scripts in every package.
--preset saas$ npx @oct8/octorepo@latest create my-saas \ --preset saas --yes
--preset api-platform$ npx @oct8/octorepo@latest create my-api \ --preset api-platform --tool nx \ --app backend:jobs:koa --yes
packages/db# the same script names for both ORMs $ pnpm --filter @my-repo/db db:migration # write one $ pnpm --filter @my-repo/db db:migrate # apply them $ pnpm --filter @my-repo/db db:seed # every backend GET /db/health { "ok": true, "greetings": 1 } 503 while the database is unreachable
An MCP server with the same engine as the CLI.
list_optionswhat's supportedvalidate_stackdry runcreatenew repoadd_appnew appadd_servicenew serviceread_manifestrepo layoutAGENTS.md.# Claude Code: add the server $ claude mcp add octorepo -- \ npx -y @oct8/octorepo@latest mcp # or load the plugin: server + skill + /octorepo:new $ claude --plugin-dir ./integrations/claude-code > /octorepo:new shop next web + nest api + postgres # Cursor or any MCP client: run as stdio $ npx -y @oct8/octorepo@latest mcp
Only the files octorepo owns are regenerated.
Your code is never rewritten.
# a new backend $ npx @oct8/octorepo add app backend billing nest # a new frontend that talks to two backends $ npx @oct8/octorepo add app frontend admin react-vite \ --uses api,billing # a new service $ npx @oct8/octorepo add service rabbitmq
| octorepo | create-better-t-stack | create-turbo | create-nx-workspace | create-t3-turbo | |
|---|---|---|---|---|---|
| Several frontends in one repo | yes | open PR (#1185) | via examples | yes (Nx generators) | Next.js + Expo |
| Several backends in one repo | yes | no | no | yes | no (tRPC package) |
| NestJS | yes | open PR (#1119) | no | yes | no |
| Docker Compose for apps and services | yes | database only | no | no | no |
| Agent integration | MCP server, Claude Code plugin, AGENTS.md | Claude Code plugin with MCP | agent skill, no MCP | MCP server, configure-ai-agents | none found |
As of 2026-10-19, from each project's README, docs and issue tracker. Notes.
The CLI needs Node 22.12 or later. Generated repos target Node 24 and use pnpm.
No flags? It asks, one question at a time.
npx @oct8/octorepo@latest create my-repo