From efefbbba2de4937a0d5feea4324347d80a831290 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 19 Oct 2026 05:32:06 -0700 Subject: [PATCH] Bake the pit.world global footer into the web front page, trim its own footer (#151) The front page is a static file setup.sh writes at deploy, so the footer is fetched at deploy time (3s timeout, nothing on failure) and baked in last. Own footer is one line: name, ssh join, copyright, code. Drops the @profullstack/footer ring block and embed.js, and moves the CrawlProof text_link ad from above the footer to the top of the content. Co-authored-by: Claude Opus 5.5 --- setup.sh | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/setup.sh b/setup.sh index 94a370e..c557a89 100755 --- a/setup.sh +++ b/setup.sh @@ -190,6 +190,9 @@ install -d -o "$SVC_USER" -g "$SVC_USER" -m 0755 "$DATA_DIR/web" # site roo install -d -o "$SVC_USER" -g "$SVC_USER" -m 0755 "$DATA_DIR/domains" # symlink farm: custom domain -> users//public_html # Landing page (always regenerated — it's templated marketing content, not user # data): explains what a BBS is and lists every way in. Edit here to change it. +# pit.world global footer: fetched at deploy time (this page is static) and +# baked in as the last thing on the page. 3s timeout; any failure bakes nothing. +PIT_FOOTER="$(curl -fsS --max-time 3 "https://pit.world/snippets/footer.html?site=${DOMAIN}" 2>/dev/null || true)" cat > "$DATA_DIR/web/index.html" < @@ -240,6 +243,9 @@ Arcade games, chat, newsgroups, mail, git, a Linux pod, and your own homepage.# first time? just connect — your SSH key becomes your account: ssh join@${DOMAIN} + + +

What's a BBS?

Before the web, there were Bulletin Board Systems. In the 1980s you'd @@ -305,19 +311,12 @@ key — no passwords:

git clone git@${GIT_DOMAIN}:YOURNAME/repo.git # your profile & repos are public at ${GIT_DOMAIN}/YOURNAME - - -
- AgentBBS · one SSH connection from anywhere. - No app. No account form. Just ssh join@${DOMAIN}. + AgentBBS · ssh join@${DOMAIN} · © 2026 Profullstack, Inc. + · code
- -
-
-
- +${PIT_FOOTER} HTML chown "$SVC_USER:$SVC_USER" "$DATA_DIR/web/index.html"