Commit Graph

55 Commits

Author SHA1 Message Date
Yejun Su 824ae6a203
fix: replace qrencode system dependency with pure-JS qrcode package
Use the 'qrcode' npm package instead of shelling out to the 'qrencode'
binary. Load via createRequire for ESM/CJS interop. Use margin: 2 to
avoid the utf8 renderer's invalid array length bug with odd margins.
2026-03-19 12:59:05 +08:00
Yejun Su be2c015b72
refactor: extract index.ts into config, auth, messages, html, and server modules 2026-03-19 12:43:31 +08:00
Yejun Su 7080cdc34f
feat(ui): replace subcommands with interactive menu
/remote-control now opens a select menu with Turn on/off,
Configure URL, and Status instead of relying on subcommands.
Adds ability to stop the server. Shows current URL in the
Configure URL menu item and in the input dialog title.
2026-03-19 12:32:26 +08:00
Yejun Su ee3341d20c
feat: add --remote-control flag, status indicator, and fix config check ordering 2026-03-19 12:10:39 +08:00
Yejun Su 18f49a6828
chore: initial commit 2026-03-19 10:41:11 +08:00