The hall counts its visitors: a digest, a nightly rollup, and the games it sends people to
gamehall/ops holds the traffic counter, the visitors digest and the nightly rollup, installed by gamehall/deploy.sh; the gamehall-visitors skill reads them. The hall now sends its origin as referrer, so a game can tell who came from it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
8ab1e0b794
commit
1dbf5763e1
@@ -83,3 +83,10 @@ in `gamehall/site/` with a card per game, written by hand. It is served by
|
||||
Caddy on the shared host beside the games (`gamehall/gamehall.caddy`) and
|
||||
published with `gamehall/deploy.sh 159.203.115.252`. A new game is not in
|
||||
the family until it has its card there too.
|
||||
|
||||
Its visitors are counted from Caddy's log by `gamehall/ops/` (installed by
|
||||
the same deploy): `gamehall-visitors.sh` on the host for today, and a
|
||||
nightly rollup line in /var/lib/gamehall/rollup.jsonl. The skill
|
||||
`gamehall-visitors` reads them. A new game on the shared host is added to
|
||||
`GAMES` in `gamehall/ops/traffic.py` so the digest counts the people the
|
||||
hall sends it.
|
||||
|
||||
Reference in New Issue
Block a user