{"id":16538121,"url":"https://github.com/pablolec/deluge_killswitch","last_synced_at":"2025-07-18T04:36:31.112Z","repository":{"id":43397990,"uuid":"312046729","full_name":"PabloLec/deluge_killswitch","owner":"PabloLec","description":"Python script you can use as a Deluge kill switch to ensure that your public IP is protected.","archived":false,"fork":false,"pushed_at":"2022-03-03T15:22:01.000Z","size":18,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-25T18:11:28.464Z","etag":null,"topics":["deluge","deluge-client","deluge-daemon","deluge-torrent-client","deluge-web"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PabloLec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-11T17:49:16.000Z","updated_at":"2023-02-14T02:14:36.000Z","dependencies_parsed_at":"2022-08-24T13:10:47.886Z","dependency_job_id":null,"html_url":"https://github.com/PabloLec/deluge_killswitch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PabloLec/deluge_killswitch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Fdeluge_killswitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Fdeluge_killswitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Fdeluge_killswitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Fdeluge_killswitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PabloLec","download_url":"https://codeload.github.com/PabloLec/deluge_killswitch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2Fdeluge_killswitch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265701177,"owners_count":23813751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deluge","deluge-client","deluge-daemon","deluge-torrent-client","deluge-web"],"created_at":"2024-10-11T18:44:27.749Z","updated_at":"2025-07-18T04:36:31.089Z","avatar_url":"https://github.com/PabloLec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is it ?\nThis python script is meant to be used a Deluge kill switch. It verifies that your public IP is not the same as the one used on Deluge.\nIf your IP is not protected, it will pause all your torrents. Deluge daemon is not really killed in order to preserve the data you didn't send to the trackers yet. This way, if you wish to fix your IP issue you can easily resume your torrenting.\n\n\n# Requirements\n- Python 3.x\n- Deluge 2.x\n- deluge-console 2.x\n- dnsutils\n\nTo install dependencies:\n```\nsudo apt install python3 deluge deluged deluge-console dnsutils\n```\n\n\n# How to use it ?\nYou'll need a torrent that returns your IP in the tracker status. There is a few different working ones, consider using http://checkmytorrentip.net.\nAdd the torrent to your client, then, grab its hexadecimal hash (e.g 2fa71a2dbb7d53a39373a9c4e2c9d89aaa7a6db1) in your client or deluge-console.\nIn the GUI you have to click on the torrent and you will find the hash in the \"Details\" tab.\n\n\nOpen the script and replace the \"TORRENT_ID\" value in the beginning with your hash.\nYou may also change \"DELUGE_PATH\" if you need to.\nIf you don't want to start the Deluge daemon if it is currently stopped, change \"START_DAEMON_IF_STOPPED\" to False.\n\n\nFinally, simply run the script. You'd probably want to make it a cron job.\n\n\n# Troubleshooting\nIf you have deluge-console related exceptions, try adding \"sudo -u [your system user]\" before every \"deluge-console\" in the script. All users do not have access to the deluge daemon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolec%2Fdeluge_killswitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablolec%2Fdeluge_killswitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolec%2Fdeluge_killswitch/lists"}