mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 14:06:08 +00:00

Use Karl Seguin's http.zig as HTTP server backend: https://github.com/karlseguin/http.zig Update loggers to use new `jetzig.loggers.LogQueue` to offload logging to a background thread. Numerous other optimizations to remove unneeded allocs. Performance jump on a simple request from approx. 2k requests/second to approx. 40k requests/second (Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz). Color support for Windows Zmpl partial arg type coercion
2.4 KiB
2.4 KiB
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
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.
- ❌ Environment configurations (develompent/production/etc.)
- ❌ Custom/non-conventional routes.
- ❌ Testing helpers for testing HTTP requests/responses.
- ❌ Database integration.
- ❌ Email receipt (via SendGrid/AWS SES/etc.)