Chrome extension (Manifest V3) for Torbox (torbox.app). Add magnet links, torrents, and web downloads from context menus, inspect files in a dropdown popup, and download completed items directly.
- Context menus. Right-click magnet links (
magnet:?xt=...),.torrentfiles,.nzblinks, or highlighted info hashes to queue them in Torbox. - File dropdown. Click any transfer in the popup to view its files, formats, and sizes.
- Local downloads. Download individual files or a full ZIP archive through Chrome's download manager, or copy the download link.
- Real-time updates. The popup refreshes transfer status, speed, and ETA every 2.5 seconds without closing open file lists.
- Open Chrome and go to
chrome://extensions. - Turn on Developer mode in the top right.
- Click Load unpacked.
- Select the directory containing this repository.
- Pin Torihako from the Extensions menu in the toolbar.
- Click the Torihako icon in the toolbar.
- Enter your Torbox API key from https://torbox.app/settings.
- Click Save.
The popup will load your current torrents and web downloads.
.
├── manifest.json # Extension manifest (Manifest V3)
├── background.js # Context menus and download handler
├── shared/
│ ├── torbox-api.js # Torbox API client
│ └── icons/ # Extension icons
├── popup/
│ ├── popup.html # Main popup markup
│ ├── popup.css # Popup styles
│ └── popup.js # Popup state and polling
├── options/
│ ├── options.html # Settings page
│ ├── options.css # Settings styles
│ └── options.js # API key validation
└── test/
└── test-api.js # Unit tests for API client and helpers
Run the test suite:
node test/test-api.js