‹ bromanko on the www

Resuming Blogging

Mar 25, 2024

Hello (again) world!

I’ve sorely neglected this site. It’s been four years since last post. I got the urge to write today and…wow…what pain.

The prior version of this site was a bespoke Next.js app forked from somewhere forgotten. I attempted to run it with npm i && npm run dev. Wall of inscrutable errors. Something must have changed with Node.js in the last four years. Next.js v9 must not be compatible. This is not how I’m spending the afternoon.

Hard reset. Start from scratch. Simplify.

I want to write in Markdown using Obsidian. I want to author on my phone or computer. I want automatic publishing.

Here’s what I cobbled together.

I created a new Obsidian vault and moved in all my post Markdown files. I configured iCloud sync to maintain continuity between computers and phone. Authoring requirements achieved.

I initialized a git repo in the same folder and setup the Obsidian git plugin to push changes. Pull isn’t necessary. iCloud sync will handle it.

Screenshot of iOS Obsidian git plugin settings

Last step was publishing. I opted for Hugo. It’s boring tech. I created a GitHub Actions workflow to build and deploy the site on every commit.

Edit files in Obsidian, wait for the Git plugin to push, site deploys. ☀️

Messages screenshot

I like it.