Git as a CMS, syncing Markdown to PostgreSQL with a webhook
A signed GitHub webhook, a shallow fetch and one transaction. How onhlt publishes an article the moment a pull request is merged.
Building onhlt · 2 204 words2 min read
Tagged
A signed GitHub webhook, a shallow fetch and one transaction. How onhlt publishes an article the moment a pull request is merged.
Building onhlt · 2 204 words|2 min read
Axum, Askama and SQLx in one process, Git as the CMS, PostgreSQL as a rebuildable index. The reasoning behind onhlt's architecture.
Building onhlt · 1 281 words|1 min read
Put #[track_caller] on a helper that can panic, and the panic message points at the code that called it instead of the helper itself.
67 words|1 min read
From a tracing span in a handler to a trace in Tempo, with logs in Loki correlated by trace_id. A minimal, production-shaped setup.
Rust in production · 1 179 words|1 min read