Live data from Hacker News

Ask HN: Looking for lightweight personal blogging platform

news.ycombinator.com

61–70 of 84 posts

Re: Ask HN: Looking for lightweight personal blogging platform

#61
Hugo is getting a lot of love in here (with good reason). If you do end up trying Hugo and feel it's like 90% what you want but never quite perfect, do check out Zola (https://www.getzola.org/). It feels the most like Hugo of anything I've tried but I found the docs and the template system better.

Re: Ask HN: Looking for lightweight personal blogging platform

#62
I have used Jekyll forever. Now with Netlify.

I have no reason to recommend this other than its worked for me for 10+ years. It's perfectly fine. I am not even much of a Rubyist, it's 100% an accident of history.

I create/edit posts on Github directly, in master. They publish when they get a timestamp attached to the markdown file. Even when published, I only share around to a few friends for feedback and typos before sharing more widely.

As someone who used to tweak his Jekyll installation endlessly, I find obsession with tweaking/exploring/creating blogging platforms a sort of procrastination to avoid the actual blogging part ;)

Re: Ask HN: Looking for lightweight personal blogging platform

#64
I made Svekyll for exactly the simplicity you want.

https://svekyll.com

Svekyll is the simple conventions of Jekyll but the dynamic power of Svelte. It's nothing more than a package.json file and a posts directory with Markdown files.

Svekyll gets all 100s on lighthouse. Mostly because each generated blog post is a single HTML file with all the JS inlined. But, you still can do anything you want as it is a Svelte app. Because it is a bunch of html files, it is easy to host on any web server, no backend customization required.

Someone else mentioned publishing via email. I do that too using my hosting service extrastatic. You can email a draft and it gets converted to markdown and then placed into the git repository for the blog.

Svekyll is open source: https://extrastatic.dev/svekyll/svekyll-cli. You could definitely host on GitHub using a GitHub action to build and publish it.

Let me know if you want assistance: chris@extrastatic.com

Re: Ask HN: Looking for lightweight personal blogging platform

#65
post #48

A lot of great suggestions here and some stuff I’ve never heard of before! Throwing my own suggestion into the ring, as I was just looking into this last week. I started setting up a blog using Hexo. It’s another Node based SSG that uses markdown and supports tags. It has a lot of neat plugins that people have developed, too. I like it so far! https://github.com/hexojs/hexo

I've used hexo for years, I like it because it's simple, mature and has a large ecosystem of community plugins.

It is showing it's age with some of the tech choices, but it still works great and is easy to debug and tailor to specific needs

Re: Ask HN: Looking for lightweight personal blogging platform

#66

No love for Astro[1]? I've been using it and like its easy setup and extensibility. (I host it on Netlify with a custom domain for free and Netlify builds a new release every time I push to main). https://astro.build/

Has a great template repo too

https://astro.build/themes/

Re: Ask HN: Looking for lightweight personal blogging platform

#67
Distill for R Markdown is a great alternative too. I really like the layout and the flexibility you get with the plots.

The site can be hosted directly on github pages and you can configure the custom domain on github. Fairly easy to setup and use.

Comes out of the box with GDPR compliance, google analytics and cookie consent

https://rstudio.github.io/distill/website.html

Re: Ask HN: Looking for lightweight personal blogging platform

#69
Like many others here I'm going to recommend Jekyll too, and I recently started blogging with it [1]. Although the primary reason to suggest Jekyll would be that its non-nonsense and has been around a while (which is what the other comments mention), I would also like to add that when I needed customizations it was easy to Google for them because of the large community. Going in I believed that no platform will match all my needs, so I needed something where minor customizations wouldn't demand a steep learning curve. Some specific examples that I was able to solve with some basic searching:

[1] On the homepage [a] I needed some excerpts from the post to appear underneath the title. I also wanted this excerpt to show up in the RSS feed.

[2] Since I think of my posts as live documents - if I remember a new detail, I add it to my posts, because more than anything else my blog is notes for me -I also wanted to add a "Last major update" date to my posts - you can see this appear over the titles (the date after '||') and at the top of individual articles. I wanted this to be manual because I didn't want this date to change because I fixed a typo etc.

[3] Since I'm interested in technical articles, I wanted a good way to cite papers. I use jekyll scholar [b] for the purpose, and if you look at the last 2 articles on my blog you'll see the outcomes it produces.

[4] I also wanted my article URLs to be concise instead of the jekyll default which has year, month, day as part of it - this was a fairly easy change to make as well.

[5] Linking to a different section in an article or a section in another article without using the public URL (because this might change if for some reason I end up with a different namespace tomorrow) - this is also possible using variables, whose values get (re-)generated every time you change the document markdown.

[6] Before I push the article to github I usually have it served for a while (typically a few days) on a local server on my laptop (you don't have to install a separate server - the jekyll build system bundles one, this is how you locally see what the article would look like) which I proof-check from different devices while in the house, e.g., from my mobile when I'm not at my desk. Its convenient.

[7] Of course, support for MathJax.

[8] Lot's of themes to pick from. For ex. Al-Folio [c] is a minimalist theme that seems to be becoming popular for academic writing.

I'm sure some of the other solutions do most of these, but I wanted to draw your attention to the ease of customizability.

[a] https://blog.quipu-strands.com/

[b] https://github.com/inukshuk/jekyll-scholar

[c] https://github.com/alshedivat/al-folio?tab=readme-ov-file

Post reply on HN