pidgn

The Zig web framework.

Compile-time route resolution. Phoenix-inspired real-time channels. Type-safe database ORM. Background jobs. Zero garbage collection.

Get Started

Install via curl
curl -fsSL https://pidgn.dev/install.sh | sh
Or via Homebrew
brew install seemsindie/pidgn/pidgn
Then create your app
pidgn new myapp
cd myapp
zig build run

Visit localhost:4000 and you're live. Read the full documentation for more.

Using VS Code? Grab the Pidgn Templates extension for syntax highlighting and snippets.

8 installs and counting

Everything you need

Compile-Time Routing

Routes resolved at comptime. Zero runtime overhead, zero allocations for dispatch.

📄

Template Engine

Mustache-like templates with HTML escaping, partials, layouts, and pipes.

🛡️

Middleware Stack

Auth, CSRF, sessions, rate limiting, gzip compression, and more built in.

📡

Real-Time Channels

Phoenix-style WebSocket channels with topic-based PubSub.

🗄️

Database ORM

SQLite and PostgreSQL with type-safe queries, schema definitions, and migrations.

⚙️

Background Jobs

Persistent job queue with retries, scheduling, and graceful shutdown.

✉️

Email Sending

SMTP, SendGrid, and Mailgun adapters with template support.

🛠️

CLI Tooling

Project scaffolding, code generators, and built-in dev server.