A small, configurable foundation for web, iOS, and Android.
Onekit is a starter for building one app that runs in the browser, on iOS, and on Android. It combines One for routes and the web server, Tamagui for shared UI, Better Auth with PostgreSQL and Drizzle for accounts, and SST for deploying the server to AWS.
The point is to be small enough to read in an afternoon. Every file is meant to be edited, and the guides here tell you where each decision lives.
AUTH_PASSWORD=true.Organizations and uploads are planned as later modules.
| Guide | Covers |
|---|---|
| Get started | Install, run locally, and check the starter |
| Configuration | Every setting and where it lives |
| Authentication | Sessions, providers, and the auth clients |
| Reset, confirmation, and deletion emails | |
| Billing | Stripe subscriptions and entitlements |
| Database | Migrations and querying |
| Deployment | SST, secrets, and domains |
app/ One routes and API handlers
src/auth/ Browser and native auth clients
src/components/ Shared UI
src/config/ Public app configuration
src/docs/ These guides, as MDX
src/server/ Server-only auth, email, and database code
src/tamagui/ Design system and appearance provider
drizzle/ Reviewed database migrations
infra/ Deployment configuration
scripts/ Setup and migrations
tests/ Auth integration and browser checks