Deluge is a fully-featured cross-platform BitTorrent client
Deluge contains the common features to BitTorrent clients such as Protocol Encryption, DHT, Local Peer Discovery (LSD), Peer Exchange (PEX), UPnP, NAT-PMP, Proxy support, Web seeds, global and per-torrent speed limits. As Deluge heavily utilises the libtorrent library it has a comprehensive list of the features provided.
Deluge has been designed to run as both a normal standalone desktop application and as a client-server. In Thinclient mode a Deluge daemon handles all the BitTorrent activity and is able to run on headless machines with the user-interfaces connecting remotely from any other platform.
There are three main user interfaces (UIs):
GTK UI for the desktop
Web UI for the browser
Console UI for the command line.
How to run
The following daemons will auto-start on install:
Daemons run as root and the configuration is saved to /var/snap/deluge-lukewh/common/.config/deluge
The easiest way I've found to share downloads with users is to create a directory in your home folder and mount it to /mnt with mount --bind [src_dir] /mnt/[dir_name] you can then add both root and your user to a group that has permissions in that folder. You may need to mkdir /mnt/[dir_name].
For the snap to see this mount you will need to run snap connect deluge-lukewh:removable-media manually.
If you don't want to use the daemon you can stop and disable them with:
snap service stop --disable deluge-lukewh.deluged-servicesnap service stop --disable deluge-lukewh.deluge-web-service
You can then run deluge-lukewh.deluged and deluge-lukewh.deluge-web. These will be run with the default behaviour of deluge (fork).
The configuration is then stored in $HOME/snap/deluge-lukewh/common/.config/deluge.
$HOME/snap/deluge-lukewh/common/Downloads is also created to store your downloads.
The first thing to do (after changing the default password) is change the download directory to either /home/$USER/snaps/deluge-lukewh/common/Downloads or /mnt/[dir_name] in the preferences, depending on whether you are running the snap as a user or daemon.