Skip to content

About

Firefox and Chromium companion for Firelink. Capture browser downloads, links, media, torrents, and magnets through secure local pairing.

Topics

Resources

Stars

10 stars

Watchers

0 watching

Forks

Repository files navigation

Firelink Companion app icon

Firelink Companion

Browser integration for the Firelink desktop download manager.

Latest release Firefox Chromium Manifest V3 License

What it does

Firelink Companion sends browser downloads, selected links, media pages, magnet links, and torrent metadata to the native Firelink app.

Captured links open Firelink's Add window first. You can review them before starting or queuing a download.

Status

Firelink Companion 2.2.6 is paired with Firelink 1.5.3.

Use the latest Companion release with the latest Firelink release.

Store updates follow their own review schedule. Check the installed version in your browser’s extension manager.

Installation

Install from Microsoft Edge Add-ons   Install from Firefox Add-ons   Manual install for Chromium browsers

After installation:

  1. Open Firelink.
  2. Go to Settings -> Integrations.
  3. Copy the pairing token.
  4. Open the Firelink Companion popup.
  5. Paste the token and save.

Features

  • ⬇️ Download capture sends new browser downloads to Firelink for review. The browser keeps the download until Firelink confirms receipt.
  • 🧲 BitTorrent handoff supports magnet links, remote .torrent files, and browser-local Torrent attachments. Pending Torrent captures stay paused while Firelink confirms receipt.
  • 🔗 Batch links from a page selection and optionally group them in a folder named after the page.
  • 🎬 Fetch media from the popup or context menu. Open a media page for review or send a direct HLS, DASH, or Smooth Streaming link.
  • 🔒 Local pairing signs requests and verifies the desktop app before handing off a download.
  • 🎨 Popup themes include System, Light, Dark, Dracula, and Nord. The popup and context menus follow the selected language, with RTL support for Hebrew and Persian.
  • 🧩 Manifest V3 supports Firefox and Chromium browsers.

Fetch media sends the page right away. On browsers that provide document identity, Companion can watch that tab for up to eight seconds and send one matching stream to the same Add window. Direct links go straight to Firelink.

For an embedded player, the context menu uses the frame as the source when a direct media URL is unavailable. On browsers without document identity, Firelink receives the page or frame URL. You can use Fetch media again after the initial handoff.

Handoff and privacy

  • Ordinary captures may use browser cookies when the browser session requires them.
  • Page-based explicit media requests send the canonical page URL immediately and may send one discovered manifest update tied to the same handoff. Clicked-link Fetch actions send the selected link as the media source. Neither path sends a raw browser Cookie header.
  • Discovery may include only Accept, Accept-Language, Origin, and User-Agent, plus a validated Referer field. Credentials, custom token headers, cookies, ranges, host headers, and hop-by-hop headers are removed.
  • Firelink handles media authentication through its configured media cookie source.
  • The bundled yt-dlp path can handle clear or non-DRM encrypted HLS such as AES-128 when the manifest and key are legitimately accessible. DRM/CDM, license-server, and other key workflows are unsupported; Firelink does not bypass them.
  • The original browser download is kept unless Firelink confirms the handoff.
  • Torrent downloads remain paused until Firelink confirms receipt; ambiguous handoffs stay paused to avoid duplicate delivery.
  • Requests stay on the local machine. The extension does not send download data to a remote service.

Two-phase media handoffs use Firelink desktop protocol version 7 or newer. If the desktop clearly rejects the initial request as a version mismatch before it could have been delivered, Companion retries once with the legacy protocol version 4 media payload. That older-desktop path sends the media page without the discovery update and stops observing the tab. If delivery of the first request is ambiguous, Companion does not retry, avoiding a duplicate handoff. Ordinary captures keep their existing protocol compatibility.

Companion 2.2.6 and Firelink 1.5.3 bind signed requests to the current desktop session. Older paired desktop builds use the existing HMAC compatibility path.

Browser permissions

The extension requests access to all web pages because automatic capture runs at document start and browser cookies may be needed for authenticated ordinary downloads. It also uses the browser downloads, context-menu, storage, alarm, script-injection, notification, cookie, and non-blocking webRequest APIs listed in manifest.json. The webRequest listener records nothing unless you invoke a page-based Fetch media action that starts discovery, and then only for the active tab for at most eight seconds. A clicked-link Fetch action does not start request discovery. Those permissions support the features above; the extension sends handoff data only to the paired Firelink app on localhost.

Media capability boundary

Firelink's existing bundled yt-dlp, FFmpeg, and Deno engines remain the only media backend. Clear media and non-DRM encrypted HLS (for example, AES-128) may work when yt-dlp can legitimately access the manifest and key. DRM/CDM, license-server, and other protected-key workflows are intentionally unsupported and are not bypassed. This phase does not add subtitle or multiple-audio-track selection UI.

For the Edge store listing, see the privacy policy and the submission kit.

Manual Chromium installation

Chrome and other Chromium browsers use the load-unpacked package described below. Microsoft Edge users should install the extension from the Edge Add-ons listing instead.

  1. Download firelink-chromium.zip from the latest release.

  2. Extract the ZIP to a stable folder.

  3. Open your browser's extension manager:

    Browser Extension manager
    Chrome / Chromium chrome://extensions
    Edge edge://extensions
    Brave brave://extensions
    Vivaldi vivaldi://extensions
    Opera opera:extensions
  4. Enable Developer mode.

  5. Select Load unpacked.

  6. Choose the extracted folder containing manifest.json.

  7. Pair the extension from Firelink Settings -> Integrations.

Manual Chromium installs do not auto-update. Extract the new ZIP and click Reload after an update. Managed browsers may disable Developer mode.

Temporary Firefox installation

Use this flow for local testing or add-on review:

  1. Clone this repository.
  2. Open about:debugging#/runtime/this-firefox in Firefox.
  3. Select Load Temporary Add-on... and choose manifest.json.
  4. Pair the extension from Firelink Settings -> Integrations.

Temporary Firefox add-ons are removed when Firefox restarts.

Development

npm test
npm run check
npm run build

The build writes load-unpacked packages to dist/firefox/ and dist/chromium/.

Release packages are firelink-firefox.zip and firelink-chromium.zip. firelink.zip remains a Firefox-package compatibility alias.

Credits

The extension uses standard WebExtensions APIs. It integrates with Firelink.

Thanks to users who report browser compatibility issues, test releases, and review the integration.

License

Firelink Companion is available under the MIT License.

About

Firefox and Chromium companion for Firelink. Capture browser downloads, links, media, torrents, and magnets through secure local pairing.

Topics

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages