{"id":50313062,"url":"https://github.com/simonefelici/qb-ptmap","last_synced_at":"2026-05-28T22:02:33.549Z","repository":{"id":309928507,"uuid":"1037652313","full_name":"SimoneFelici/qb-ptmap","owner":"SimoneFelici","description":"Automatic port mapper for qBittorrent with ProtonVPN","archived":false,"fork":false,"pushed_at":"2025-08-15T16:04:44.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-29T09:17:35.945Z","etag":null,"topics":[],"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/SimoneFelici.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-13T23:02:49.000Z","updated_at":"2025-08-15T16:04:47.000Z","dependencies_parsed_at":"2025-08-14T17:18:35.690Z","dependency_job_id":"2f80e18c-2e3d-48fc-9b14-2ce198a9f995","html_url":"https://github.com/SimoneFelici/qb-ptmap","commit_stats":null,"previous_names":["simonefelici/qb-ptmap"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/SimoneFelici/qb-ptmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimoneFelici%2Fqb-ptmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimoneFelici%2Fqb-ptmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimoneFelici%2Fqb-ptmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimoneFelici%2Fqb-ptmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimoneFelici","download_url":"https://codeload.github.com/SimoneFelici/qb-ptmap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimoneFelici%2Fqb-ptmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33627953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-05-28T22:02:33.385Z","updated_at":"2026-05-28T22:02:33.543Z","avatar_url":"https://github.com/SimoneFelici.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qb-ptmap\nAutomatic port mapper for qBittorrent with ProtonVPN\n\nDocumentation work in progress\n\n## Prerequisites\n- qBittorrent/qBittorrent-nox;\n- Enabled qBittorrent webui;\n- natpmpc ([debian](https://packages.debian.org/sid/natpmpc), [arch](https://archlinux.org/packages/extra/x86_64/libnatpmp/));\n- Wireguard or protonvpn installed.\n\n### Wireguard configuration\nIf you are using the proton vpn GUI you can skip this step.\n\nGenerate a [Wireguard configuration](https://account.protonvpn.com/downloads#wireguard-configuration) for Linux and be sure to enable \"NAT-PMP (Port Forwarding)\".\n\n### Not mandatory but recommended\nInstall `uv` from the [official source](https://docs.astral.sh/uv/getting-started/installation/).\n\n## Installation\n### Install tool (recommended)\n```bash\nuv tool install qb-ptmap\n```\n### From source\nClone the repository:\n```bash\ngit clone https://github.com/SimoneFelici/qb-ptmap.git\n```\nGenerate the environment:\n```bash\ncd qb-ptmap \u0026\u0026 uv sync\n```\n```bash\nsource .venv/bin/activate\n```\n\n## Usage\n### Wireguard\nMove your wireguard configuration in `/etc/wireguard/` \\\nStart wireguard with your proton config:\n```bash\nsudo wg-quick up proton\n```\nIf you installed the recommended way:\n```bash\nqb-ptmap\n```\nElse: \\\nEnter the environment and run the script:\n```bash\nsource .venv/bin/activate\n```\n```bash\nuv run src/qb_ptmap/qb_ptmap.py\n```\n### ProtonVPN GUI\nConnect to a server with port forwarding. \\\nIf you installed the recommended way:\n```bash\nqb-ptmap\n```\nElse: \\\nEnter the environment and run the script:\n```bash\nsource .venv/bin/activate\n```\n## Configuration\nAt the first run the tool will generate the configuration file at `~/.local/share/qb-ptmap/config.toml`\nYou can then edit:\n- Webui url;\n- User;\n- Password.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonefelici%2Fqb-ptmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonefelici%2Fqb-ptmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonefelici%2Fqb-ptmap/lists"}