How this site is built
This site runs on Inkfast, a small static blog generator I wrote for it. The source is public at github.com/threex0/inkfast.
What it is
Inkfast turns Markdown files into plain HTML. There is no database, no application server, and no front-end framework. A build writes the whole site to dist/; a publish step uploads only the files that changed over FTP or FTPS.
The output is deliberately small:
- pre-rendered HTML for every page
- one stylesheet, system fonts, no external requests
- a tiny optional script for search and the light/dark toggle
- RSS, a sitemap,
robots.txt, a 404 page, and Open Graph/JSON-LD metadata
Search is the part that usually turns into a service. Here the build writes a search-index.json, the browser fetches it the first time you open search, and matching happens locally. No query API, no index server, and no round trip per keystroke.
How this site uses it
The configuration is split so the public repository stays generic:
- Content lives in
content/, one Markdown file per post. It is kept out of git, so the source repo does not double as a content dump. - Site settings — title, author, navigation, domain — live in a gitignored
blog.config.local.json. The committedblog.config.jsonholds neutral defaults. - FTP credentials live in
.env, which is also gitignored. The publish manifest never contains the password.
The About page is configured as the home page (site.homePage), so / shows the profile and the post list lives at /blog/. Header navigation items can point at another site or render as an icon, which is how the external link and the LinkedIn button work.
The day-to-day workflow is short:
npm run new -- "A new post" --tags notes,web
npm run dev # build, watch, and serve locally
npm run publish # upload changed files
Why keep it this way
Every piece is a file. The build is a Node script, the styles are one CSS file, and the only thing running on the server is the web server that was already there. That means fewer moving parts to update, nothing to keep warm, and a published site that is easy to reason about.
It is not trying to be a general-purpose framework. It is a small tool that fits this site, and it is public in case the same shape is useful for another one.
Source, issues, and the full README: github.com/threex0/inkfast.