Miniflux Dagger Module
I wrote a new Dagger module over the weekend that implements the miniflux python sdk and allows you to interact with a miniflux rss server as a part of your Dagger pipeline.
My immediate use case is to help generate the inputs for my openring module that I use to insert snippets into my blog from my blogroll (scroll down to see an example). Previously I maintained a text file by hand that included the links to all the rss feeds that I wanted to use for openring. Separately, I have a blogroll on my site that was redundant with this list. Further, I had a different yaml file that I was using to configure nom, the tui client for reading rss feeds. This means I had three different files that represented the same thing.
I’ve been running my own instance of miniflux for a few years now. It’s great! But I have not been using it lately since I moved to nom. I realized that nom has full support for miniflux so I was excited to create this module and eliminate the need to have all of these redundant files. The only thing worse than redundant files is redundant files in three different formats.
With this module I now have nom getting updates directly from miniflux, openring getting input directly from miniflux, and the blogroll on my links page can also be generated automatically from miniflux.
I have been enjoying building these types of modules lately that implement various SDKs because they can serve as a nice reference implementation for the library. Also, getting a CLI for free is an added bonus because I can interact with these services without needing to install any local dependencies.
This one is also special because it provides a good example of Daggers CurrentModule API that allows you to interact with files and directories of the current function. For example, the generate_sources function that I wrote grabs a list of feeds from miniflux and creates a text file inside the runtime container. All of this is happening in pure python without any Dagger-specific code, using the current_module function I can interact with any artifacts that my python code creates and turn them into first-class Dagger primitives such as File, Directory, or Container.
This module is helping me on my quest to build a fully Daggerized blog publishing pipeline. I am probably 80% there already, but there are many hacks in my existing workflow, and syndication is currently manual. This module gets me one step closer to the dream. If you use miniflux and/or openring and are manually maintaining files, I hope you give this a try and let me know what you think.
Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.
Check out some more stuff to read down below.
Most popular posts this month
- SQLite DB Migrations with PRAGMA user_version
- My Custom Miniflux CSS Theme
- Using cgit
- Setting up ANTLR4 on Windows
- Making cgit Pretty
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- A eulogy for Vim from Drew DeVault's blog
- Pluralistic: AI "journalists" prove that media bosses don't give a shit (11 Mar 2026) from Pluralistic: Daily links from Cory Doctorow
- Avi Alkalay: Uniqlo T-Shirt Bash Script Easter Egg from Fedora People
- Offline 23 hours a day from Derek Sivers blog
- Pluralistic: California can stop Larry Ellison from buying Warners (28 Feb 2026) from Pluralistic: Daily links from Cory Doctorow
- On Alliances from Smashing Frames
- Acting ethically in an imperfect world from Smashing Frames
- Diffusion of Responsibility from Smashing Frames
Articles from blogs I follow around the net
Changes in the system prompt between Claude Opus 4.6 and 4.7
Anthropic are the only major AI lab to publish the system prompts for their user-facing chat systems. Their system prompt archive now dates all the way back to Claude 3 in July 2024 and it's always interesting to see how the system prompt evolves as they p...
via Simon Willison's Weblog: Entries April 18, 2026You Can Message Me From My Website Now
I came across a rather interesting idea (via Intial Charge): I added a widget to every page here that lets anyone in the world immediately send me a notification. Type a message, hit send, and it’ll...
via Chris Hannah April 18, 2026Rhea Finance exploited for $18.4 million, some recovered
Rhea Finance's lending product was exploited for around $18.4 million after an attacker took advantage of a bug in the platform's slippage protection feature. The stolen assets affected both platform and user funds.Some of the stolen tokens were returned b...
via Web3 is Going Just Great April 18, 2026Generated by openring