This page was designed to last. read more
I like to keep things simple and small, and this website is no exception.
This site is styled to look like a Markdown file. It uses ReMarkdown for the styling, though I inlined the main styles and heavily modified them to match my opinionated take on markdown and keep the whole package as small as possible.
The site logo was made using toilet, an ASCII art generator. The font used is toilet's mono12 font.
In the footer, I have included the path of the current page, as well as the file size after minification using html-minifier and compression by zstd.
All such apparently dynamic elements are generated statically and replaced during the build process. The main build script uses pandoc to convert my markdown files to HTML, followed by sed to replace the patterns.
This process does face the chicken-and-egg problem, where the size is changed when it is written to the page. While I could probably iterate a few times until the size converges, but that would be overkill for such an insignificant portion of the webpage. Currently the estimate overshoots by a few dozen bytes every time, and that is an acceptable trade-off for me.
This site is developed on a private repo and deployed on Cloudflare pages to get as little latency as possible.