

I got it working, thanks! I think I found a minor bug though. I could only get the --template flag to work when the file is in the current working directory. Subdirectories and absolute directories didn’t work. I worked around this by simply cding into where my template was stored before running tinyfeed.
Even tinyfeed -i feeds.txt -o index.html -t ./template.html (with ./) results in:
fail to output HTML: fail to render HTML template: template: "./template.html" is an incomplete or empty template



I currently push to a private GitHub repository (planning on moving to a self-hosted Forgejo instance soon).
Although making my nix configuration public would be safe anyway since I use sops-nix which encrypts all my passwords in the repo using a key derived from my SSH key. During nixos-rebuild it decrypts them and puts them each in their own text file at
/run/secrets, with permissions set so you need sudo to view them. (The permissions can be tweaked as needed)It was a pain in the neck to get started with initially (like NixOS itself), but it was very much worth it. (Basically a necessity since putting secrets even in a private repo is considered bad practice)