inside the fazt machine
Everything you need in two files. Copy them anywhere and you have a working server. No containers, no dependencies, no configuration.
Optimized for simplicity. Pure Go with zero CGO dependencies means it compiles to a single static binary that runs anywhere.
Everything lives in SQLite. Files, configs, certificates, and logs. One file to rule them all.
Every request follows this path. The router matches domains to apps, VFS serves files from SQLite, and serverless handles API routes.
Click any component to learn more about how it works under the hood.
Every file lives in the database. Deployed apps are stored as blobs, served with in-memory caching. No disk I/O for hot paths. internal/hosting/vfs.go
Subdomains route to apps: myapp.zyt.app serves the "myapp" folder from VFS. Reserved domains: admin.*, root.*, 404.*
Goja VM executes JavaScript for /api/* routes. VM pooling keeps cold starts fast. Access fazt.app, fazt.env, fazt.log from handlers.
Model Context Protocol server lets Claude Code deploy directly. Tools: fazt_deploy, fazt_apps_list, fazt_system_status
HTTPS certificates auto-provisioned and renewed. No nginx, no certbot, no configuration. Just point DNS and go.
Events buffer in memory, flush to SQLite in batches. No write storms under load. Track pixels, redirects, webhooks with zero friction.