Files
socialmag/deploy/home/socialmag-dash.service
juxtapoandClaude Opus 5 15f3388e5e v0.6: cross-platform feed on the dashboard, home units, napkin
dashboard.html — Feed and Timeline swap places; Feed is every platform's
capture now, not Twitter intel, so rows carry their own platform glyph and an
unknown platform renders neutral rather than being dropped. A row whose ts is
really first_seen reads "seen X ago": saying "just now" for a post of unknown
age is a lie that sorts it to the top.

dashboard.json — regenerated by the refresher; _yt_caveat dropped, the
activate fix made it stale.

deploy/home — dash, openbridge, refresh service and timer for this desktop.
Refresh every 30min with --skip-foreground, not kdmirah's 10min full pass:
there is a human at this box and the metrics table only needs enough
resolution to watch engagement move. No Restart= on the oneshot — a down
browser is a waiting state the refresher records and exits 0 for.

NAPKIN.md — the whiteboard: measured delay budget, the background-render
table, the three landmines earned (a DOM signal is a rendering question, %z
cannot come back out of struct_time, a pure time sort is not a feed), and the
open calls.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-13 01:58:45 +08:00

19 lines
554 B
Desktop File

[Unit]
Description=socialmag dashboard file server (:8321)
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/mnt/playground/Playground_V2
# No --bind, matching how this was started by hand: the page is reachable from
# abang's LAN, not only from this box. openbridge stays loopback-only, so a LAN
# viewer just falls back to opening a new tab — progressive enhancement, and the
# page is never worse than it was.
ExecStart=/usr/bin/python3 -m http.server 8321
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target