mystack

A starting point. With a point of view.

View on GitHub

Choose your
components.

A different combination builds a different application. Select your services and watch the matching parts come together.

RuntimeChoose one
DatabaseChoose one

Unavailable options require a different runtime.

EmailChoose one
PaymentsOptional · select any

Leave all unselected for an application without payments.

Your create command
bunx @0x0501/mystack@latest create my-app --yes --database pg-hyperdrive --deployment cloudflare --email cloudflare --payments stripe

Run this from the parent directory of your new project.

What connects
to what.

The website and CLI share the same catalog.
Compatibility is part of the configuration.

Supported database and runtime combinations
DatabaseCloudflareNitroBunLocal development
PostgreSQL—YesYesDocker PostgreSQL
PostgreSQL + HyperdriveYes——Docker PostgreSQL
Cloudflare D1Yes——Wrangler local database
Turso CloudYesYesYesLocal libSQL file or server
Turso Local—YesYesLocal libSQL file
Bun SQLite——YesNative SQLite file

Email delivery.

Cloudflare Email requires the Cloudflare runtime. Resend works with all three runtimes. Development authentication email is logged when credentials are absent.

Payments, optional.

Select any subset of Stripe, Creem, NOWPayments and Polar. Each selected provider adds its own integration. Choose none when your application does not need payments.

Read the configuration reference