github-pages
Publishing a TIL collection as a static GitHub Pages site - 2026-09-05
I forked simonw/til to start my own "Today I Learned" collection, but its publishing pipeline was built around Simon's own infrastructure: build_database.py compiled every entry into a sqlite database, generate_screenshots.py rendered preview images via Playwright (a…
Adding an Atom feed and syntax highlighting to a static site build script - 2026-09-05
Continuing on from publishing this TIL collection as a static site, I wanted two things a real TIL site should have: an Atom feed (an XML file listing the newest entries, in a standard format that feed readers poll) people can subscribe to, and syntax-highlighted code blocks…
Rendering Mermaid diagrams in a Python-Markdown static site - 2026-09-12
Wanted to drop a Mermaid diagram into a TIL and found out build_site.py had no idea what to do with one. simonw/til (the site this repo's pattern is adapted from) doesn't support it either — it's Datasette-backed, and there's no Mermaid anywhere in its templates or…
Hosting my own copy of Datasette Lite from a fork - 2026-10-08
Datasette Lite is Simon Willison's build of Datasette (a tool that publishes a SQLite database as a browsable, queryable website) that runs entirely in the browser. Simon explains how it works, Python compiled to WebAssembly via Pyodide inside a web worker, in Datasette Lite: a…