Safsaf is a web framework for GNU Guile, built on Guile Fibers using the Guile Knots web server. It features include:
Request routing
Middleware for logging, CORS, CSRF protection, sessions (signed cookies), security headers, trailing-slash normalization, exception handling
Request helpers for form body parsing, multipart parsing, query strings, cookies
Response helpers for HTML/SXML, JSON, redirects, plain text, static files with Last-Modified / Cache-Control
Server-Sent Events (SSE): streaming text/event-stream responses with keepalives and Last-Event-ID replay
Declarative parameter parsing with built-in processors, CSRF integration, and error inspection
Internationalisation: gettext-style t / tn helpers backed by an in-Scheme catalog loaded from .po files, with a locale handler wrapper that selects per-request from route params, cookie, or Accept-Language