inside the fazt machine

The Cartridge Philosophy

Everything you need in two files. Copy them anywhere and you have a working server. No containers, no dependencies, no configuration.

📦
fazt
single binary
+
🗄️
data.db
SQLite database
=
🚀
Your Cloud
portable anywhere
By The Numbers

Optimized for simplicity. Pure Go with zero CGO dependencies means it compiles to a single static binary that runs anywhere.

~15
MB Binary
0
CGO Deps
4
Platforms
Possibilities
Data Architecture

Everything lives in SQLite. Files, configs, certificates, and logs. One file to rule them all.

📁
Files
🗄️
SQLite
🔒
Certs
📊
Analytics
Request Flow

Every request follows this path. The router matches domains to apps, VFS serves files from SQLite, and serverless handles API routes.

🌐 Request
🔀 Router
📁 VFS
Response
Core Components

Click any component to learn more about how it works under the hood.

📁
Virtual File System
Files stored in SQLite

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

🔀
Domain Router
Wildcard DNS magic

Subdomains route to apps: myapp.zyt.app serves the "myapp" folder from VFS. Reserved domains: admin.*, root.*, 404.*

Serverless Runtime
JavaScript on the edge

Goja VM executes JavaScript for /api/* routes. VM pooling keeps cold starts fast. Access fazt.app, fazt.env, fazt.log from handlers.

🤖
MCP Protocol
AI-native integration

Model Context Protocol server lets Claude Code deploy directly. Tools: fazt_deploy, fazt_apps_list, fazt_system_status

🔐
Auto TLS
Let's Encrypt built-in

HTTPS certificates auto-provisioned and renewed. No nginx, no certbot, no configuration. Just point DNS and go.

📊
Analytics Buffer
RAM-first events

Events buffer in memory, flush to SQLite in batches. No write storms under load. Track pixels, redirects, webhooks with zero friction.

~/projects/myapp