A simple Deluge NodeJs API interface/wrapper, asynchronous NodeJs module to interact with the Deluge torrent client API.
npm install --save node-deluge
First 'require' the package into your project node-deluge accepts 3 parameters as input:
hostname:your server's url, eg.
portyour server consumes - the default is
8112, if you are running the default port, use
var deluge = hostname password port;
Make use of the various methods
The syntax is as follows:
There are currently 2 methods available:
get_status this method returns as JSON the status of all torrents currently added to the client.
get_config this method returns as JSON the current configuration of the torrent client, including download paths, etc.
Include all methods mentioned in the link specified in the 'RESOURCES' section