feat: move rss to it's own module and add atom support

This commit is contained in:
Jet 2026-03-23 15:43:02 -07:00
parent 452b8b49c3
commit 3991d25293
No known key found for this signature in database
11 changed files with 875 additions and 143 deletions

View file

@ -5,6 +5,7 @@ Cargo workspace with the server-side pieces of Noisebell. Runs on any Linux box.
| Service | Port | What it does |
|---------|------|--------------|
| [`cache-service/`](cache-service/) | 3000 | Polls the Pi, stores the latest state in SQLite, fans out webhooks |
| [`rss-service/`](rss-service/) | 3002 | Fetches current status from cache and serves RSS/Atom feeds |
| [`discord-bot/`](discord-bot/) | 3001 | Posts door status to a Discord channel |
| [`noisebell-common/`](noisebell-common/) | — | Shared types and helpers |
@ -20,6 +21,7 @@ Or with Nix:
```sh
nix build .#noisebell-cache
nix build .#noisebell-rss
nix build .#noisebell-discord
```
@ -42,6 +44,10 @@ The flake exports a NixOS module for the hosted remote machine. It imports `agen
domain = "cache.noisebell.example.com";
piAddress = "http://noisebell-pi:80";
};
services.noisebell-rss = {
enable = true;
domain = "rss.noisebell.example.com";
};
services.noisebell-discord = {
enable = true;
domain = "discord.noisebell.example.com";