Version 13 (modified by mvoncken, 16 years ago) (diff)




Plugins consist of a core part and ui parts for the various user-interfaces.

They are distributed using python eggs

Creating a new plugin

Here is is a script to create a new plugin :

Go to and empty directory, and run:

python --name MyPlugin2 --basepath . --author-name "Your Name" --author-email ""

This will create a new directory <plugin-name> , contaning a basic plugin template. And it will link it from ~/.config/deluge/plugins

Restart deluge and deluged.

Distributing a plugin

Go to the plugin-name directory, and type

python python bdist_egg

This will build an egg.

Rename the egg to <plugin-name>.egg and share it,

Various random facts

  • any "export_*" method in the core plugin is exposed as "plugin-name_*" in deluge.ui.client
  • the deluge.ui.client api is available to core plugins as "from deluge.plugins.coreclient import client"

Adding a status-field to core

Adding a column to gtk-ui