Skip to content

feat: add embeddable reader page for iframe usage#22

Merged
gvonness-apolitical merged 1 commit intomainfrom
feat/embed-page
Feb 5, 2026
Merged

feat: add embeddable reader page for iframe usage#22
gvonness-apolitical merged 1 commit intomainfrom
feat/embed-page

Conversation

@gvonness-apolitical
Copy link
Collaborator

Summary

  • Adds embed.html to the GitHub Pages site at /speed-read/embed.html
  • Accepts query parameters (src, tumblr, tumblr-proxy, tumblr-playlist, manifest) to configure the reader
  • Reader is locked so the embedded source can't be changed by the viewer
  • Updates the Vite docs config for multi-page build

Usage

Embed in platforms that strip custom HTML (e.g. Tumblr posts):

<iframe src="https://Entrolution.github.io/speed-read/embed.html?tumblr=https://www.tumblr.com/user/12345/slug"
        width="100%" height="600" frameborder="0"></iframe>

Supported parameters: src, tumblr, tumblr-proxy, tumblr-playlist, manifest

Test plan

  • npm run build succeeds
  • npm run build:docs produces both index.html and embed.html in docs-dist/
  • All 236 tests pass
  • After deploy, verify https://Entrolution.github.io/speed-read/embed.html?tumblr=<url> loads correctly

Add embed.html to the GitHub Pages site, enabling the reader
to be embedded on platforms that restrict custom HTML elements
(e.g. Tumblr posts) via iframe with query parameters.

Usage: /speed-read/embed.html?tumblr=<url>&src=<url>&manifest=<url>
@gvonness-apolitical gvonness-apolitical merged commit f6d0715 into main Feb 5, 2026
3 checks passed
@gvonness-apolitical gvonness-apolitical deleted the feat/embed-page branch February 5, 2026 22:22
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