All examples By author By category About

thedod

Demagnetizr - Tweetable magnet urls

Demagnetizr - Tweetable Magnet URLs

Demo

Donwloadable/tweetable torrent of M.I.A's Piracy Funds Terrorism

The problem

Many web and desktop applications turn a URL in the text you type into a clickable link. Some (like Twitter) even shorten it automatically. Sadly, however, this is not true for magnet torrent URLs (if you don't what they're good for, see "Micro FAQ" below).

The solution

Demagnetizr is a browser app that can display a short "info page" for a magnet, including title, download and tweet buttons. It doesn't "know" the magnet URL or anything about it. It simply accepts it as the hash string of the page's URL, for example: http://zzzen.com/demagnetizr/#magnet%3A%3Fxt%3Durn%3Abtih%3A6554d899acb6a17d0264a4bab9b41ad71094ae30%26dn%3DCultures%2BOf%2BResistance%2B2010%2BDOCU%2BDVDRip%2BXviD-JETSET%26tr%3Dudp%253A%252F%252Ftracker.openbittorrent.com%253A80%26tr%3Dudp%253A%252F%252Ftracker.publicbt.com%253A80%26tr%3Dudp%253A%252F%252Ftracker.ccc.de%253A80 and presents it in a useful way.

This "demagnetized" representation of a magnet URL can be recognized by URL shorteners (including Twitter itself, which is how we can have a tweet button), or used as-is in email, IM, etc.

If you're at the receving end of such a link, just click on it. It's quite self explanatory. If you want to create such links, read on. It's really simple.

"Demagnetize" and spread your favorite torrents

Advanced: become a demagnetizr patron

If you know even a little bit of html, it only takes 10 minutes, and it's fun.

Thanks

The search feature uses @makevoid's thorrents.com API which - in turn - searches The Pirate Bay.
Thanks to both of them, <300 lines of html+js can be a powerful app.

Thanks to twitter's Bootstrap, this thing can look presentable, and thanks to the robustness of GitHub Pages, we can leech all this CSS and JS goodness and keep everything in a single, short page.

Respect, y'all. Mankind rules, and I'm proud to be a shareholder.

Changes

v0.4b

Make it work when pastehtml runs us in a frame and "swallows" our hash :)

V0.4a

Fixed urlhash browser compatibility bug. Thanks to Warprofit for the heads-up.

V0.4

Added patrons :)

V0.3

V0.2

To Do


Magnet "micro FAQ"

How do I use Magnet URLs?

Here's recommended software for Linux/Mac and Windows. Once you install the software, you can go to the demagnetizr demo and click on the download button. Like the music? Click to tweet about it. Easy.

Why use magnet URLs?

One reason is that they might work even if torrent indexers like The Pirate Bay are blocked by your ISP (they might not work - e.g. if the trackers are blocked too - but many of the ways to circumvent that would involve magnet URLs anyway :) ).