{"id":18086788,"url":"https://github.com/rtuszik/magnetizer","last_synced_at":"2025-04-06T01:26:52.465Z","repository":{"id":216377880,"uuid":"741177857","full_name":"rtuszik/magnetizer","owner":"rtuszik","description":"bulk convert .torrent to magnet","archived":false,"fork":false,"pushed_at":"2024-01-09T21:33:53.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T10:41:58.212Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rtuszik.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}},"created_at":"2024-01-09T21:22:27.000Z","updated_at":"2024-01-09T21:32:46.000Z","dependencies_parsed_at":"2024-01-09T22:47:39.372Z","dependency_job_id":"1da629ba-7852-4335-a62e-4fb9652ba324","html_url":"https://github.com/rtuszik/magnetizer","commit_stats":null,"previous_names":["rtuszik/magnetizer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuszik%2Fmagnetizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuszik%2Fmagnetizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuszik%2Fmagnetizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtuszik%2Fmagnetizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtuszik","download_url":"https://codeload.github.com/rtuszik/magnetizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423151,"owners_count":20936589,"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":[],"created_at":"2024-10-31T16:58:30.121Z","updated_at":"2025-04-06T01:26:52.437Z","avatar_url":"https://github.com/rtuszik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Magnetizer\n\nMagnetizer is a Python script that generates magnet links from `.torrent` files. It can process both individual torrent files and directories containing multiple torrent files. For a single file, it outputs the magnet link directly in the command line interface. For a directory, it saves the magnet links to both a `.txt` and a `.csv` file.\n\n## Requirements\n\n- Python 3.x\n- bencodepy\n- tkinter (usually comes pre-installed with Python)\n\n## Install bencodepy\n\nInstall the `bencodepy` package. You can install it using pip:\n\n```bash\npip install bencodepy\n```\n\n## Usage\n\n1. Run the script using Python:\n\n   ```bash\n   python Magnetizer.py\n   ```\n\n2. The script will prompt you to choose between processing a single file or a folder:\n    - Type `file` to select an individual `.torrent` file.\n    - Type `folder` to select a folder containing multiple `.torrent` files.\n\n3. Depending on your choice, a file dialog window will open. Select the file or folder as required.\n\n4. If you selected:\n    - A single file, the magnet link will be displayed in the CLI.\n    - A folder, the magnet links for all `.torrent` files in the folder will be saved in `magnet_links.txt` and `magnet_links.csv`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtuszik%2Fmagnetizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtuszik%2Fmagnetizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtuszik%2Fmagnetizer/lists"}