Allow qBittorrent to run headless

Registered by Christophe Dumez

Some people think that it would be nice if qBittorrent could run headless (without GUI) as a daemon.

Blueprint information

Status:
Complete
Approver:
Christophe Dumez
Priority:
High
Drafter:
Christophe Dumez
Direction:
Approved
Assignee:
Christophe Dumez
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 2.1.0
Started by
Christophe Dumez
Completed by
Christophe Dumez

Related branches

Sprints

Whiteboard

In v2.0, Bittorrent code is fully separated from UI code, Program Preferences no longer required the UI and the Web UI became quite complete. As a consequence, I believe that Headless running would now be a great feature.

A --disable-gui parameter should be added to configure file in order to disable all UI-related code compilation. A loader class should be written to replace the GUI class. This loader class would:
- Enable Web UI
- Instanciate Bittorrent Object
- Listen on Unix Socket for parameters from other instances
- Load torrents

For headless running to be useful, the Web UI preferences should be a lot more complete:
- Change Web UI username/password (default being 'admin:adminadmin').
- UPnp / NAT-PMP [ON/OFF]
- Queuing system
- Encryption, DHT, ...
- Basically, all program preferences that are not UI related.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.