Profullstack footer on the app.logicsrc.com sign-in page (#255)
Some checks are pending
CI / build (push) Waiting to run
Deploy to dev2 / deploy (push) Waiting to run
test / test (push) Waiting to run

* Profullstack footer on the app.logicsrc.com sign-in page (webring + built.indie + pwamart badges)

Server-rendered @profullstack/footer (clearnet template) under the LogicSRC
footer on the public sign-in page (/), bundled at boot and refreshed from the
@latest template every 15 min. Serves /.well-known/openwebring.json for the
Profullstack ring. Lockfile footer 0.2.1 -> 0.2.6 (checked with bun 1.4.2
--frozen-lockfile).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* PWA manifest + meta description: say what the app is (it carried a moshcode tagline)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(web): ring nav has previous/next only since footer 0.2.2 (no random hop)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-10-26 03:45:08 -07:00 • committed by GitHub
parent 580817b06f
commit ff0c903c6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 69 additions and 4 deletions

View file

@ -14,6 +14,8 @@ import { apiKeysRouter } from "./routes/apikeys.mjs";
import { opencredsRouter } from "./routes/opencreds.mjs";
import { cliRouter } from "./routes/cli.mjs";
import { pagesRouter } from "./routes/pages.mjs";
import { descriptor } from "@profullstack/footer";
import { RING_FOOTER_OPTIONS, startRingFooterRefresh } from "./lib/ring-footer.mjs";
const app = express();
app.disable("x-powered-by");
@ -48,6 +50,10 @@ const sodiumCore = createRequire(sodiumWrappers).resolve("libsodium");
app.get("/vendor/libsodium.js", (_req, res) => res.sendFile(sodiumCore));
app.get("/vendor/libsodium-wrappers.js", (_req, res) => res.sendFile(sodiumWrappers));
// The Profullstack webring descriptor (the ring footer is on the sign-in page, /).
app.get("/.well-known/openwebring.json", (_req, res) =>
res.json(descriptor({ site: RING_FOOTER_OPTIONS.site, name: "LogicSRC credentials" })));
app.get("/healthz", (_req, res) => res.json({ ok: true, env: config.env }));
app.use(sessionMiddleware);
@ -74,6 +80,7 @@ app.use((err, _req, res, _next) => {
async function main() {
await migrate();
startRingFooterRefresh();
app.listen(config.port, () => console.log(`🔐 logicsrc credentials on :${config.port} (${config.env}) — ${config.origin}`));
}
main().catch((e) => { console.error("boot failed:", e); process.exit(1); });