A browser extension that allows users to easily contribute torrents to MediaFusion directly from torrent listing sites.
- Auto-detection: Automatically detects torrent and magnet links on popular torrent sites
- One-click upload: Add torrents to MediaFusion with a single click
- Smart metadata extraction: Automatically extracts and analyzes torrent metadata
- Configuration management: Persistent settings for MediaFusion URL and uploader name
- Multi-browser support: Works on Chrome, Firefox, and other Chromium-based browsers
- Site-specific handlers: Optimized for popular torrent sites
Works with a variety of popular torrent listing sites. The extension uses site-specific handlers that can be extended to support additional sites.
Easy Installation from Mozilla Add-ons:
- Visit the MediaFusion Torrent Uploader page on Mozilla Add-ons
- Click "Add to Firefox"
- Confirm the installation when prompted
- The MediaFusion extension icon will appear in your toolbar
Manual Installation (Development):
- Download the extension files
- Open Firefox and go to
about:debugging - Click "This Firefox"
- Click "Load Temporary Add-on"
- Select the
manifest.jsonfile from the extension folder
Note: The Chrome Web Store version is currently pending review. Until it's approved, you can install manually:
Manual Installation:
- Download or clone this repository
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the
browser-extensionfolder - The MediaFusion extension icon should appear in your toolbar
Building for All Browsers:
# Navigate to the browser-extension directory
cd browser-extension
# Run the universal build script
./build.shThis will create a dist folder with builds for all supported browsers (Firefox, Chrome, Edge) and distribution packages.
-
Click the MediaFusion extension icon in your browser toolbar
-
Configure your settings:
- MediaFusion URL: Enter your MediaFusion instance URL (e.g.,
https://mediafusion.elfhosted.com) - Uploader Name: Enter your preferred uploader name (optional, defaults to "Anonymous")
Note: Settings are automatically saved as you type. No need to click a save button!
- MediaFusion URL: Enter your MediaFusion instance URL (e.g.,
- Visit any supported torrent site
- Browse to a torrent page
- Look for the MediaFusion upload button next to torrent/magnet links
- Click the button to upload the torrent to MediaFusion
- Click the MediaFusion extension icon
- Use the popup interface to manually upload torrents:
- Paste magnet links
- Upload torrent files
- Configure metadata
browser-extension/
├── manifest_chrome.json # Chrome extension manifest
├── manifest.json # Firefox extension manifest
├── popup/
│ ├── popup.html # Extension popup interface
│ ├── popup.js # Popup functionality
│ └── popup.css # Popup styling
├── content/
│ ├── content.js # Main content script
| └── inject.css # Injected styles
├── background/
│ └── background.js # Background script for API calls
└── icons/ # Extension icons
The extension is ready to use without building. Simply load the unpacked extension in your browser.
- Fork the repository
- Create a feature branch
- Add support for new torrent sites by creating handlers in
content/site-handlers/ - Test thoroughly on different sites
- Submit a pull request
This project is licensed under the same license as MediaFusion.