Skip to content

About

Plugin for Deluge WebUI providing sane JSON API

Topics

Resources

Stars

118 stars

Watchers

7 watching

Forks

Repository files navigation

deluge-webapi

https://github.com/idlesign/deluge-webapi

Description

Plugin for Deluge WebUI providing sane JSON API.

Exposes some sane JSON API through Deluge WebUI (missing out of the box or restyled) so that you can manipulate Deluge from your programs using HTTP requests.

Supported methods:

  • get_torrents
  • add_torrent (magnet or file)
  • remove_torrent
  • get_api_version

Deluge is a lightweight, Free Software, cross-platform BitTorrent client. Download it at http://deluge-torrent.org/

Note

Use egg version 0.4.0 or higher for Deluge 2

Note

Use egg version 0.3.2 or lower for Deluge 1.x

Installation

  1. Get plugin egg file, from dist/ (https://github.com/idlesign/deluge-webapi/tree/master/dist) directory.
  2. Open Deluge Web UI, go to "Preferences -> Plugins -> Install plugin" and choose egg file.
  3. Activate WebAPI plugin.
  4. In case you use Client-Server setup, you'll need to install the plugin both on client and server, see - https://dev.deluge-torrent.org/wiki/Plugins#Client-ServerSetups

CORS

CORS headers can be enabled in the plugin settings along with a list of allowed origins. The settings are applied when the Web UI plugin part is enabled, so changing them requires a Web UI restart to take effect.

Note

To build the .egg file from source code yourself use python -c "from setuptools import setup; setup()" bdist_egg in the source code directory (or ./pub.sh to build and publish).

Documentation

http://deluge-webapi.readthedocs.org/

About

Plugin for Deluge WebUI providing sane JSON API

Topics

Resources

Stars

118 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages