{"id":21867844,"url":"https://github.com/jakbin/django-tor","last_synced_at":"2026-05-10T16:44:24.873Z","repository":{"id":57711554,"uuid":"499188894","full_name":"jakbin/django-tor","owner":"jakbin","description":"Run your django website on tor using django_tor","archived":false,"fork":false,"pushed_at":"2022-06-09T12:25:27.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T15:59:45.931Z","etag":null,"topics":["django","onion","onion-service","onionshare","python","security","tor"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakbin.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}},"created_at":"2022-06-02T15:24:03.000Z","updated_at":"2022-06-03T14:51:31.000Z","dependencies_parsed_at":"2022-09-04T19:11:24.381Z","dependency_job_id":null,"html_url":"https://github.com/jakbin/django-tor","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/jakbin%2Fdjango-tor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Fdjango-tor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Fdjango-tor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Fdjango-tor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakbin","download_url":"https://codeload.github.com/jakbin/django-tor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244874718,"owners_count":20524581,"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":["django","onion","onion-service","onionshare","python","security","tor"],"created_at":"2024-11-28T05:10:48.347Z","updated_at":"2026-05-10T16:44:24.817Z","avatar_url":"https://github.com/jakbin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-tor\n\nRun your django website on tor using django_tor.It doesn’t interfere with other tor processes on your computer, so you can use the Tor Browser or the system tor on their own.\n\n [![PyPI version](https://badge.fury.io/py/django-tor.svg)](https://badge.fury.io/py/django-tor)\n [![Downloads](https://pepy.tech/badge/django-tor/month)](https://pepy.tech/project/django-tor)\n [![Downloads](https://static.pepy.tech/personalized-badge/django-tor?period=total\u0026units=international_system\u0026left_color=green\u0026right_color=blue\u0026left_text=Total%20Downloads)](https://pepy.tech/project/django-tor)\n ![Python 3.6](https://img.shields.io/badge/python-3.6-yellow.svg)\n\n\n### Disclaimer:-\nUse it only for educational purpose.\n\n## Features\n- No need root permission\n- Multiple instances\n\n## Compatability\nPython 3.6+ is required.\n\n## Installation\n\n```bash\npip install django-tor\n```\n\n## Uses\n\nadd this lines in manage.py in your django project.\n```py\nfrom django_tor import run_with_tor\nfrom django.core.management.commands.runserver import Command as runserver\n\nif sys.argv[1] == 'runserver':\n    host, port = run_with_tor()\n    runserver.default_port = str(port)\n    from djangoTor.settings import ALLOWED_HOSTS\n    ALLOWED_HOSTS.append(host)\n```\n\nRun django server with noreload argument.\n```sh\npython3 manage.py runserver --noreload\n```\n\n### Credit :- [onionshare](https://github.com/onionshare/onionshare)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakbin%2Fdjango-tor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakbin%2Fdjango-tor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakbin%2Fdjango-tor/lists"}