Repository navigation
Web: opt-in embedding bridge for host pages (?host=parent) - #698
Open
CyberFox-81 wants to merge 1 commit into
Open
CyberFox-81 wants to merge 1 commit into
CyberFox-81 wants to merge 1 commit into
Conversation
A page that frames EffectCraft on the same origin can now open footage
and projects in it and store what it saves and renders, through
postMessage, instead of saved projects and Render Queue outputs becoming
browser downloads. Built for a Nextcloud integration, but nothing in it
is host-specific.
Only the web shell changes (src/host.rs):
- effectcraft:open { name, path, blob } from the parent: the file is put
in the file table under /host plus the parent's path (unpersisted) and
opened or imported as a picked file is
- before a project opens, footage it refers to under /host that isn't
here yet is asked of the parent (effectcraft:need { paths }) and
arrives as effectcraft:file { path, blob }
- files::deliver sends what would be downloaded (saved projects, renders)
to the parent (effectcraft:save): a file under /host by the parent's
path, anything else by its file name
- effectcraft:dirty reports unsaved changes; effectcraft:ready and
effectcraft:failed report start-up. In host mode the last session, the
demo and the recovery offer don't open, and the session isn't kept in
browser storage.
Enabled only by ?host=parent inside a frame; only the parent window on
the page's own origin is heard or answered. Without it nothing changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G6GtUCaPiCMEQCN4QcdQnp
CyberFox-81
force-pushed
the
nextcloud-embedding-bridge
branch
from
October 11, 2026 12:48
59c4b9a to
b080c08
Compare
This branch has not been deployed
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.
A page that frames EffectCraft on the same origin can now open footage and projects in it and store what it saves and renders, through postMessage, instead of saved projects and Render Queue outputs becoming browser downloads. Built for a Nextcloud integration, but nothing in it is host-specific.
Only the web shell changes (src/host.rs):
Enabled only by ?host=parent inside a frame; only the parent window on the page's own origin is heard or answered. Without it nothing changes.