Quick and easy way of making Chrome send bittorrent magnet links to a remote Transmission instance using its API on OSX, with PHP, Javascript, and OSX's built-in Apache.
Chrome does not handle default protocol applications without a little encouragement. But we're about to take care of that (see Step 6).
Steps:
-
Install the shell script
transmission-remote-magnet
:cp ~/src/transmission-remote-magnet.sh /usr/local/bin/transmission-remote-magnet
-
Install the php file, which is required for link handling to work, and will likely require sudo:
sudo cp ~/src/trm.php /Library/WebServer/Documents/