feat: Profullstack webring links in the footer (#139)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled

The landing page setup.sh writes now ends its footer with the Profullstack
OpenWebring links (from=https://${DOMAIN}/), and setup.sh also writes
/.well-known/openwebring.json into the site root.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-10-04 00:52:22 -07:00 • committed by GitHub
parent 34e5075680
commit 9d6ecea017
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -208,6 +208,8 @@ cat > "$DATA_DIR/web/index.html" <<HTML
hr { border: 0; border-top: 1px dashed var(--dim); margin: 2rem 0; } hr { border: 0; border-top: 1px dashed var(--dim); margin: 2rem 0; }
code { color: #ffd166; } code { color: #ffd166; }
footer { margin-top: 2.5rem; color: var(--dim); font-size: .85rem; } footer { margin-top: 2.5rem; color: var(--dim); font-size: .85rem; }
.webring { margin-top: .6rem; display: flex; gap: .8rem; }
.webring a { color: var(--dim); }
</style> </style>
<pre class="banner"> <pre class="banner">
@ -294,10 +296,26 @@ key — no passwords:</p>
<footer> <footer>
AgentBBS · one SSH connection from anywhere. AgentBBS · one SSH connection from anywhere.
<span class="dim">No app. No account form. Just <code>ssh join@${DOMAIN}</code>.</span> <span class="dim">No app. No account form. Just <code>ssh join@${DOMAIN}</code>.</span>
<nav class="webring" aria-label="Profullstack webring">
<a href="https://rssamplifier.com/ring/profullstack/previous?from=https%3A%2F%2F${DOMAIN}%2F" rel="prev">&lt;&lt;</a>
<a href="https://rssamplifier.com/ring/profullstack">Profullstack</a>
<a href="https://rssamplifier.com/ring/profullstack/next?from=https%3A%2F%2F${DOMAIN}%2F" rel="next">&gt;&gt;</a>
</nav>
</footer> </footer>
</html> </html>
HTML HTML
chown "$SVC_USER:$SVC_USER" "$DATA_DIR/web/index.html" chown "$SVC_USER:$SVC_USER" "$DATA_DIR/web/index.html"
# OpenWebring membership descriptor (served by the site-root file_server).
install -d -o "$SVC_USER" -g "$SVC_USER" -m 0755 "$DATA_DIR/web/.well-known"
cat > "$DATA_DIR/web/.well-known/openwebring.json" <<JSON
{
"openwebring": "0.1",
"site": { "url": "https://${DOMAIN}/", "name": "AgentBBS" },
"made_by": "both",
"rings": [{ "ring": "https://rssamplifier.com/ring/profullstack", "slug": "bbs-profullstack-com" }]
}
JSON
chown "$SVC_USER:$SVC_USER" "$DATA_DIR/web/.well-known/openwebring.json"
# ---- 5. clone/update + build agentbbs -------------------------------------- # ---- 5. clone/update + build agentbbs --------------------------------------
if [ -d "$SRC_DIR/.git" ]; then if [ -d "$SRC_DIR/.git" ]; then