No description
- Python 56.6%
- CSS 29.6%
- Nix 13.8%
| flake.lock | ||
| flake.nix | ||
| memories.py | ||
| pyproject.toml | ||
| README.md | ||
| requirements.txt | ||
| static.css | ||
Memories
Generate an RSS feed with a journal entry from a random year on this day, plus a few pictures from that year and month.
Runs on the homeserver as a systemd timer (memories.service), packaged by
this repo's flake and pulled into the NixOS config as a flake input.
Paths are configured via required environment variables:
MEMORIES_JOURNAL_PATH Journal directory: <year>/<yyyy-mm-dd>.md
MEMORIES_PIC_PATH Pictures directory: <year>/<yyyy - Month>/
MEMORIES_RSS_PATH Output directory for rss.xml/memories.html
Run locally:
nix run . # or: nix build . && ./result/bin/memories