Live data from Hacker News

Ask HN: How to build a light weight personal blog?

news.ycombinator.com

1–10 of 115 posts

Ask HN: How to build a light weight personal blog?

#1
I've been running my personal blog for a while using WordPress, but I find it too buggy and loads slow.

I was thinking of redesigning and redeveloping my blog into a light static website. What are some alternatives to Wordpress that are fast and small? I don't really need a CMS as I write all my blog posts in markdown. I'm currently thinking of using Hugo or use some framework like Skeleton. Any other suggestions?

My current site: https://rishikeshs.com/

Re: Ask HN: How to build a light weight personal blog?

#3
I write my blog in plain text files (because it's primarily intended for gopher), and then wrote a little node+express service that watches those text-files and applies a bit of regex to it to make links be links, and otherwise just formats it as html. Here's how it looks

http://dusted.dk/pages/phlog/2021-12-14.txt and http://dusted.dk/pages/phlog/2021-12-14.txt?raw

to inline an image, i just refer to the name, so lol.png becomes an in the html.

My main compromise is that if it makes the plaintext less pretty, it can't go in, no tags.

My inline code blocks is made by matching for a language or file name ending with: and if the next line is indented, it is considered code.

Look at http://dusted.dk/pages/phlog/2019-12-20.txt and the raw text http://dusted.dk/pages/phlog/2019-12-20.txt?raw

Re: Ask HN: How to build a light weight personal blog?

#9
I am evaluating these options now:

- https://github.com/alaq/adrien.sh for NextJS

- https://github.com/sw-yx/swyxkit or Svelte

- https://github.com/SimeonGriggs/simeonGriggs for Remix

All have designs I like. I am only familiar with NextJS and find it a pleasure to work with.

Re: Ask HN: How to build a light weight personal blog?

#10
I rebuilt my personal site using Hugo a couple years ago and it’s been great. Super easy to write new posts in Markdown, flexible enough I could do anything I might need, but easy enough to build out just the features I need and no pressure to update anything for security reasons.
Post reply on HN