Commit Graph
12 Commits
Author SHA1 Message Date
travandClaude Opus 5 09798f7146 Drop the "You are reading content from Scuttlebutt" banner
Upstream ssb-viewer printed it above every page, aimed at people who had
arrived at a stray scuttlebutt message and needed context. On cust.ooo the
context is the site itself, so it was explaining the wrong thing.

Removes the function, all four call sites and the now-dead .top-tip CSS.

Adds a "Changing how pages look" section to the README, since the real
question was where this lives. There is no template directory - pages are
built as strings in render.js with one <style> block - so the answer is
"grep for the text you can see", and the table maps each visible piece to the
function that emits it. It also records the two things that will bite an
editor: hyperscript silently drops attributes it mistakes for DOM properties
(why loading="lazy" uses setAttribute), and only text passed through h() is
escaped.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192zBTNZKZn5svyJ5HTnYds
2026-08-22 20:39:11 -04:00
travandClaude Opus 5 996e45379a Fork ssb-viewer as custo-viewer
Rebrand package.json (name, homepage, repository) so render.js's page footer,
which is built from pkg.homepage + git HEAD, points at this repo rather than
upstream's ssb:// URL.

Track package-lock.json instead of ignoring it. It was gitignored upstream, but
this is a deployed application on a 469MB box running node 18 — a reproducible
dependency tree is the difference between RESTORE.md working and not.

Upstream's README is kept verbatim as UPSTREAM-README.md; the new one documents
the custo data model, including the two things that will otherwise cost someone
an afternoon: custodisco is the string "true", and no message ever sets
content.channel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0192zBTNZKZn5svyJ5HTnYds
2026-08-22 19:30:42 -04:00
Daan Wynen f21b1202b9 Document my confusion with upgrading.
This may not be the most elegant way of going about it,
but it worked for me. In any case, *some* sort of upgrade guide
should be present IMO.
2020-10-14 22:34:11 +02:00
cel aa1697181e Add footer with copyright and source link 2020-06-11 14:20:06 -04:00
cel c8c744f585 Default to disallow robots 2018-08-22 11:52:43 -07:00
cel f908ea40e6 Document disallowRobots config 2018-08-22 11:52:43 -07:00
cel 7123fbcab1 Default to require opt-in for publicWebHosting 2018-08-17 15:32:42 -07:00
cel ad9208780b License under AGPLv3+ 2017-06-10 14:25:21 -10:00
cel bad08d4398 Update copyright 2017-04-20 14:07:17 -07:00
Anders Rune Jensen 357f96fa93 Document the new routes 2017-04-18 21:09:12 +02:00
cel 57449ef94a Mention git-ssb-web 2016-12-15 13:34:02 -08:00
cel 829750e126 Initial commit 2016-12-15 13:26:20 -08:00