6 parts39 min read
Building this blog
A six-part series on how this blog is built: why it exists, the editor, how posts are rendered and published, the private admin, and the design.
Start reading
Part 01
Why I built my own blog instead of writing on Medium
Part 1 of a series on how this blog works: why I wanted my own place to write, what I borrowed from Medium, the stack behind it, and how the project is laid out.
5 min read
Part 02
Building a Medium-style editor with Tiptap
Part 2: how the editor behind this blog works. The plus menu, the slash menu, a toolbar that appears on selected text, captioned images and videos, and the small problems that took the longest.
7 min read
Part 03
From editor JSON to fast, crawlable pages
Part 3: how a post is stored and rendered. Tiptap JSON in one Postgres column, one extension list shared by the editor and the server, code highlighted twice, and the metadata search engines need.
6 min read
Part 04
Publishing without a redeploy: drafts, scheduling and ISR
Part 4: how publishing works on this blog. Cached pages that refresh the moment I press Publish, edits to a live post that wait as a draft, scheduling without a cron job, and search that never touches the database.
7 min read
Part 05
A one-person admin: Google sign-in, a sign-in log and direct uploads
Part 5: how the private side of this blog is locked to a single person, why the check happens in three places, what gets recorded when a stranger tries to sign in, and how images go straight from the browser to storage.
7 min read
Part 06
Design details and shipping on free tiers
Part 6, the last in the series: the black, white and highlighter-green look, the small touches that give the site its character, what free hosting forced me to change, and an honest list of what is still missing.
7 min read