Field note · November 30, 2026

One dependency, on purpose

This site has exactly one runtime dependency: a markdown parser. The syntax highlighter, the front-matter parser, the templating, the dataset generato

1 min read ·Data platform ·engineering performance

This site has exactly one runtime dependency: a markdown parser. The syntax highlighter, the front-matter parser, the templating, the dataset generators, the SQL engine, the charts — all written here.

That is not craft for its own sake. A static site with forty dependencies is a static site that breaks when one of them ships a bad release, and the whole value proposition of "this will still build in five years" evaporates.

The syntax highlighter is 130 lines and handles python, sql, javascript and bash. It is worse than the library. It is also never going to have a supply chain incident.

There is a version of this argument that is wrong, and it is worth naming: writing your own crypto, your own date parsing, your own anything with real edge cases is a bad trade. The line is roughly whether being subtly wrong is dangerous. A syntax highlighter that mis-colours a keyword is a cosmetic bug. A markdown parser that mishandles nesting is a correctness bug across the whole site, which is why that one is the dependency.

Dependencies are a loan against future maintenance. Sometimes worth taking; worth counting either way.