Browser based configurator - #2693
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Branch Targeting SuggestionYou've targeted the
If This is an automated suggestion to help route contributions to the appropriate branch. |
|
|
Do you have a copy up where it can be tested? Here are some references of recent similar work. We may want to compare and contrast and merge ideas together to come up with the final combined version. @Scavanger 's similar work: And the one by @RomanLut : and @ramkrishna757575 started a version one by MakeSomeFakeNews: While @Bingo2023 made an Android app: Overall discussion of the topic here: |




This pull request introduces a comprehensive browser-port dependency audit (
BROWSER_PORT_AUDIT.md) and initiates the migration of the application to support browser environments. It documents the current Electron/Node dependencies, proposes browser-compatible replacements, and details the initial implementation of Web Serial support. Additionally, the main entry point inindex.htmlis switched to a browser-specific bootstrap script.Browser-port audit and migration:
BROWSER_PORT_AUDIT.md, providing a detailed inventory of Electron/Node dependencies, browser-compatible alternatives, and migration status for serial I/O, filesystem, USB/DFU, dialogs, child processes, networking, and build/runtime boundaries. This document serves as a roadmap and checklist for the browser migration effort.js/connection/connectionWebSerial.js), its integration, and the platform abstraction layer that enables the app to run in browsers with minimal code changes.Build/runtime entry point update:
index.htmlfromjs/configurator_main.jstojs/browser-entry.js, ensuring the browser build uses the new platform abstraction and initialization logic.