{"id":17688020,"url":"https://github.com/marten4n6/tinytor","last_synced_at":"2025-04-14T00:43:44.588Z","repository":{"id":34108445,"uuid":"152241142","full_name":"Marten4n6/TinyTor","owner":"Marten4n6","description":"A tiny Tor client implementation (in pure python).","archived":false,"fork":false,"pushed_at":"2023-10-06T03:26:08.000Z","size":175,"stargazers_count":133,"open_issues_count":7,"forks_count":28,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T14:54:58.557Z","etag":null,"topics":["anonymity","privacy","python","tor"],"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/Marten4n6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-10-09T11:42:18.000Z","updated_at":"2025-02-07T20:41:16.000Z","dependencies_parsed_at":"2024-10-24T14:19:54.267Z","dependency_job_id":"582ab231-65cb-4169-82d7-fe88b979c9e2","html_url":"https://github.com/Marten4n6/TinyTor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marten4n6%2FTinyTor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marten4n6%2FTinyTor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marten4n6%2FTinyTor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marten4n6%2FTinyTor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Marten4n6","download_url":"https://codeload.github.com/Marten4n6/TinyTor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804721,"owners_count":21164127,"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":["anonymity","privacy","python","tor"],"created_at":"2024-10-24T11:43:10.449Z","updated_at":"2025-04-14T00:43:44.565Z","avatar_url":"https://github.com/Marten4n6.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003ca href=\"https://github.com/Marten4n6/TinyTor\"\u003e\u003cimg src=\"https://i.imgur.com/BRgdHy3.png\" alt=\"Logo\" width=\"370\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  TinyTor\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eA tiny Tor client implementation (in pure python).\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Marten4n6/TinyTor/blob/master/LICENSE.txt\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat-square\" alt=\"License\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.python.org/\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/python-2.7,%203.7-blue.svg?style=flat-square\" alt=\"Python\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Marten4n6/TinyTor/issues\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/Marten4n6/TinyTor.svg?style=flat-square\" alt=\"Issues\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/Marten4n6/TinyTor\"\u003e\n      \u003cimg src=\"https://img.shields.io/travis/Marten4n6/TinyTor/master.svg?style=flat-square\" alt=\"Build Status\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Marten4n6/TinyTor/pulls\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat-square\" alt=\"Contributing\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n**This implementation is NOT FINISHED YET.**\n\nTinyTor can be used to communicate with [onion services](https://www.torproject.org/docs/onion-services.html) via [Tor](https://www.torproject.org/about/overview#thesolution). \u003cbr/\u003e\nIt may be used by developers as a [python package](https://pypi.org/project/tinytor/) or as a command line utility. \u003cbr/\u003e\n\nThe goals are to have **no dependencies**, live in a **single file** and be **as small as possible**. \u003cbr/\u003e\nThe current file size of TinyTor is only ~37KB (uncompressed). \u003cbr/\u003e\n\n**Some warnings**:\n- TinyTor assumes OpenSSL is installed on the running machine (native on Linux/macOS)\n- This project is **not** related to the official Tor Project\n- For anything dependent on your privacy, please use the [Tor Browser](https://www.torproject.org/download/download-easy.html) or [Tails OS](https://tails.boum.org/)\n\n## How To Use\n\n```bash\n# Install TinyTor\n$ sudo pip3 install tinytor\n\n# Send a HTTP request over Tor\n$ tinytor --host example.onion --verbose\n```\n\n### From Source\n```bash\n# Download or clone this repository\n$ git clone https://github.com/Marten4n6/TinyTor\n\n# Go into the repository\n$ cd TinyTor\n\n# Send a HTTP request over Tor\n$ python tinytor.py --host example.onion --verbose\n```\n\n### For Developers\n\n```python\nfrom tinytor import TinyTor\n\ntor = TinyTor()\nprint(tor.http_get(\"example.onion\"))\n```\n\n## Motivation\n\nTinyTor was created to communicate anonymously in [EvilOSX](https://github.com/Marten4n6/EvilOSX). \u003cbr/\u003e\n[compressed.py](https://github.com/Marten4n6/TinyTor/blob/master/compressed.py) is used in EvilOSX, which compresses TinyTor to a *much* smaller size (about ~9KB).\n\n## Versioning\n\nTinyTor will be maintained under the Semantic Versioning guidelines as much as possible. \u003cbr/\u003e\nReleases will be numbered with the follow format:\n```\n\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e\n```\n\nAnd constructed with the following guidelines:\n- Breaking backward compatibility bumps the major\n- New additions without breaking backward compatibility bumps the minor\n- Bug fixes and misc changes bump the patch\n\nFor more information on SemVer, please visit https://semver.org/.\n\n## Support Tor\n\nThe Tor network relies on volunteers to donate bandwidth. \u003cbr/\u003e\n\u003cb\u003ePlease consider running a relay.\u003c/b\u003e You can help make the Tor network:\n- faster (and therefore more usable)\n- more robust against attacks\n- more stable in case of outages\n- safer for its users (spying on more relays is harder than on a few)\n\nFor more information on volunteering, please visit https://www.torproject.org/getinvolved/volunteer.html.\n\n## Issues\n\nFeel free to submit any issues [here](https://github.com/Marten4n6/TinyTor/issues).\n\n## References\n\n- [Tor Protocol Specification](https://gitweb.torproject.org/torspec.git/tree/tor-spec.txt)\n- [Tor: The Second-Generation Onion Router](https://svn.torproject.org/svn/projects/design-paper/tor-design.html)\n- [Mini-tor](https://github.com/wbenny/mini-tor)\n- [Pycepa](https://github.com/pycepa/pycepa)\n- [Struct](https://docs.python.org/3/library/struct.html)\n- How Tor Works: Part\n  [1](https://jordan-wright.com/blog/2015/02/28/how-tor-works-part-one/),\n  [2](https://jordan-wright.com/blog/2015/05/09/how-tor-works-part-two-relays-vs-bridges/),\n  [3](https://jordan-wright.com/blog/2015/05/14/how-tor-works-part-three-the-consensus/)\n- Logo created by [motusora](https://www.behance.net/motusora)\n\n## License\n\n[GPLv3](https://github.com/Marten4n6/TinyTor/blob/master/LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarten4n6%2Ftinytor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarten4n6%2Ftinytor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarten4n6%2Ftinytor/lists"}