Jump to content

Port Bittorrent WebUI for Google Chrome


toor

Recommended Posts

Hi everyone,

As many of you might know this is a perfect plugin for Firefox: https://addons.mozilla.org/fi/firefox/addon/7715/

I recently however changed from Firefox to Google Chrome, and now I miss this plugin terribly.

I just wanted to ask if anybody with some "skills" could port this plugin to Google Chrome. Many people requested this before and I even mailed the guy who made the plugin, but no answer.

However he listed the source code on his website with very detailed info on how it works.

Source code: http://www.alexisbrunet.com/

Hope someone if up for the challenge.

Thank you in advance. :)

Link to comment
Share on other sites

I guess that's the downisde of Chrome, not many addon developers. Like many people, I can and do write Firefox extensions but wouldn't know where to start with Google. And before you ask, I don't plan to learn :P

I hadn't looked at the "BitTorrent WebUI" extension before, because I didn't realise it supported uTorrent. It looks like a very complete implementation, although far more than is necessary to only support uTorrent. I have written much simpler protocol and content handlers for magnet links and torrent files in Firefox, using the uTorrent add-url command where the browser doesn't actually have to download a file. I imagine that would also be much easier to implement in Chrome than a full content stream handler.

Link to comment
Share on other sites

Sadly you are correct. However more and more start developing for chrome every day :) There are extension like this for deluge, rtorrent ect.. just not utorrent :(

I cannot code anything and that's why I'm asking around here. Yes Bittorrent WebUI does support numerous clients and I only need utorrent support as I use that on my server, so the coding should be much simpler.

I downloaded the source for Bittorrent WebUI myself to take a look as it, but since I have no idea whats going on it didn't help much. I did however notice that most files are *.js and as far as I can read on http://code.google.com/chrome/extensions/getstarted.html - Google Chrome extensions are written in css and javascript. Maybe its just as simple as putting together the correct files so the extension work with chrome extension installer, or maybe its harder.

Anyway thanks for your input, it might help someone else up for the challenge in the right direction :)

Link to comment
Share on other sites

The basic JS code would be more or less the same for each browser, but the architecture of extensions in the two browsers is very different so everything would have to be repackaged. I'm guessing there will also be subtle differences even in the implementation of supposedly identical APIs like xmlhttprequest that can be a pain to debug, and of course all the listeners and handler hooks will be different. The last time I talked to anyone about similar extensions for Google Chrome, it wasn't even possible to do some of the things that the BitTorrent WebUI addon does. For example, it didn't used to be possible to intercept an HTTP request and do your own stuff with it, but maybe they have an API for that now.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...