{"id":28758372,"url":"https://github.com/fujiwarachoki/tor-demo","last_synced_at":"2025-06-17T04:08:18.815Z","repository":{"id":225476085,"uuid":"766089269","full_name":"FujiwaraChoki/tor-demo","owner":"FujiwaraChoki","description":"Demo on how to use TOR Proxies in Python.","archived":false,"fork":false,"pushed_at":"2024-03-02T16:03:44.000Z","size":7,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-30T20:43:02.257Z","etag":null,"topics":["onion","python","stem","tor"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FujiwaraChoki.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}},"created_at":"2024-03-02T10:03:43.000Z","updated_at":"2024-04-12T22:53:26.000Z","dependencies_parsed_at":"2024-03-02T11:27:24.753Z","dependency_job_id":"165307a2-0787-472e-bede-ae1992372e55","html_url":"https://github.com/FujiwaraChoki/tor-demo","commit_stats":null,"previous_names":["fujiwarachoki/tor-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FujiwaraChoki/tor-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FujiwaraChoki%2Ftor-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FujiwaraChoki%2Ftor-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FujiwaraChoki%2Ftor-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FujiwaraChoki%2Ftor-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FujiwaraChoki","download_url":"https://codeload.github.com/FujiwaraChoki/tor-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FujiwaraChoki%2Ftor-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260288462,"owners_count":22986667,"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":["onion","python","stem","tor"],"created_at":"2025-06-17T04:08:18.100Z","updated_at":"2025-06-17T04:08:18.799Z","avatar_url":"https://github.com/FujiwaraChoki.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tor Demonstration in Python\n\nThis is a simple demonstration of how to use the Tor network in Python. This demonstration uses the `requests` library to make HTTP requests through the Tor network, and the `stem` library to control the Tor process.\n\n## Installation\n\n### Windows\n\n1. Download and install the Tor Browser Bundle from [https://www.torproject.org/](https://www.torproject.org/).\n2. Clone the repository and activate the virtual environment:\n\n```bash\ngit clone https://github.com/FujiwaraChokik/tor-demo.git\ncd tor-demo\npython -m venv .venv\n.venv\\Scripts\\activate\n```\n\n3. Install the required packages:\n\n```bash\npip install -r requirements.txt\n```\n\n### Linux\n\n1. Install the Tor package:\n\n```bash\nsudo apt install tor\n```\n\n2. Clone the repository and activate the virtual environment:\n\n```bash\ngit clone https://github.com/FujiwaraChokik/tor-demo.git\ncd tor-demo\npython -m venv .venv\nsource .venv/bin/activate\n```\n\n3. Install the required packages:\n\n```bash\npip install -r requirements.txt\n```\n\n## Note\n\nAdd this to your `torrc` file:\n\n```bash\nFetchDirInfoEarly 1\nFetchDirInfoExtraEarly 1\nFetchUselessDescriptors 1\nDownloadExtraInfo 1\nControlPort 9051\nSocksPort 9050\n```\n\n## Usage\n\n### Windows\n\n1. Start the Tor Browser Bundle and click on the `Connect` button.\n2. Run the script:\n\n```bash\npython src/main.py\n```\n\n### Linux\n\n1. Start the Tor service:\n\n```bash\nsudo service tor start\n```\n\n2. Run the script:\n\n```bash\npython src/main.py\n```\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- [https://stem.torproject.org/](https://stem.torproject.org/)\n- [https://www.torproject.org/](https://www.torproject.org/)\n- [https://requests.readthedocs.io/](https://requests.readthedocs.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffujiwarachoki%2Ftor-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffujiwarachoki%2Ftor-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffujiwarachoki%2Ftor-demo/lists"}