Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
:inbox_tray: Chrome extension to aid in the addition of torrents to Transmission through the RPC
JavaScript
tag: 0.0.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
handlers
icons
AES.js
Base64.js
README.md
background.html
background.js
chrome.css
manifest.json
options.css
options.html
options.js
popup.css
popup.html
popup.js
transmissionDownload.crx
updateInfo.xml
util.js

README.md

Usage

On any supported page (which currently includes the Torrentz individual torrent pages and any page containing a magnet link), a chrome page action will be made available to aid in the torrent starting process.

This extension requires the Transmission HTTP RPC. This can be enabled through the preferences GUI when using transmission-gtk or by setting the rpc-enabled and related rpc-* values in transmission-daemon's settings.json file when using transmission-daemon.

Features

  • Adds torrents to a transmission server (remote or local)
  • (optionally) Adds all trackers from tracker aggregation websites
  • Saves and optionally encrypts login information
  • Adds additional, specified trackers to each torrent

Installation

  1. Download the transmissionDownload.crx file
  2. Open it with chrome
  3. Accept security warnings

TODO

  • use proper node function signatures (first argument should be err)
  • handle errors by adding retry button (must be using node style callback signatures first)
  • don't make user type in password repeatedly (send request to background page to store password in closure for X seconds)
  • don't require save button on options page
  • find a way to test this thing
  • standardize element id naming convention (underscore or camel case)
  • remove shared-scope server, authentication, and transmissionSessionId; pass them around instead (somehow)
  • go to transmission web interface (on torrent add) if tab is already open (see goToInbox function)
  • modularize and DRY up everything
    • function for trying an XHR with an array of inputs until we make a function pass
    • function for sending an arguments object and a method to a transmission server
  • add support for multiple servers (don't forget to no longer cache the session ID as a single value!)
  • rewrite in CoffeeScript
  • think about allowing generic handler to find any 40-character hex string anywhere
  • insert icons next to torrentz search results for extra accessibility (optional, defaulting to disabled)
  • write handlers for some more torrent websites without magnet links or with better alternatives

Building / Releasing

  1. Open chrome://extensions in chrome
  2. Enable developer mode
  3. Delete transmissionDownload.crx from repo directory
  4. Bump version number in updateInfo.xml
  5. Bump version number in manifest.json
  6. Press "Load unpacked extension..." button
  7. Choose repo directory
  8. Press "Pack extension..." button
  9. Choose repo directory
  10. If making an official release, choose signature file as well
  11. Move generated transmissionDownload.crx file to repo directory
  12. Commit, tag, and push
Something went wrong with that request. Please try again.