Blogroll

By chimo on (updated on )

I've added a "blogroll" section at the bottom of my blog posts ("Recent articles from blogs I follow"). This post describes how it's implemented.

The heavy-lifting is done by openring. Paraphrasing the README:

It will fetch the latest 3 articles from among your sources, pass them to a template and write the output a file of your choosing. Then you can include this file with your static site generator's normal file include mechanism.

In my case, the interesting part (to me) is how I pass my list of sources to openring. As a prerequisite, I setup a "Blogroll" category in my miniflux instance. Then, at hugo build-time, I call the "Get Category Feeds" API endpoint, extract the "feed_url" properties and pass those to openring. The complete build script is available in my git repository for this blog.

Recent articles from blogs I follow

I think fedizens should be able to disable replies to some or all of their posts

Every so often, there is a bit of a debate in the fediverse about whether a person should be able to make a post to which other users cannot reply. Yes, they should My view is simple: yes, they should. It is no different to running a website and not offering…

via Neil's blog December 7, 2024

Adding Encrypted Swap and a Userspace OOM-Killer

When setting up my Ideapad, I didn't configure swap because I wanted to avoid reducing the (already unknown) lifetime of it's eMMC storage. This, however, has proven to be a mistake - the Ideapad only has 4GB of RAM and I'm quite good at accid…

via www.bentasker.co.uk December 7, 2024

Advent of Code: Day 4

Link to Day #4 puzzle.

via not just serendipity December 6, 2024