Stack
The technology choices of gentlemans-stack, why each one was picked, the other options and the cost of each choice.
gentlemans-stack is an opinionated boilerplate, not a menu. This page lists the choices baked into it. Read it before
arguing for a different library in a specific project. If you disagree with a choice, raise it here, not as a
per-project override.
Each choice has the same five lines.
- What we chose.
- Why we chose it. This holds only what a repo source states or the code proves. A line that ends with "Maintainer to confirm" names the benefit visible in the repo, and the maintainer has not yet confirmed it was the reason.
- Other options. Well-known tools in the same category, named for comparison. They are not a list of tools the team tried, unless the line says a source rejected them.
- Trade-off. The real cost or limit in this repo.
- Status. Built, planned or not started. Planned and not started items are in the roadmap.
The layer map and the rules that follow from these choices are in architecture. Setup and commands are in the README.
Stack at a glance
| Layer | Tool | Reason in one line | Status |
|---|---|---|---|
| Backend | Hono | Small HTTP server on the standard Request and Response objects | Built |
| Backend | oRPC | One contract feeds the server, the client and the OpenAPI document | Built |
| Backend | Zod | One schema library for requests, contracts, config and forms | Built |
| Backend | MongoDB and Mongoose | Default datastore, one repository factory per domain | Built |
| Backend | Redis | Shared cache and shared rate-limit store behind small provider contracts | Built, queues planned |
| Backend | Audit log | Our own Mongo model, written by middleware, in the change's transaction where it matters | Built |
| Identity | Better Auth | Database-backed sessions that can be revoked, in one IAM service | Built |
| Frontend | TanStack Start, Router and Query | One frontend stack, with typed hooks from the oRPC contract | Built |
| Frontend | TanStack Form and Table | Schema-driven forms from the Zod schema, one DataTable | Built |
| Frontend | shadcn/ui and Tailwind | One component and styling system in ui-libs/design-system | Built |
| Mobile | Flutter | One mobile stack, themed from the same tokens as the web | Built |
| Observability | OpenTelemetry and the Collector | One instrumentation API, with the backend swappable in the Collector | Built |
| Observability | Grafana LGTM | Traces, logs and metrics in one local container | Built |
| Observability | evlog | Request-scoped structured logs, no console.log | Built |
| React Email | Templates are React components, delivery is injected | Built, delivery not wired | |
| Tooling | Nx and pnpm | Task graph and caching, one lockfile, one version catalog | Built |
| Tooling | Biome and ultracite | One linter and formatter, run by a git hook | Built |
| Tooling | Vitest and Playwright | One unit test runner, one browser test runner | Built |
| Tooling | Fallow | Layer and boundary violations fail the check | Built |
| Tooling | Generators | New packages are generated, not copied | Built |
| Cloud neutrality | No cloud provider in the core | Docker is the packaging format, cloud code lives in platforms/ | Built |
| Images | Store and website images | One tool, configured per app | Built |
| Docs | Fumadocs | This site is built from the Markdown under docs/ | Built, not yet published |
Backend
Hono
- What we chose. Hono (
^4.13.7, with@hono/node-server^2.1.1) is the HTTP server.libs/server-setupbuilds each service's app on it and mounts the oRPC handlers,/openapi.json,/docsand the health route. - Why we chose it. The repo notes it as small and fast, built on the standard
RequestandResponseobjects, so it does not tie the code to one Node runtime. The oRPC handler takes aRequestand returns aResponse, and the Hono adapter passesc.req.rawstraight in. Every service also gets Hono's secure headers from the shared server setup. - Other options. Express (the long-standing Node framework, with its own request and response objects), Fastify (a Node framework with a plugin system and built-in schema validation), NestJS (a class and decorator framework).
- Trade-off. oRPC returns an immutable
Response, solibs/server-setupcopies it before middleware such as compress adds headers. - Status. Built.
oRPC
- What we chose. oRPC (
^1.15.0:@orpc/contract,@orpc/server,@orpc/openapi,@orpc/zod,@orpc/client,@orpc/tanstack-query) is the RPC layer. A contract is written once, in acontracts/<name>-contractspackage. The server handler and the web client both come from that contract. The contract is the source of truth, not a side effect of writing route handlers. - Why we chose it. RPC fits our own clients: the web app and the services call procedures with types derived from the
contract, with no hand-written fetch wrapper and no copy of the API shape. Outside callers get REST and OpenAPI
instead. The same contracts generate an OpenAPI 3.1 document, served at
/openapi.json, and Scalar renders it at/docs. The server also answers/rpc/*for oRPC clients and/api/*for plain HTTP. Nobody maintains the OpenAPI document by hand, and.meta({ id })on a Zod schema names its OpenAPI component. - Other options. Plain REST with a hand-written OpenAPI file (the document is a second source to keep in sync), tRPC (typed RPC where the router type is the contract), ts-rest (contracts for REST routes), GraphQL (a query language with a schema served from one endpoint).
- Trade-off.
libs/server-setupruns an OpenAPI schema normalizer over the generated document (shared component schemas, Mongo ObjectId properties, response schemas), and mounts such as Better Auth have their documents merged in. Public error codes live inmodels/app-error-model, and a public code exists only for a failure the client can act on. Database, misconfiguration, output-validation and unknown failures are allINTERNAL_SERVICE_ERROR(500, emptydata), and the log holds what went wrong. - Status. Built.
Zod
- What we chose. Zod 4 (
^4.5.4) defines request and response shapes, contract schemas and environment configuration.models/*owns the browser-safe schemas and inferred types.loadConfigFromEnv(schema)reads environment variables through a schema and uses.describe()as the env-key convention, so config is never read fromprocess.envinside business logic. - Why we chose it. One schema library is used wherever validation happens, not Zod for API input and something else for config. A single schema feeds the TypeScript type, the contract, the OpenAPI document and the form.
- Other options. Valibot (small, modular schemas), ArkType (types written in a TypeScript-like syntax), TypeBox (JSON Schema first).
- Trade-off. Form layout hints (
ui.*over Zod 4.meta()) live in each form's own schema and never inmodels/*, so models stay portable to the server and Flutter. A form wraps a model rule instead of sharing the model's schema. - Status. Built.
MongoDB and Mongoose
- What we chose. MongoDB is the default datastore, reached through Mongoose (
^9.9.5). Adomains/*package is a Mongoose schema plus a repository factory function and nothing else. Domains know nothing about HTTP, contracts or services, so any service can reuse the entity. Public IDs and dates are serialized at the repository boundary. - Why we chose it. A domain package holds the collection and its repository, so several services can share one entity.
Domain tests run on
mongodb-memory-server(^11.2.0), a real MongoDB engine, not a mocked driver. Maintainer to confirm. - Other options. PostgreSQL through Drizzle or Prisma (relational), the plain
mongodbdriver without an ODM (no schemas or models), MongoDB through Prisma. - Trade-off. Every service shares one
gentlemans-stackdatabase and oneMONGO_URI, so a domain owns collections, not a database. Better Auth uses transactions, so local Mongo runs as a single-node replica set. A versioned migration path beyond index creation on boot, and a backup and restore guide, are not started. - Status. Built. Migrations and backups are in the roadmap.
Redis
- What we chose. Redis, through ioredis (
^6.0.0), is the shared cache and the shared rate-limit store.libs/cachesplits behavior from storage:CacheStoreowns JSON serialization, cache-aside loading, key validation, invalidation tags and hit and miss stats, while aCacheProvideronly stores strings and applies TTLs.libs/rate-limithas the same shape.connectors/redis-connectorowns the connection, and providers get an already-connected client, so they never own the connector lifecycle. - Why we chose it. Process-local memory is for tests, development and caches that are meant to stay local. Redis is the
shared adapter when several processes must see the same entries or counters. TTLs are milliseconds across the public
contract, which Redis maps to
SET ... PX, and namespace cleanup uses incrementalSCANplus batchedUNLINK, never the blockingKEYS. - Other options. Memcached (cache only, no data structures), Valkey (a Redis-compatible fork), the in-memory provider the
repo ships, and the MongoDB rate-limit store the repo ships in
connectors/mongodb-connector. - Trade-off. It adds one more service to run (
LOCAL_INFRAstarts it locally). Memory providers lose their state on restart and are not shared between processes. Cache tags intodo-serviceare per service, because contract metadata is static, so a write clears every workspace's cached list. - Status. Built for the cache and the shared rate-limit store. Background job queues on BullMQ are planned, not built, and BullMQ is not a dependency. The plan adds a queue connector and a worker entry, and needs a short proposal first. See "Background jobs with BullMQ on Redis" in the roadmap.
Audit log
- What we chose. An audit model of our own in
domains/audit-domain, recorded bycreateAuditMiddleware. A procedure declares.meta({ intent, audit }). Action names (what happened) stay separate from intents (a permission to attempt), somember:invitecovers invite and revoke. - Why we chose it.
evlog/auditwas rejected. evlog drains are fire-and-forget and cannot take a Mongo session, so a row could neither join a transaction nor be guaranteed. It also lacksworkspaceId,service,spanIdand a per-action field allow-list. evlog is reused for types andauditDiffonly. Role changes, removals and invite accepts write their row inside the change's transaction through an optionalaudithook, so the row commits or aborts with it. - Other options.
evlog/audit(rejected, as above), an external audit service, database change streams. - Trade-off. The middleware records success, denied and failed outcomes, and a write failure is logged while the request
continues. Account events (sign-in, password, two-factor, passkey, session, deletion) are best effort and carry no
workspaceId. Reads are not audited.audit:read(owner and admin) guards the Activity tab, andtraceId,spanIdandipstay out of its output. - Status. Built.
Identity
Better Auth
- What we chose. Better Auth (
^1.7.28, with@better-auth/passkey) runs in one IAM service,services/iam-service. It uses database-backed cookie sessions (httpOnly, prefixed), theadminplugin for the application-wide role, thebearerplugin for non-browser clients, two-factor (TOTP), passkeys, account linking (GitHub and Discord, on only when their OAuth credentials are set) anddeleteUserfor the account page. Workspaces, members and per-workspace roles are this app's own data inworkspace-domain, not Better Auth's organization plugin, which the roadmap rules out. Authorization inside a workspace is intent-based: a contract declares anintent, and oneROLE_INTENTStable maps roles to intents. - Why we chose it. Opaque sessions can be revoked, with bearer requests ending at once and cookie requests after the
cookie cache. Identity and access live in one place. Services learn the caller through
createIamSessionAuthProvider, which asks IAM for the session and caches the answer briefly. The core does not depend on the vendor:libs/authdefines a smallAuthProvidercontract and arequireRole(...roles)middleware that depends only on it. Providers compose withcreateAuthProviderChain, and vendor providers live inplatforms/, for example Firebase inplatforms/gcp/auth-firebase. Maintainer to confirm. - Other options. Auth.js, Keycloak (a separate identity server), hosted services such as Clerk, Auth0 or Firebase Authentication.
- Trade-off. Only IAM writes Better Auth's collections, and
pnpm check:iam-boundaryenforces it. Better Auth's collections have no model or Mongoose schema. The shared Mongo user can still read them until production setsIAM_SERVICE_AUTH_DATABASE_NAMEand gives the other services a Mongo user with no access to that database. A browser's ownget-sessioncall can show a banned or revoked session for up to 300 seconds (the cookie cache). JWT for service-to-service calls is a later, optional step: it would verify locally, but a revoked session stays valid until the token expires. - Status. Built. The JWT step and login in
todo-mobileare in the roadmap.
Frontend
TanStack Start, Router and Query
- What we chose. TanStack Start (
^1.168.50, server rendering), TanStack Router (^1.170.33) and TanStack Query (^5.102.8) are the only frontend stack. API calls go through@orpc/tanstack-query, which derives typed query and mutation hooks from the oRPC contract the backend implements.@inlang/paraglide-js(2.25.0) is the only i18n and locale-routing mechanism. - Why we chose it. The frontend never hand-writes a fetch wrapper or repeats the API shape, because the hooks come from the contract. Maintainer to confirm.
- Other options. Next.js, React Router in framework mode (the Remix lineage), Astro. For data fetching, SWR.
- Trade-off. No Next.js, no Remix and no standalone React Router, so examples written for those do not apply. The
/dashboardguard intodo-uiis UX only, and services check the caller themselves. - Status. Built, in
apps/todo-ui.
TanStack Form and Table
- What we chose. TanStack Form (
^1.33.6) with Zod 4 through Standard Schema, with no resolver, and the shadcnFieldcomponents, is the only form stack. A form is one*-form.tsxfile: a Zod schema annotated withui.*, an optionaldefineLayout, anduseAppForm({ schema, onSubmit })with<SchemaFields />. Onlyui-libs/design-system/src/form/imports@tanstack/react-form. Tables useDataTable, which is built on TanStack Table (^8.21.3). - Why we chose it. One schema library serves the contracts and the forms. Field names and values are typed, and errors show inline without per-form state. Maintainer to confirm.
- Other options. React Hook Form, Formik. For tables, AG Grid or a styled grid from a component library.
- Trade-off. A form's UI hints sit in the form's own schema, never in
models/*, so a form wraps a model rule instead of sharing the schema. Single-field forms stay onuseState. - Status. Built.
shadcn/ui and Tailwind
- What we chose. Tailwind CSS v4 (
^4.3.3, CSS-first config, notailwind.config.js) is the only styling approach. shadcn/ui withradix-ui(^1.6.7) andclass-variance-authority(^0.7.1) is the only component and variant system. Components are generated with the shadcn CLI intoui-libs/design-system, not copied from elsewhere. - Why we chose it. One design system serves every web app, and its colors come from
ui-libs/design-tokens(tokens.json), the same file that themes the Flutter apps. Status colors map to shadcn names such asbg-successandbg-destructive-container. Maintainer to confirm. - Other options. Material UI, Chakra UI or Mantine for components. CSS Modules or UnoCSS for styling.
- Trade-off.
ui-libs/design-systemis the only package with acomponents.json, so the shadcn CLI runs with-c ui-libs/design-system. An app that consumes it needs a matching@alias in itsvite.config.mts. - Status. Built.
Mobile
Flutter
- What we chose. Flutter is the only mobile stack, with one app per
apps/<name>generated bynx-plugin:mobile-app. It is an Nx project throughproject.json, whose targets wrap the Flutter CLI. It is not a pnpm package, so every task still runs throughnx. Targets per platform are in flutter-targets.md. - Why we chose it.
ui-libs/design-tokens/src/tokens.jsonis the only place colors, radii, fonts and motion are defined. The web CSS, every Flutter app's Dart theme and the email tokens are generated from it, so web and phone cannot disagree because neither hand-writes a value. Maintainer to confirm. - Other options. React Native, native Swift and Kotlin apps, Kotlin Multiplatform.
- Trade-off. It needs the Flutter SDK, and
--skipFlutterwrites files only.apps/todo-mobileis a shell with no API calls yet. Changing a bundle id is a new app identity on the stores. - Status. Built. Login in
todo-mobileis planned in the roadmap.
Observability
OpenTelemetry and the Collector
- What we chose. OpenTelemetry is the only instrumentation API.
libs/observabilityis the one place that knows it, and a service loads it as a second esbuild entry,src/instrument.ts. Every signal goes through a Collector, never straight to a backend. - Why we chose it. OpenTelemetry is vendor-neutral, so traces, metrics and logs leave an app in one format (OTLP) and the
backend can change without touching service code. The Collector is where query strings are stripped from spans, memory
is limited and the exporter is chosen, so switching from local Grafana to Google Cloud or Grafana Cloud is a Collector
config change. The browser holds no secret and sends
traceparentonly to your own API origins, and URLs lose their queries and fragments before export, since invite links carry a token. - Other options. A vendor agent such as Datadog's, a vendor SDK such as Sentry's for errors, exporting straight from the SDK with no Collector.
- Trade-off. Instrumentations are listed explicitly, not
auto-instrumentations-node, becausesync-bundle-dependencies.mjsonly sees realrequire()calls. Only http, undici, mongodb and ioredis are used, with one server span per procedure, named by route. Browser errors only reach traces today, and a crash tracker with source maps is not started. Tests setOTEL_SDK_DISABLED=true, which makes every API a no-op. The generators instrument new projects unless--observability=none. - Status. Built.
Grafana LGTM
- What we chose.
grafana/otel-lgtm(Tempo, Loki, Prometheus and Grafana in one container) is the local backend, started fromLOCAL_INFRA. - Why we chose it. One
pnpm infra:upgives a browser-to-Mongo trace with logs correlated by trace id. - Other options. Jaeger with a separate Prometheus and log store, the Elastic stack, a hosted vendor such as Datadog.
- Trade-off. It is the local backend only. In production the Collector config picks the exporter.
- Status. Built.
evlog
- What we chose. evlog (
^2.28.1) is the only logging library. Logging is request-scoped and structured, with noconsole.logand no ad hoc string logs. A handler gets its logger from the request context, and startup code uses the module-leveltopLogger. - Why we chose it. Structured logs carry the request they belong to. Maintainer to confirm.
- Other options. pino, winston, consola.
- Trade-off. evlog drains are fire-and-forget and cannot join a database transaction, which is why audit rows use their own model (see Audit log).
- Status. Built.
React Email
- What we chose.
libs/emailhassendEmail(sender, { to, subject, template, props }), which renders a React Email component (react-email6.9.3) and hands delivery to an injected sender.connectors/smtp-email-connectoris the default delivery adapter.apps/email-templatesis the design-time workspace, using react-email's own dev server, where templates live. - Why we chose it. The library does not depend on a connector or prescribe delivery metadata, and it takes a rendered component, so it never hardcodes a template list. Plain SMTP keeps the mail host open: Postfix, Mailgun, SES or Postmark SMTP endpoints, or a local dev mailbox.
- Other options. MJML (a markup language compiled to HTML), Handlebars or other string templates, hand-written HTML.
- Trade-off. Nothing is wired yet. There is no verified email, password reset or real invite. Better Auth's callbacks only
log. Mail clients ignore CSS variables, so email colors are generated as literals into
apps/email-templates/src/email-tokens.g.ts. - Status. Built as a capability. Email delivery is not started, see the roadmap.
Tooling
Nx and pnpm
- What we chose. Nx (
23.2.0) owns the task graph, caching and code generation. pnpm is the only package manager. Every task (build, test, lint, typecheck, serve) runs throughnx,nx run-manyornx affected, never the underlying tool. The top-level layout is flat and by layer, not a bounded-context folder per feature. - Why we chose it. Running everything through
nxis what makesnx affectedmeaningful in CI and keeps caching correct. One package manager means one lockfile format and no doubt about which is authoritative. Every dependency version is declared once, in thecatalog:block ofpnpm-workspace.yaml, and eachpackage.jsonreferences it as"catalog:", so a bump is a one-line change. The rootpackage.jsonmirrors every catalog entry in use, so the whole list of dependencies is visible in one file. A contract maps 1:1 to a service, while a domain maps to many services, so nesting a domain inside one feature's folder would bake in a false 1:1 assumption. - Other options. Turborepo, Lerna, npm or Yarn workspaces.
- Trade-off. Commands must go through
pnpm nx .... A dependency used by any workspace package must also be listed in the rootpackage.jsondevDependenciesfrom the catalog. - Status. Built.
Biome and ultracite
- What we chose. Biome (
2.5.12) with the ultracite preset (7.11.0) is the only linter and formatter, with no ESLint and no Prettier. lefthook (^2.1.12) runs the git hooks, currently pre-commit. Scripts are Node (.mjs) or rootpackage.jsonone-liners backed by an installed dependency such asrimraf. - Why we chose it. Hooks run through installed tooling, not hand-rolled shell. The only bash is the Cloud Run deploy kit in
platforms/gcp/cloud-run, which wraps thegcloudCLI. Anywhere else, shell logic is a signal to reach for an installed dependency or the standard library. Maintainer to confirm. - Other options. ESLint with Prettier, Oxlint, Husky for hooks.
- Trade-off. Biome's config is shared:
biome.shared.jsonc,.editorconfigand every Flutter app'sanalysis_options.yamlare identical across gentlemans-stack projects, so they change in the stack. Type-aware rules cost about 10 seconds per run, so the after-edit hook skips them and they run inpnpm run checkand the pre-commit hook. - Status. Built.
Vitest and Playwright
- What we chose. Vitest (
^4.1.11) is the only unit and integration test runner, with no Jest anywhere, for any package type. Browser end-to-end tests use Playwright (^1.62.1), inapps/todo-ui/e2e. - Why we chose it. A single runner covers every package type. Domain tests use
mongodb-memory-server, so they run against a real MongoDB engine. Maintainer to confirm. - Other options. Jest, Cypress.
- Trade-off. There is no CI workflow in the repo yet, so nothing runs the tests on every pull request. It is in the roadmap, along with an automated accessibility check.
- Status. Built.
Fallow
- What we chose. Fallow checks dependency layering and architecture boundaries, configured in
.fallowrc.json. A boundary violation is an error, andfallow architecture --boundariesexits non-zero. The other findings stay advisory. - Why we chose it. It enforces the layering in architecture: a core package never imports a
platforms/package, and onlyservices/andapps/import a platform. - Other options. dependency-cruiser, Nx module boundary lint rules.
- Trade-off.
.fallowrc.jsonlistsignoreDependenciesthat a service bundle keeps, so check them withnode scripts/sync-bundle-dependencies.mjs <service> --checkbefore removing one. - Status. Built.
Generators
- What we chose.
tools/nx-pluginshipsmodel,contract,domain,connector,deployable-service,deployable-web-app,mobile-appandmobile-app-renamegenerators. New packages are generated, not copied from an existing one. - Why we chose it. The generators keep every package's shape the same as the workspace grows. The Todo example exists to point a generator at and diff against, not as product code.
- Other options. A template repository to copy, Plop or Hygen scaffolds.
- Trade-off. There is no generator for a
platforms/<cloud>/<pkg>package yet, so it is written by hand likeplatforms/gcp/auth-firebase. A change to a package's shape is a change to its generator too. - Status. Built.
Cloud neutrality
No cloud provider in the core
This is the least negotiable opinion in the stack. The core assumes no cloud host. models/, libs/, connectors/,
contracts/ and domains/ never name GCP, Firebase, AWS or a deploy target.
- What we chose. Docker is the packaging format, and the generators wire
docker:buildanddocker:runonly. Code that only makes sense on one cloud lives inplatforms/<cloud>/<package>, built on the core's seams (anAuthProvider, say) and opted into by a service or app.deployable-servicetakes--platform=gcp|noneand--deploy=cloud-run|none, and both default tonone. - Why we chose it. Docker is portable. Nothing in the core imports a platform package, and
fallow architecture --boundariesfails on a core to platform import, so products that never pick that cloud never load its SDKs. Each vendor SDK sits behind its own subpath export. - Other options. Building on one cloud's SDKs in the core, a serverless-first layout.
- Trade-off. Only a Cloud Run deploy kit exists. A deploy guide for one non-GCP target and a CD workflow are not started, see the roadmap.
- Status. Built.
Images
Store and website images
tools/image-gen-tools is the only implementation of screen capture, store cards, the Play feature graphic, the store
listing icons and the website images. Everything app-specific lives in each app's image-gen.config.json, so the tool
holds no app data and every app gets the same output. The schema and an example are in the
tool's README.
- What we chose. One tool in the stack, configured per app and run by skills. It reaches products through
sync-from-stacklike any kit path.mobile-appalways generates the three targets (generate-assets,capture,store-assets). Output is named the same in every project and lives underdist/, which is gitignored. Website images are written towebsite.publicDirand committed, because the site deploys from them. - Why we chose it. Colors and the font are design-token names, read from the product's own
tokens.json, and the font loads from the token's bundled files, not Google Fonts. A product's brand values live in that product's repo, never in the stack or a tool file. Capture is a Flutter integration test run byflutter drive, which writes light and then dark shots of each route. One path covers iPhone, iPad and Mac, shoots Flutter's own output with no status bar, and can set state and demo data. Demo data is app code behind acapture.dartDefinesflag, never in the tool. - Other options. Rejected in the repo:
simctldeep links (iOS only, a URL scheme per app just for screenshots, and it cannot set state, so two capture paths would drift), a tool copy per app or per skill (colors copied by hand), brand icons and splash in the tool (flutter-brand-iconsowns them), per-app HTML templates (the tool becomes app-specific again). - Trade-off. Layouts are a fixed set in
lib/store-design.ts, so a new layout is a tool change for every app. iPad, Mac and Play tablet are optionalstore.targets. Android video (adb, scrcpy, a foreground-service flow) is out of scope. - Status. Built.
Docs
Fumadocs
- What we chose. This site is
apps/docs, a TanStack Start app using Fumadocs (fumadocs-coreandfumadocs-ui16.19.8,fumadocs-mdx15.6.4). The pages are plain Markdown underdocs/, with frontmatter (title,description, andstatusset todraftorverified), read in place by AI agents and built into the site. Package READMEs appear under Reference. The site is prerendered to static files for GitHub Pages and searches offline. - Why we chose it. It built and ran on the repo's TanStack Start and nitro versions without pinning either, and it reads the same Markdown that GitHub renders, so the docs stay one set of files. Maintainer to confirm.
- Other options. Docusaurus, VitePress, Starlight (Astro), Nextra.
- Trade-off.
@tanstack/start-static-server-functionsis pinned to1.167.33with a pnpm patch, because its prerendered loader data was fetched without the base path. Re-check the patch on every upgrade of that package. React logs one hydration error on the 404 page. The static search option in use is deprecated upstream.fumadocs-coreandfumadocs-ui16.19.8are inminimumReleaseAgeExclude. - Status. Built. The maintainer publishes it with
pnpm docs:deploy, so it is not yet published.
Not yet confirmed
These subsections end their "Why we chose it" line with "Maintainer to confirm". Each names the benefit visible in the repo, not a reason the maintainer has stated.
- MongoDB and Mongoose
- Better Auth
- TanStack Start, Router and Query
- TanStack Form and Table
- shadcn/ui and Tailwind
- Flutter
- evlog
- Biome and ultracite
- Vitest and Playwright
- Fumadocs
For every other subsection the repo states a reason, but it does not say why the tool beat the other options listed. The maintainer can add that where it matters, for example Hono over Fastify or Express.