
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
frameos-editor
Advanced tools
The FrameOS visual scene editor as an embeddable static bundle: serve it from any host, embed it in an iframe, and exchange scenes JSON over postMessage.
The FrameOS visual scene editor — the same node-graph editor the FrameOS
backend ships — as an embeddable static bundle. No backend needed: the app catalog and app sources
are embedded at build time, scenes go in and come back out as JSON over postMessage. The editor
carries the full scene workspace: the node diagram plus side panels for scene settings, state
variables, the app catalog, events and raw scene JSON; app sources open in a Monaco editor modal.
When the frameos-wasm package's assets are served
next to the bundle (at ./frameos-wasm/ relative to dist/), the Preview panel runs the edited
scenes live through the FrameOS WebAssembly runtime — canvas, scene state and runtime logs included.
The package version always equals the FrameOS release it was built from.
License: AGPL-3.0-only. The editor is FrameOS code. The intended embedding model is an iframe
served from your own host, talking to your page over the documented postMessage protocol — the
editor stays a separate program at arm's length, whatever the license of the embedding page. If you
modify the bundle itself, AGPL terms apply to those modifications.
Serve this package's dist/ directory from your host (e.g. copy it to /frameos-editor/), then:
import { createFrameOSEditor } from 'frameos-editor'
const editor = createFrameOSEditor({
container: document.getElementById('editor'),
url: '/frameos-editor/index.html',
scenes, // parsed scenes.json
width: 800,
height: 480,
onScenesChanged: (scenes) => console.log('edited', scenes),
})
const edited = await editor.getScenes()
editor.destroy()
Parent → editor:
{type: 'frameos-editor:init', scenes, sceneId?, mode?, width?, height?, interval?, theme?, previewProxyUrl?, description?} —
theme is 'light' | 'dark'; previewProxyUrl is an optional same-origin endpoint the in-editor wasm live
preview routes CORS-blocked HTTP requests through; description is the embedding page's description of the
scene, shown in the Scene settings panel{type: 'frameos-editor:get-scenes'} — replies with a :scenes message{type: 'frameos-editor:select-scene', sceneId}Editor → parent:
{type: 'frameos-editor:ready'} — once listening (the helper auto-sends init on this){type: 'frameos-editor:scenes', scenes} — after every edit (debounced) and as the
:get-scenes reply{type: 'frameos-editor:save-screenshot', dataUrl, sceneId} — the Preview panel captured a frame;
reply with {type: 'frameos-editor:screenshot-saved', ok, error?, fallbackDownload?} to store it
yourself, or stay silent and the editor downloads the PNG locally after a short timeoutdemo.html shows the scene list, the editor, and (when the frameos-wasm
package's assets are served next to it at ./frameos-wasm/) a live WebAssembly preview of the
edited scenes — everything running in the browser.
The bundle is built by frontend/build.mjs ("FrameOS Embedded Editor" config: the regular editor
code with frameLogic/logsLogic swapped for in-memory shims, see frontend/src/embed/) into
frontend/dist-editor/, and copied into this package's dist/ by npm run build. Smoke test:
node frontend/scripts/smokeEditorEmbed.mjs.
FAQs
The FrameOS visual scene editor as an embeddable static bundle: serve it from any host, embed it in an iframe, and exchange scenes JSON over postMessage.
We found that frameos-editor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.