Command-line tool for the zzz web framework.
Project scaffolding, code generation, development server, database migrations, and more. A single binary that handles the full development workflow for zzz applications.
curl -fsSL https://zzz.indielab.link/install.sh | shInstall a specific version:
ZZZ_VERSION=v0.1.0 curl -fsSL https://zzz.indielab.link/install.sh | shbrew tap seemsindie/zzz
brew install zzzPre-built binaries for macOS (arm64, x86_64) and Linux (x86_64, aarch64) are available on the Releases page.
cd zzz_cli
zig build
# Binary at zig-out/bin/zzzCreate a new zzz project with full directory structure.
zzz new my_app
cd my_app
zig build run
# Server running on http://127.0.0.1:4000Creates:
my_app/
build.zig
build.zig.zon
.gitignore
src/
main.zig
controllers/
templates/
public/
css/style.css
js/app.js
Start a development server with auto-reload on file changes.
zzz server
# Building...
# Server running. Watching for changes... (Ctrl+C to stop)Generate a RESTful controller with index, show, create, update, and delete actions.
zzz gen controller Users
# Created: src/controllers/users.zigGenerate a database model schema and migration file.
zzz gen model Post title:string body:text user_id:integer published:boolean
# Created: src/post.zig
# Created: priv/migrations/001_create_post.zigSupported types: string, text, integer/int, float/real, boolean/bool
Generate a WebSocket channel for real-time communication.
zzz gen channel Chat
# Created: src/channels/chat.zigRun database migrations.
zzz migrate # Run pending migrations
zzz migrate rollback # Rollback last migration
zzz migrate status # Show migration statusList all application routes.
zzz routesExport the OpenAPI specification.
zzz swagger > api.jsonRun project tests.
zzz testList workspace dependencies.
zzz depsManage the frontend asset pipeline using Bun.
zzz assets setup # Generate starter assets (app.js, app.css, bunfig.toml)
zzz assets setup --ssr # Also generate SSR worker and example component
zzz assets build # Bundle, minify, and fingerprint assets
zzz assets watch # Watch and rebuild on changesCreates:
assets/
app.js # JavaScript entry point
app.css # Stylesheet
public/assets/
app-<hash>.js # Fingerprinted output
app-<hash>.css
assets-manifest.json # Original → fingerprinted name mapping
Show version.
zzz version # 0.1.0zzz new blog
cd blog
zzz gen model Post title:string content:text published:boolean
zzz gen controller Posts
zzz gen channel Comments
zzz assets setup
zzz migrate
zzz serverFull documentation available at docs.zzz.indielab.link under the CLI section.
| Package | Description |
|---|---|
| zzz.zig | Core web framework |
| zzz_db | Database ORM (SQLite + PostgreSQL) |
| zzz_jobs | Background job processing |
| zzz_mailer | Email sending |
| zzz_template | Template engine |
| zzz_cli | CLI tooling |
- Zig 0.16.0-dev.2535+b5bd49460 or later
MIT License -- Copyright (c) 2026 Ivan Stamenkovic