An interactive interface for electrical controls, ladder diagrams, and motor states, with accessible controls and action-history export.
Requirements: React, TypeScript, TanStack Start, and Vite.
npm ci
npm run dev
npm run buildControls handle pointer input, cancellation, keyboard interaction, and loss of focus. History retains up to 1,000 actions and exports JSON for the operations archive. This is a training environment and does not control a physical PLC.
The live application runs the same React simulation components entirely in the browser. The static build includes the repository base path and needs no backend or API credentials. The existing server build remains available through npm run build.
npm ci
npm run build:pages
npm run preview:pagesOpen http://localhost:4173/scada-code-studio/ to preview the production build. Pushes to main build and test the static application in Chromium before publishing it with the official GitHub Pages deployment actions. The browser check starts the motor, triggers the thermal trip, resets the protection, exports a session and rejects missing application assets or browser errors.
Use the shared operations archive client to queue result.json under project scada-code-studio. The client uses BRUNNODEV_ACCESS_TOKEN and retains unacknowledged reports locally.
Original source and documentation are MIT licensed; see LICENSE. Third-party dependencies and media retain their respective terms. Maintained by Brunno Dev.
Netlify builds use the official TanStack Start adapter with SSR output; the previous Nitro target remains available outside Netlify. Session recording validates action fields and exports only bounded, known fields. Use NETLIFY=true npm run build to verify the Netlify target locally.
Contribution trailer: Co-authored-by: nyctophile <33561761+ineedfoundmyway@users.noreply.github.com>.
Verified run · Execution report
Run python .proof/record.py after installing the prerequisites above. The scenarios execute repository code and verify exit codes and expected output. CI publishes execution-proof with the transcript, input fingerprints and source commit. The downloadable report identifies the exact tested version; the workflow badge tracks the latest run.
Chromium starts the motor, verifies the thermal trip and reset, then downloads the captured session JSON. Browser execution record
