Repository navigation
pit.world global footer + trimmed site footer - #146
Merged
Merged
Conversation
The site is static HTML behind Caddy, so a small Bun process (scripts/pit-footer.mjs, started by start.sh) fetches https://pit.world/snippets/footer.html?site=tronbrowser.dev at boot and hourly (3s timeout) and writes it into a <!--pit-footer--> slot before </body> on every page. Failure keeps the last good copy, or nothing. Home footer is one row: copyright, Store, Sign in, Privacy, GitHub, Releases; dropped the @profullstack/footer embed and its webring. Store footers lose the trailing tagline. The CrawlProof text-link unit that sat directly above the footer now sits at the top of main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
ThreatCrush Security Scan48 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 25 | LOW: 21
Snippets are redacted; ThreatCrush never prints matched credential material. |
ralyodio
added a commit
that referenced
this pull request
Oct 19, 2026
The pit.world footer sweep (#146) replaced the baked @profullstack/footer block with a plain row, so the homepage stopped linking the ring and rssamplifier's verifier lost the site. Bake the current 0.2.4 markup back in (links, ring, the one copyright line) with embed.js for @latest updates. The pit.world footer slot stays last in <body>. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tronbrowser.dev is static HTML served by Caddy, so the global footer is injected at runtime by a small Bun process rather than at build time:
scripts/pit-footer.mjs(started fromstart.sh) fetchespit.world/snippets/footer.html?site=tronbrowser.devat boot and every hour (3s timeout) and writes it into a<!--pit-footer--><!--/pit-footer-->slot placed just before</body>on every page (site + /store). Writes are atomic (temp + rename); on any failure the last good copy (or nothing) stays. Local dev just shows the empty comment.@profullstack/footerembed.js + webring.<main>(page's only unit).style-src 'self' 'unsafe-inline', no change needed.web tests pass; injector verified against a copy of the built /srv tree (idempotent, one footer per page).
🤖 Generated with Claude Code