Skip to content

Pages: a public link that updates and goes away within a minute or two, via gistpreview (P7c) - #50

Merged
YogiOnCode merged 1 commit into
mainfrom
pages/p7c-live-link
Nov 18, 2026
Merged

YogiOnCode merged 1 commit into
mainfrom
pages/p7c-live-link

Conversation

@YogiOnCode

Copy link
Copy Markdown
Owner

Step P7c of docs/PAGES.md. Stacked on #49.

  • New public links use gistpreview (gistpreview.github.io/?<gist>/<file>), which loads the gist from GitHub on each open. Update showed in ~95 s and Remove in ~84 s in a real test, against 20+ min with githack.
  • The gist API returns only 1 MB of a file, so a bundle over 900 KB (any page with a Mermaid diagram) keeps the githack link, and the dialog says why.
  • PageShare.Live is saved in shares.json and set on every Create and Update; old shares read as not live and move over on their next Update.
  • docs/AGENTS.md Share wording updated. Checks: link form, the 900 KB limit, old entries.

Builds clean (Debug and Release), all 21 checks pass. The sealed CSP still holds in the written page.

Hand test left: private window, a deck, a page with a diagram gets githack and says why, the full flow in Clayo.

@YogiOnCode
YogiOnCode added this pull request to stack #51 November 18, 2026 20:58
@YogiOnCode
YogiOnCode force-pushed the pages/p7c-live-link branch 6 times, most recently from 31c9bdd to abab676 Compare November 18, 2026 21:08
Base automatically changed from pages/p9-text-twin to main November 18, 2026 21:30
@YogiOnCode
YogiOnCode merged commit df29063 into main Nov 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant