Skip to content

Embed wasm-rtos into the GitHub Pages site - #7

Merged
espmaniac merged 7 commits into
mainfrom
feature/embed-wasm-rtos-runtime
Jul 12, 2026
Merged

Embed wasm-rtos into the GitHub Pages site#7
espmaniac merged 7 commits into
mainfrom
feature/embed-wasm-rtos-runtime

Conversation

@espmaniac

Copy link
Copy Markdown
Member

Summary

  • load the generated Emscripten runtime from os/wasm-rtos.js
  • connect the existing drag-and-drop UI to real browser_task_* exports
  • replace mock tasks with actual wasm-rtos task state
  • wire pause, resume, stop, restart, and remove actions to the runtime
  • display runtime initialization, memory, task, queue, and status information
  • validate main.js syntax in CI
  • commit generated os/wasm-rtos.js and os/wasm-rtos.wasm into the site branch after successful push builds
  • continue updating and persisting the top-level os/wasm-rtos submodule pointer

Site behavior

After this PR is merged, a push build generates and commits:

  • os/wasm-rtos.js
  • os/wasm-rtos.wasm

Because this is the wasm-rtos.github.io user-site repository, GitHub Pages serves those files together with the existing index.html, style.css, and main.js.

Uploaded guest .wasm files are copied into the runtime and launched with the app_main entry point. The site polls real task states and exposes runtime-backed controls.

Validation

Do not merge until the browser build workflow succeeds and the generated runtime files are committed to this branch by the push-triggered workflow run.

@espmaniac
espmaniac marked this pull request as ready for review July 12, 2026 13:55
@espmaniac
espmaniac merged commit 1b6b6c1 into main Jul 12, 2026
1 check passed
@espmaniac
espmaniac deleted the feature/embed-wasm-rtos-runtime branch July 12, 2026 13:55
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