karma-web: show each board's source channel + server from a bot-written meta sidecar
All checks were successful
ci / check (push) Successful in 46s

This commit is contained in:
Jean Chevronnet 2026-07-30 00:48:57 +00:00
parent 7f6327270b
commit 4ccca54963
No known key found for this signature in database
GPG key ID: 439666D63A9477E4
7 changed files with 145 additions and 29 deletions

View file

@ -81,12 +81,14 @@ lists them at runtime and `help <command>` describes one.
The live karma board is published at **<https://karma.devtronic.pro>** — a hero
with live stats, a top-3 podium, a ranked ledger with per-thing trend
sparklines, a recent-activity feed, and a top-givers board. A second binary,
`karma-web`, reads the per-network `karma.*.json` totals plus the append-only
`karma.*.events.jsonl` history the bot writes on every bump, and renders one
self-contained HTML page (no CSS/JS/font dependencies, all IRC-supplied text
HTML-escaped). A systemd timer regenerates it every minute and nginx serves it
over TLS.
sparklines, a recent-activity feed, and a top-givers board. Each network's board
shows where its karma comes from (server + channels, e.g. `#argentina`). A
second binary, `karma-web`, reads the per-network `karma.*.json` totals, the
append-only `karma.*.events.jsonl` history the bot writes on every bump, and a
`karma.*.meta.json` source sidecar (server + channels, written by the bot at
startup), and renders one self-contained HTML page (no CSS/JS/font dependencies,
all IRC-supplied text HTML-escaped). A systemd timer regenerates it every minute
and nginx serves it over TLS.
```sh
cargo build --release --bin karma-web