HOMELAB

Ditching €150/Year WordPress Hosting for Astro + Cloudflare Pages (For Free)

How I moved my personal blog off Hostinger WordPress onto a free static Astro site on Cloudflare Pages — keeping comments, analytics, micro-apps, and a one-command Obsidian publish flow.

Just after giving lickylip.net a fresh coat of paint with my new Warm Retro Workshop brand kit, I made the mistake of actually checking what I was paying to keep the lights on.

Turns out I was paying roughly €150 a year for a personal blog that no longer even had a shop on it:

Service Provider 2026 Renewal (incl. 23% VAT) Next Renewal
Single Web Hosting Hostinger $132.69 USD ($107.88 + $24.81 VAT) 31 Jul 2027
lickylip.net Domain Register365 €25.82 (€20.99 + €4.83 VAT) 1 Mar 2027

I’d already removed the WooCommerce/Gelato store from WordPress, and I already had lickylips.me sitting on Cloudflare for my TrueNAS homelab tunnels. So the obvious question popped up: why am I paying €150/year to host a handful of blog posts and a JavaScript calculator?


The Detour: Should I Self-Host WordPress on TrueNAS?

My first instinct was the classic homelab reflex: “I already have a TrueNAS server and Cloudflare Tunnels — why not just spin up WordPress + MariaDB in Docker?”

It would have worked, and it would have been free. Here’s why I talked myself out of it:

  • Home uptime: If my broadband drops or TrueNAS reboots for updates, the site goes offline.
  • Security surface: WordPress + PHP + plugins need constant babysitting. Hostinger had only just auto-patched a PHP vulnerability for me in October — exposing WordPress on my home network felt like unnecessary risk for a personal blog.
  • No store = no database needed: Everything left on the site is Markdown blog posts plus client-side JavaScript micro-apps (like the Bingo Jackpot Calculator).

That led straight to Astro + Cloudflare Pages: $0/year hosting, global CDN, 100% uptime, zero PHP to patch, and nothing exposed on my home network. Pair that with transferring lickylip.net to Cloudflare Registrar before March 2027 (~$11.86 USD/yr at-cost), and my total annual bill drops from ~€150/year to ~€11/year.


Wait — Don’t You Lose Comments & Interactivity on a Static Site?

That was my one hesitation, and it turned out to be a non-issue. “Static” only means the HTML/CSS/JS is pre-built instead of rendered by PHP + MySQL on every visit:

  • Interactive micro-apps: The Bingo Jackpot Calculator was already pure HTML + JavaScript running in the browser. Moving it out of WordPress made it cleaner and faster, and the new /apps/ page links straight to my self-hosted apps (musicbingo.lickylips.me and bingojar.lickylips.me) alongside their build logs.
  • Comments without WordPress spam: Swapped WordPress + Akismet for Giscus, powered by GitHub Discussions on the site’s repo (lickylips/lickylips-site) using the Announcements category. It’s free, zero-spam, and automatically syncs with the site’s light/dark theme toggle.
  • Analytics without Jetpack: Turned on Cloudflare Web Analytics with automatic edge injection — free, privacy-friendly, no cookie banner, and explicitly scoped to lickylips.me so my self-hosted TrueNAS tunnel subdomains (n8n.lickylips.me, audiobooks.lickylips.me, etc.) don’t pollute blog stats.
  • Email untouched: sean@lickylip.net already routes through Google Workspace MX records, completely independent of Hostinger.

Building the Site & Importing WordPress

I scaffolded the new site in Astro 5 with Content Collections, RSS, and a sitemap, and brought over the Warm Retro Workshop design system:

  • Carbon Slate (#13161B) header & footer with a 3px Bench Amber (#F59E0B) accent rule
  • Workbench Paper (#FAF8F4) light reading canvas + a persisted Dark/Light toggle
  • Space Grotesk, Plus Jakarta Sans, and JetBrains Mono typography
  • Colour-coded Content Pillar badges (HOMELAB, RETRO & BUILDS, RC FLIGHT, COMMUNITY) with client-side filtering on /blog/

To migrate the existing content, a short Python script pulled all 14 published posts via the WordPress REST API, downloaded 45+ images locally into public/images/posts/ (so nothing breaks once Hostinger is turned off), and generated 32 301 redirect rules in public/_redirects for every legacy /index.php/YYYY/MM/DD/... permalink.

Two Honest “Learn in Public” Snags

  1. Never run npm install on an NFS share: Because my Coding/ folder lives on an NFS mount, npm install took ~45 minutes of tiny network file writes (and the first local build took nearly 8 minutes before Linux cached the files in RAM). On GitHub Actions’ SSD runners, the exact same build takes ~30 seconds.
  2. 11 dead images from 2023 (rescued!): The migration script flagged 11 image URLs across two August/September 2023 posts (Botanic Gardens, Dublin and What I Learned – Week 34) that were already returning 404 on Hostinger. I tracked down all 7 original Botanic Gardens photos from my August 2023 Google Photos backup, optimised them down from multi-megabyte originals to ~250KB JPEGs, and swapped the 4 missing Week 34 software logos (OpenProject, Proxmox, Home Assistant, Google Apps Script) for clean local SVGs. Zero broken images left across the whole site.

The New Publishing Workflow: Obsidian → GitHub → Live in 30 Seconds

This is the part I’m happiest with. Instead of wrestling with the Obsidian-to-WordPress plugin, my posts now live as plain Markdown notes in Obsidian (02 Areas/Personal Website/Posts & Projects/):

  1. Notes stay private drafts in Obsidian until I flip publish: true in their YAML frontmatter.
  2. I run one command: publish-blog.
  3. A small Python script (scripts/publish-from-obsidian.py) copies & optimises any embedded !image attachments into public/images/posts/, cleans up Obsidian wikilinks, callouts, and duplicate leading H1s, writes the Markdown file into src/content/blog/, and pushes to GitHub.
  4. A GitHub Actions workflow (.github/workflows/deploy.yml) builds Astro on an SSD runner and deploys dist/ straight to Cloudflare Pages via cloudflare/wrangler-action@v3 — live on https://lickylips.me about 30 seconds later.

In fact, this very article is the first real test of that pipeline.


What’s Left for 2027

Because I’m already paid up on the old setup, there’s zero rush on the final cutover — I’ve got reminders queued in my TaskNotes for both dates:

  • Before 1 March 2027: Transfer lickylip.net from Register365 to Cloudflare Registrar (keeping all Google Workspace MX records intact).
  • Before 31 July 2027: Point lickylip.net to Cloudflare Pages, take one final archive backup of WordPress, and switch off Hostinger auto-renew.

If you’re reading this on lickylips.me, feel free to test out the new Giscus comments below!

#astro#cloudflare#homelab#obsidian#wordpress

Comments