Skip to main content

Python gtk fake seeder

Project description

DFakeSeeder screenshot

D' Fake Seeder

  • This is a Python GTK4 app very much under active development
  • Obviously supported multiple torrents
  • only supporting tcp/http at this time, but i have UDP in the works
  • Based off of deluge, hense "D' Fake Seeder", but also a colloquialism for 'the'.
  • Recently upgraded it from gtk3 to gtk4 so some functionality is under flux/might be buggy.

DFakeSeeder screenshot

How to run

  • Development or run locally
make run-debug
  • Pypi
pip3 install dfakeseeder
dfakeseeder
  • Docker build local
make docker
  • Docker hub / ghcr
xhost +local:

docker run --rm --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" --volume="/tmp/.X11-unix:/tmp/.X11-unix" -it feeditout/dfakeseeder

docker run --rm --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" --volume="/tmp/.X11-unix:/tmp/.X11-unix" -it ghcr.io/dmzoneill/dfakeseeder
  • Debian based deb package
curl -sL $(curl -s https://api.github.com/repos/dmzoneill/dfakeseeder/releases/latest | grep browser_download_url | cut -d\" -f4 | grep deb) -o dfakeseeder.deb

sudo dpkg -i dfakeseeder.deb

gtk-launch /usr/share/applications/dfakeseeder.desktop
  • Redhat based rpm package
curl -sL $(curl -s https://api.github.com/repos/dmzoneill/dfakeseeder/releases/latest | grep browser_download_url | cut -d\" -f4 | grep rpm) -o dfakeseeder.rpm

sudo rpm -i dfakeseeder.deb

gtk-launch /usr/share/applications/dfakeseeder.desktop

Todo

  • loads of stuff, deb, rpms, pypi, docker build
  • need to fix requiremnts.txt/piplock and convert the solution to venv.
  • fix a chunk of small bugs and finish some of the toolbar and other options.
  • Udp
  • Better user feedback
  • All PR's welcome

Typical setup

The application copies a config file to

~/.config/dfakeseeder/settings.json

It will looks something like this

{
    "upload_speed": 50,
    "download_speed": 500,
    "total_upload_speed": 50,
    "total_download_speed": 500,
    "announce_interval": 1800,
    "torrents": {
    },
    "http_headers": {
        "Accept-Encoding": "gzip",
        "User-Agent": "Deluge/2.0.3 libtorrent/2.0.5.0"
    },
    "agents": [
        "Deluge/2.0.3 libtorrent/2.0.5.0",
        "qBittorrent/4.3.1",
        "Transmission/3.00",
        "uTorrent/3.5.5",
        "Vuze/5.7.6.0",
        "BitTorrent/7.10.5",
        "rTorrent/0.9.6"
    ],
    "proxies": {
        "http": "",
        "https": ""
    },
    "columns": "",
    "concurrent_http_connections": 2,
    "concurrent_peer_connections": 10,
    "cellrenderers": {
        "progress": "Gtk.CellRendererProgress"
    },
    "textrenderers": {
        "total_uploaded": "humanbytes",
        "total_downloaded": "humanbytes",
        "session_uploaded": "humanbytes",
        "session_downloaded": "humanbytes",
        "total_size": "humanbytes",
        "announce_interval": "convert_seconds_to_hours_mins_seconds",
        "next_update": "convert_seconds_to_hours_mins_seconds",
        "upload_speed": "add_kb",
        "download_speed": "add_kb",
        "threshold": "add_percent"
    },
    "threshold": 30,
    "tickspeed": 3,
    "editwidgets": {
        "active": "Gtk.Switch",
        "announce_interval": "Gtk.SpinButton",
        "download_speed": "Gtk.SpinButton",
        "next_update": "Gtk.SpinButton",
        "session_downloaded": "Gtk.SpinButton",
        "session_uploaded": "Gtk.SpinButton",
        "small_torrent_limit": "Gtk.SpinButton",
        "threshold": "Gtk.SpinButton",
        "total_downloaded": "Gtk.SpinButton",
        "total_uploaded": "Gtk.SpinButton",
        "upload_speed": "Gtk.SpinButton"
    },
    "issues_page": "https://github.com/dmzoneill/DFakeSeeder/issues",
    "website": "https://github.com/dmzoneill/DFakeSeeder/",
    "author": "David O Neill",
    "copyright": "Copyright {year}",
    "version": "0.0.26",
    "logo": "images/dfakeseeder.png"
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

d_fake_seeder-0.0.26.tar.gz (124.4 kB view hashes)

Uploaded Source

Built Distribution

d_fake_seeder-0.0.26-py3-none-any.whl (137.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page