Full-stack TypeScript.
Nothing left to wire.
API, pages, data, auth, events and jobs in one app. It runs on Bun and renders pages with React. Built so a coding agent can write it, test it and run it.
An agent writes it, tests it and runs it.
Each package says how to use it. The workspace says what a change touches and what is already decided. Typed contracts turn a wrong guess into a build error, before it reaches production.
measured: typescript/bench/dx times what a coding agent pays to ship an app, in tokens, iterations and success.
In every framework package: the methods, one canonical example, the limits.
How to build, test and add code here. Skills install with the extensions.
Settled choices, one file each. An agent reads one before it changes it.
A changed endpoint fails the build of every caller, Go or TypeScript.
Decided once, on for every page.
Secure
- CSP and security headers on every React route.
- A CSRF check on every action.
.secure()on a layout protects its pages and their data endpoints.- Server data is escaped. No token reaches the HTML.
- The page cache keys on the user and the query.
Designed
@putnami/ui: theme, dark mode, layout, forms, overlays.- Theme styles rendered on the server.
- CSS Modules built in. Tailwind compiles at build when you add it.
- The build fails on a missing translation.
putnami i18n translatedrafts the rest.
Rendered your way
- Server rendering by default, Suspense streamed.
.static()renders a page at build..static({ revalidate: 60 })for incremental pages.- Islands for the interactive parts.
- A failed hydration keeps the server HTML.
Talk to any service, in any language.
A Putnami service publishes its contract as OpenAPI, and as Protobuf with the proto plugin. Go and TypeScript callers get a generated, typed client. Any other language reads the same contract.
An outside HTTP API extends the same client base, with retries, circuit breaker, tracing and auth.
Service clients →The API lives next to the pages.
API
Validation, OpenAPI, typed errors, file uploads.
Data
PostgreSQL repositories, migrations, storage.
Auth
Sessions, OAuth, signed cookies.
Realtime and jobs
WebSockets, SSE, events, recurring jobs.
Production
Health checks, telemetry, logs, a graceful stop.
Bun alone is enough.
Add the Putnami CLI when the app joins a workspace with other services.