Dev fork of jetzig jetzig.dev
README.md

CI

Jetzig Logo

Jetzig is a web framework written in 100% pure Zig 🦎 for Linux, OS X, Windows, and any OS that can compile Zig code.

Official website: jetzig.dev

Please note that Jetzig's main branch aims to be compatible with the latest Zig nightly master build. There are branches for older versions of zig but they will not be receiving updates.

For nix users, jetzig can be built with nix shell github:jetzig-framework/jetzig. A compatible version of zig and zls are available with nix develop.

Jetzig aims to provide a rich set of user-friendly tools for building modern web applications quickly. See the checklist below.

Join us on Discord ! https://discord.gg/eufqssz7X6.

If you are interested in Jetzig you will probably find these tools interesting too:

Checklist #

  • ✅ File system-based routing with [slug] matching.
  • ✅ HTML and JSON response (inferred from extension and/or Accept header).
  • ✅ JSON-compatible response data builder.
  • ✅ HTML templating (see Zmpl).
  • ✅ Per-request arena allocator.
  • ✅ Sessions.
  • ✅ Cookies.
  • ✅ Error handling.
  • ✅ Static content from /public directory.
  • ✅ Request/response headers.
  • ✅ Stack trace output on error.
  • ✅ Static content generation.
  • ✅ Param/JSON payload parsing/abstracting.
  • ✅ Static content parameter definitions.
  • ✅ Middleware interface.
  • ✅ MIME type inference.
  • ✅ Email delivery.
  • ✅ Background jobs.
  • ✅ General-purpose cache.
  • ✅ Development server auto-reload.
  • ✅ Testing helpers for testing HTTP requests/responses.
  • ✅ Custom/non-conventional routes.
  • ✅ Database integration.
  • ❌ Environment configurations (development/production/etc.)
  • ❌ Email receipt (via SendGrid/AWS SES/etc.)

LICENSE #

MIT

Contributors #