Skip to content
skyizwhitePublic

About

My website

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

website

My personal website — skyizwhite.dev

A server-rendered personal site written in Common Lisp. Client-side interactivity and partial page updates are handled by Nagi.

The site is built to load fast and to pick up content edits quickly. Pages are served from a CDN with stale-while-revalidate, so visitors get a cached response instantly. When content is published in the headless CMS, a webhook invalidates only the affected pages and data, and the CDN picks up the change on its next revalidation, with no redeploy or full cache purge.

Tech Stack

Layer Choice
Language Common Lisp (SBCL)
Dependency manager Qlot
Web stack Clack / Lack on Woo
Routing ningle with ningle-fbr for file-based routing
Fragment endpoints ningle-actions
Templating HSX
Content koya (self-hosted headless CMS) via its Lisp client
Like counts Redis via cl-redis
Styling Tailwind CSS v4
Interactivity Nagi
Infrastructure Cloudflare CDN, Coolify, Docker

Content schema

The koya content models live in src/schema.lisp (definitions only). The REPL commands that talk to the server are in src/koya.lisp. KOYA_SPACE names the space the site reads and the schema deploys to: website in production, website-dev (a duplicate of it) for local development. The space has to exist on the koya server first — spaces are made in koya's admin UI, not by a deploy. Copy .env.example to .env, set KOYA_URL, KOYA_SPACE and a KOYA_MANAGEMENT_KEY made on that space's Keys page, then:

(ql:quickload :website/koya)
(website/koya:plan)             ; diff the local models against the server
(website/koya:deploy)           ; apply it, asking before destructive changes
(website/koya:deploy :force t)  ; apply destructive changes without asking
(website/koya:pull)             ; the schema currently on the server
(website/koya:webhook-secret)   ; the value to put in KOYA_WEBHOOK_KEY

In production the schema is deployed by the Deploy workflow (.github/workflows/deploy.yaml), not by the server. On every push to main it runs the test suite, then builds the image and pushes it to GHCR tagged with the commit SHA, runs website deploy-schema from that image (a forced deploy of src/schema.lisp), and only if that succeeds tags the image latest and triggers the Coolify deploy webhook, which pulls ghcr.io/skyizwhite/website:latest. A failed schema deploy stops the workflow, so the running site is left as it was. Destructive changes are applied without a prompt, so review plan against production before pushing a schema change.

About

My website

Resources

Stars

2 stars

Watchers

1 watching

Forks

Packages

Contributors

Languages