source available · go · typescript

Build systems,
not apps.

Keep every service in one repository, in Go, TypeScript, Python, Java, Rust and more. One CLI builds, tests and runs them all. Putnami generates the typed clients between Go and TypeScript.

Get started →
$curl -fsSL https://putnami.dev/install.sh | bash
~/acme — zsh
~/acme $ putnami serve webapp
webapp serve~generate done 279ms
serve(webapp) ● [putnami] ⚡️ listening http://localhost:3000
serve(webapp) ● [putnami] 🤖 ready
On a new machine, install, init and serve take about 40 seconds.
two proofs

Run it, change it.

01 / one command

One command serves it.

putnami serve webapp generates what the project needs, then serves it at a local URL.

$ putnami serve webapp
02 / typed across languages

Change Go, and TypeScript knows.

Rename a field in a Go service. The TypeScript caller stops compiling.

service/service.go
- Price int64 `json:"price"`
+ Amount int64 `json:"amount"`
consumer-ts/src/api/consumed-items/get.ts:22
price: item.price === undefined ? undefined : item.price.toString(),
error: Property 'price' does not exist on type 'Item'.
pick your door

Start from what you write.

putnami / typescriptTypeScriptWeb pages and API routes in one Bun project, typed end to end.$ bun create @putnami my-appExplore TypeScript →putnami / goGoHTTP services on net/http. Your TypeScript code calls them through typed clients.api.Endpoint("GET", "/items/{id}")Explore Go →putnami / cliCLIOne CLI for every language in your repository. It builds and tests only what your change affects.$ putnami test --impactedExplore the CLI →
runs anywhere

One image, one file of needs.

Each service leaves your machine as a standard container image. One file lists what it needs. A host that implements the Putnami infra protocol reads both and runs your system.

01 / build

A standard image per service.

$ putnami package --projects api --docker

An OCI image: the open container format that every container host runs.

02 / declare

What it needs, in one file.

infra/requirements.json "databases": [{ "name": "app", "engine": "postgres" }], "secrets": ["auth.signing.key"] …

Databases, buckets and secrets. A host that implements the protocol grants them from the file, not by hand.

03 / run

The host injects. The service answers.

DATABASE_BINDINGSdatabases
OTEL_EXPORTER_OTLP_ENDPOINTtelemetry
GET /livez · /readyzprobes

Go and TypeScript read the same variables. With the platform plugin, both answer the same probes.

Running in five minutes.

macOS or Linux. No Bun to install first: Putnami brings what it needs.

Read Get started →
  1. 1curl -fsSL https://putnami.dev/install.sh | bash
  2. 2export PATH="$HOME/.putnami/bin:$PATH"
  3. 3putnami init webapp
  4. 4putnami serve webapp