Repository navigation
Pages: a public link for a page, as a secret gist with a preview (P7b) - #47
Merged
Merged
Conversation
YogiOnCode
force-pushed
the
pages/p7b-public-link
branch
3 times, most recently
from
November 18, 2026 21:07
9b0fe63 to
9596bb3
Compare
YogiOnCode
force-pushed
the
pages/p7b-public-link
branch
from
November 18, 2026 21:08
9596bb3 to
7177c6f
Compare
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.
Stacked on #46 (base is
pages/p7a-save-copy). Merge #43–#46 first.Share (viewer bar and cards) gains Create public link…, and for a shared page Copy public link, Update public link and Remove public link….
ghlogin (github.com's token), else Git's saved one; never a prompt or window. Asked once, naming the account; Forget in Settings › Pages asks again.gist.githack.com/<owner>/<id>/raw/<file>, copied.githack caching (measured)
The link works at once, but githack keeps serving its copy: an update hadn't shown after ~15 min, and deleted gists still served 20+ min later (GitHub's own raw link 404s at once). Per decision, githack stays and the Update/Remove messages say so plainly.
Security review
Reviewed by a separate agent before commit; all findings fixed:
gh/gitstarted by full path from PATH's absolute folders, from Clayo's own folder (a repo can't plantgh.exeor acredential.helper).shares.jsonmust look like gist ids (no../repos/…API paths); odd JSON types read as nothing.gh auth token --hostname github.com(no Enterprise token to github.com).<!--escaped when inlining; clipboard and unexpected-answer errors shown, not crashing.Tested
To verify by hand
Share a page with a fake
ghp_token (flagged); Create → open in a private window; Update; Remove; Forget in Settings, then share again (asks again).