Ask HN: Do you still self-host a blog? What's your publishing stack?
8 points
1 day ago
| 18 comments
| HN
Question says it all - I'm curious what the state of the art is for a community like HN (that, intuitively, wouldn't just start an eg. Substack).
boricj
1 day ago
[-]
It's hosted on a computer located inside my apartment. It used to be hosted on a cheap Synology NAS. No Cloudflare or CDN or anything like that, just a bare NGINX server.

The website itself is built on Jekyll, but I want to switch to something else because I don't use Ruby/Gem for anything else and I can't be bothered to commit that stack to memory just for that.

reply
solardev
1 day ago
[-]
Is there a particular stack you prefer?

If JS, maybe consider Astro (for simple blogs)? It has built-in MDX support and deploys in a few seconds.

There's also Ghost, but it's a bit more complex. It has both a paid cloud version now and also the FOSS self-hosted version: https://github.com/TryGhost/Ghost

If PHP, maybe https://getgrav.org/?

For Go or a prebuilt binary, maybe https://gohugo.io/?

reply
boricj
1 day ago
[-]
I'm a low-level kind of person, both at work and at home. My requirements are static site only, hosted locally and no fuss (if I need to look up how to install the associated ecosystem or deal with a package manager it's out).

If I had to migrate right now I'd probably go with Hugo.

reply
solardev
1 day ago
[-]
Fair enough! I can't be of any help there then. Hope you find something!
reply
chistev
1 day ago
[-]
My personal blog is -

https://rxjourney.com.ng

I self host because I love writing code. It's inspired by Medium. It was built with Django and Svelte. I could have written the whole thing with Django but I wanted to learn Svelte, and I had plans of making it bigger and more interactive initially.

It's hosted on Render.

reply
rasulkireev
1 day ago
[-]
Add it to built with django!

https://builtwithdjango.com

reply
chistev
1 day ago
[-]
Will do!
reply
csomar
1 day ago
[-]
reply
bvnierop
15 hours ago
[-]
Static website written entirely in Emacs' org-mode with a slightly customized publish script that gets executed on a push to `main`. Hosted on GitHub Pages.
reply
LinuxBender
1 day ago
[-]
Just nginx and static pre-compressed html and txt files. Publishing stack is my fingers and vim to get spell check. Backups are automated.
reply
asukachikaru
16 hours ago
[-]
Hosted on GitHub Pages, built with React. For now I'm using nextjs, but a self-made static site generator is on the roadmap.
reply
bergie
1 day ago
[-]
https://lille-oe.de/

Jekyll on GitHub Pages with various actions to automate stuff like calculating mileage statistics.

Editing via the GitJournal app.

reply
lappet
1 day ago
[-]
Hugo, s3 and CloudFront. I use GitHub actions to push to s3, that is my deployment pipeline.
reply
brokegrammer
13 hours ago
[-]
Astro hosted for free on Cloudflare Pages.
reply
aosaigh
1 day ago
[-]
Next.js with SSR, hosted for free with Vercel. I’ve used Jekyll, Django and Craft CMS in the past.
reply
petabyt
1 day ago
[-]
I use a from-scratch python script that generates a bunch of html files which are pushed to GitHub pages
reply
skwee357
1 day ago
[-]
Astro, netlify (in a process to move to a VPS), neovim
reply
ridiculous_fish
1 day ago
[-]
Jekyll and nginx in Docker on Hetzner for €4.49/mo
reply
quintes
1 day ago
[-]
Jekyll s3 cloudfront
reply
krapp
1 day ago
[-]
Nikola to generate a static site and blog that I never bother updating because Mastodon is easier, and some shell scripts. The script that publishes the site creates a git repo, adds the static files and the remote host, force-pushes to origin and then gets deleted. It's as elegant as it is useless.
reply
throwaway519
1 day ago
[-]
Ethereum.
reply
mattl
1 day ago
[-]
I edit my posts in a self hosted Ghost site that I run on my laptop as needed and then I use Eleventy to translate that into a static website which gets pushed to Neocities.org via WebDAV (requires the $5 a month plan)

https://mat.tl/blog/2024/10/29/migrating-from-wordpress-com-...

reply
sharmi
1 day ago
[-]
Astro blog deployed on Github Pages.

VS Code for editing.

Points to Ponder

-> Use the basic Astro template for blogs. It is basically enough for a self-hosted blog needs. Using any of the third party themes/templates with a list of features has a bunch of disadvantages. It takes more effort to customize and upgrading to newer versions totally breaks the setup, sucking in hours of your time.

-> VS Code has plenty of Markdown Extensions. Markdown Preview and Frontend Masters come to mind.

reply