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 - - -
- - - +${PIT_FOOTER} HTML chown "$SVC_USER:$SVC_USER" "$DATA_DIR/web/index.html"