Commit Graph
4 Commits
Author SHA1 Message Date
nandi 9d3df6e100 fix: guard AppImage against duplicate launches and rotate router log
check / check (macos-latest) (push) Failing after 26s
check / check (ubuntu-latest) (push) Failing after 26s
check / check (windows-latest) (push) Failing after 27s
- Add an exclusive instance lock and detect an already-running Firefox on the profile, so a second launch exits with a notification instead of clobbering the first
- Write the instance PID to instance.lock and record app_run_pid in active_ports.json
- Write active_ports.json atomically and only remove it on cleanup if this instance wrote it
- Rotate router.log to router.log.1 once it reaches MOON_I2P_LOG_MAX_BYTES (default 5 MiB) and mark each start in the log
- Close the lock fd in the router and Firefox children so they do not hold the lock
2026-11-28 20:12:19 -08:00
nandi 4bb81f1b80 feat: add diagnostics report to Firefox torrent extension
check / check (macos-latest) (push) Failing after 26s
check / check (windows-latest) (push) Failing after 26s
check / check (ubuntu-latest) (push) Failing after 29s
- Add a Diagnostics panel to the extension popup and manager page with copy and refresh actions
- Collect extension settings, router API status, torrents, DHT nodes, and a tail of the router log into one report
- Add a native host `diagnostics` command that reports router PID, active ports, log path, and log summary counters
- Export data dir, log file, router PID, and SAM port from the AppImage launcher
- Start the router with `--debug` so the log tail has detailed output
- Bump extension version to 0.1.4 and request clipboardWrite permission
2026-11-28 19:28:39 -08:00
nandi 82aaa9f11e feat: improve Firefox torrent extension link capture and peer status
check / check (macos-latest) (push) Failing after 27s
check / check (ubuntu-latest) (push) Failing after 27s
check / check (windows-latest) (push) Failing after 27s
- Capture magnet links from data-magnet attributes and stop the page's own handlers from also firing on torrent and magnet links
- Treat .torrent URLs with fragments as torrent links
- Show tracker status, in-flight block counts, unchoked peer counts, and per-peer state in the torrent list
- Bump the extension to 0.1.2 and rebuild the .xpi
- Run the AppImage router with --debug
2026-11-28 18:04:28 -08:00
nandi fbe6818c4e feat: add I2P BitTorrent engine, DHT, and Firefox torrent extension
check / check (macos-latest) (push) Failing after 29s
check / check (ubuntu-latest) (push) Failing after 29s
check / check (windows-latest) (push) Failing after 30s
- Add pure-MoonBit bittorrent package: bencode codec, metainfo/magnet parsing with path traversal checks, peer wire protocol (BEP 10/9), and I2P Kademlia DHT with KRPC and 54-byte compact nodes
- Add SHA-1 primitive in crypto for torrent info hashes
- Add router torrent API and engine, enabled with --torrent-api (default 127.0.0.1:4445) and --download-dir
- Add Firefox WebExtension torrent manager with native messaging host and packed .xpi
- Add scripts to build a standalone Firefox + router AppImage and install the native host
- Add just targets (proxy, appimage, extension), README docs, and ignore .cache/ and dist/
2026-11-28 13:19:03 -08:00