Spider

Minimal web framework for Zig 0.17-dev. Routing, middleware, PostgreSQL, WebSockets — compiled into a single binary, no runtime, no GC.

What's included

Trie router
Dynamic params, route groups, scoped middleware. No allocations on the hot path.
Middleware chain
Composable via next(). Auth, CORS, logging — plug in what you need.
PostgreSQL & MySQL
Native wire protocol, connection pooling, typed queries. No libpq dependency.
Template engine
Loops, conditionals, components, layouts. Embedded at compile time or loaded at runtime.

Where to go next

Quick Start
Install, first route, running server
Router
Params, groups, method matching
Middleware
Auth, CORS, logging — compose anything
PostgreSQL
Connection pooling and typed queries
Templates
Loops, conditionals, components, layouts
Authentication
JWT, cookies, Google OAuth