Start an app
Simien runs your app, your database and the tools around them. An app is a Tana app (Vite, React Server Components) whose data lives in Postgres and Zega.
Create it
simien init my-app
cd my-app
simien dev
simien init copies a template and installs its packages. --template picks one: default (a page backed by a table, the place to start), minimal, shop or blog, or any repository: github:owner/repo, gitlab:owner/repo, with an optional /path and #ref.
What simien dev does
- Starts the app's own Postgres and Zega in Docker (see The local stack).
- Syncs
simien/schema.tsto the database, and regeneratessimien/_generated(see The database). - Starts Vite at http://127.0.0.1:5173, running on Simien.
- Keeps watching: save
schema.tsand the database follows; change the database directly andschema.tsis rewritten.
Every line simien dev prints is JSON, so an agent can read it; --human prints it for people.
Build it
simien build
simien build runs the build script from package.json (the template's is vite build): dist/client holds the static files and dist/server/worker.js the server, a standard export default { fetch } module.
simien run <script> runs any package.json script, as npm run does. A script that is one installed package's program (vite build) runs on Simien's Node layer, in that package's sandbox; any other script runs in a shell with node_modules/.bin on PATH, and may start only the programs simien.json allows (security.allow.run).
Packages
simien add zod react@^19 # add and install
simien remove zod
simien install # install package.json's dependencies; writes simien.lock
simien outdated
simien audit # known security advisories; exit 1 when any apply
simien x prettier --write . # run a package's program, installing it first if needed
Packages install into node_modules. A package's own program runs in a sandbox: see Permissions.
Check it
simien check
Type-checks the project with tsrs, the TypeScript 7 checker in Rust, using the project's tsconfig.json. It exits 1 when there's a type error, with the file, line and message.