1. Case study

    AlcoveCMS

    Open source
    Context

    An open source CMS written in Go and published on GitHub. It also powers this website.

    What I built

    • Built a file-driven CMS: sites are YAML pages and HTML templates (called alcoves), rendered to static HTML and served over HTTP.
    • Implemented atomic rebuild-and-swap on file changes.
    • Added SQLite, PostgreSQL and MySQL support, with versioned SQL migrations and cache TTLs per page and per template.

    What I built

    • Implemented security: Argon2id password hashing, signed session cookies, role-based access, signed form tokens, Origin checks and per-IP rate limiting.
    • Added tooling: schema validation (-check), pagination, typed fields, image resizing, asset fingerprinting, minification and a debug view that profiles templates and SQL queries.

    Result and tools

    Open source on GitHub, and in use for this website.

    Stack
    • Go
    • SQL
    • YAML
    • HTML
    • CSS
    • JavaScript
    Open the standalone case study