safsaf/examples/blog-site
Christopher Baines 5b0e6397dc
All checks were successful
/ test (push) Successful in 9s
Initial commit
Safsaf is a Guile web framework, written using Claude Code running
Claude Opus 4.6, based off of the Guix Data Service, Nar Herder and
Guix Build Coordinator codebases.
2026-04-13 14:24:19 +03:00
..
static Initial commit 2026-04-13 14:24:19 +03:00
blog-site.scm Initial commit 2026-04-13 14:24:19 +03:00
model.scm Initial commit 2026-04-13 14:24:19 +03:00
README Initial commit 2026-04-13 14:24:19 +03:00
views.scm Initial commit 2026-04-13 14:24:19 +03:00

Blog Site Example
=================

A small blog application demonstrating Safsaf's routing, handler
wrappers, sessions, CSRF protection, and content negotiation.  Uses
SQLite for storage.

Running
-------

From the repository root:

    ./pre-inst-env guile -L examples/blog-site examples/blog-site/blog-site.scm

Or from the example directory:

    cd examples/blog-site
    ../../pre-inst-env guile -L . blog-site.scm

The server listens on http://localhost:8082.

The session secret and database path are hard-coded for demonstration
purposes — do not use these values in production.