NinjaTerm
NinjaTerm copied to clipboard
Consider switching back from PWA to using Tauri/Electron.
Advantages:
- Can install global shortcut keys to jump to/open app.
- More info on serial ports (incl. the COM/ttyUSB names)
- Easier to read/write from disk
- Shortcut keys like Alt-F can be caught, although I would have to pass them through from the main process.
- User can decide to keep older version (or install older version)
Disadvantages:
- I'd either have to set nodeIntegration to false (not recommended for security reasons) or create a whole API for communicating with the serial port and file system from the main process to the render processes (using IPC and the preload script).
- Code base would be more complex, and slightly harder to perform e2e tests (although you can still use Playwright with Electron).
- Would have to migrate existing code, expected to take approx. 16 hours.
UPDATE: Might be better to use Tuari, which would use Rust for the backend. Utilizes the OSes webview making for lighter apps.