Canvas Webapp

Render a React/Vite (or any bundled) web app on the pi-dashboard canvas, which loads loopback URLs in a sandboxed opaque-origin iframe. Use when a canvas(target:{kind:"url"|"server"}) target shows up blank white, an empty surface, or a /live/<id> 500 ECONNREFUSED. Covers why Vite dev servers and non-CORS static servers fail there, and the static-build + CORS-server recipe that works.

BlackBeltTechnology Updated 348 repo stars

File contents

BlackBeltTechnology/pi-agent-dashboard commit 924e674a1a

Frequently asked questions

npx get-skill add blackbelttechnology/canvas-webapp