{"id":15436345,"url":"https://github.com/zigai/qbittorrent-sync","last_synced_at":"2025-04-19T18:24:22.419Z","repository":{"id":161090143,"uuid":"530866817","full_name":"zigai/qbittorrent-sync","owner":"zigai","description":"Sync qBitTorrent information between operating system installations","archived":false,"fork":false,"pushed_at":"2025-02-14T11:16:13.000Z","size":33,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T02:12:07.418Z","etag":null,"topics":["dual-boot","dualboot","qbittorrent","qbittorrent-api","qbittorrent-webui","torrent"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zigai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-08-30T23:28:46.000Z","updated_at":"2025-02-14T11:16:16.000Z","dependencies_parsed_at":"2024-10-19T22:02:24.012Z","dependency_job_id":null,"html_url":"https://github.com/zigai/qbittorrent-sync","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"6c1276f6e026b1608706c2b18e3e949e067bfb37"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fqbittorrent-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fqbittorrent-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fqbittorrent-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Fqbittorrent-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zigai","download_url":"https://codeload.github.com/zigai/qbittorrent-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241568476,"owners_count":19983717,"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":["dual-boot","dualboot","qbittorrent","qbittorrent-api","qbittorrent-webui","torrent"],"created_at":"2024-10-01T18:50:02.726Z","updated_at":"2025-03-02T20:30:34.016Z","avatar_url":"https://github.com/zigai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qBitTorrent Sync\nSync qBitTorrent information between various operating system installations that share a hard drive.\n\n## Installation\n``` bash\ngit clone https://github.com/zigai/qbittorrent-sync.git\ncd qbittorrent-sync\npip install -r requirements.txt\n```\nMake sure to enable the WebUI in qBittorrent by going to ```Tools -\u003e Preferences -\u003e Web UI```.\n\n## Example exported torrent:\n``` json\n{\n    \"name\": \"ubuntu-mate-22.04.1-desktop-amd64.iso\",\n    \"urls\": \"magnet:?xt=urn:btih:de9bff3b76489706867baa8021d7e3367998ebba\u0026dn=ubuntu-mate-22.04.1-desktop-amd64.iso\u0026tr=https%3a%2f%2ftorrent.ubuntu.com%2fannounce\",\n    \"save_path\": \"/mnt/e/files/downloads/\",\n    \"category\": \"\",\n    \"tags\": []\n}\n```\n## Usage\n\n\n### As a Command Line Interface\n**NOTE**:\nThe script will attempt to convert torrent paths from Windows to Unix paths by default. It will map Windows drives to /mnt/. ``` eg. \"D:\\folder\\file.ext\" to \"/mnt/d/folder/file.ext\" ```.\nThis can be changed by using the script as a Python package and defining a custom function to transform paths.\n\n```\nusage: qbittorrent_sync.py [-h] [-host HOST] [-port PORT] [-username USERNAME] [-password PASSWORD] action path\n\nSync qBitTorrent information between various operating system installations.\n\npositional arguments:\n  action              import/export\n  path                File path\n\noptions:\n  -h, --help          show this help message and exit\n  -host HOST          Default: localhost\n  -port PORT          Default: 8080\n  -username USERNAME  Default: admin\n  -password PASSWORD  Default: adminadmin\n\n```\n\n### As Python package\n\n``` python\nfrom qbittorrent_sync import QbitTorrentSync\n\ndef custom_path_func(path: str) -\u003e str:\n    # Custom function for transforming torrent save path when importing\n    ...\n\nclient = QbitTorrentSync(path_transform_func=custom_path_func)\nclient.import_torrents(\"./torrents.json\")\n```\n## License\n[GPLv3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigai%2Fqbittorrent-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigai%2Fqbittorrent-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigai%2Fqbittorrent-sync/lists"}