Files
socialmag/deploy/home/socialmag-openbridge.service
T
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

20 lines
587 B
Desktop File

[Unit]
Description=socialmag openbridge (:8322) — open_link over localhost HTTP
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/mnt/playground/Playground_V2
Environment=PYTHONPATH=/mnt/playground/Playground_V2
Environment=SOCIALMAG_CDP_ENDPOINT=http://127.0.0.1:9336
ExecStart=/usr/bin/python3 -m socialmag.openbridge
# openbridge refuses to move to another port if :8322 is taken — no silent
# fallback — so a clash fails loudly here instead of listening somewhere nobody
# is looking.
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target