Documentation
Guides for the hypertor Tor HTTP client, onion service framework, SOCKS5 proxy and Python bindings.
hypertor makes HTTP requests over the Tor network and hosts onion services, from Rust or Python. It is a thin layer over arti and hyper, supplying the seam between them and the ergonomics on top.
New here? Installation covers feature flags and TLS backends; Quick start gets a request out. If you care about why the defaults are what they are, Security is the page to read.
Installation
Install hypertor for Rust or Python: feature flags, TLS backends, platform notes and building from source.
Quick start
Make your first request over Tor and host your first onion service, in Rust or Python.
Client
TorClient: requests, responses, streaming, circuit isolation, redirects, retries and connection pooling.
Onion services
Host a .onion service: routing, static files, persistence, shutdown and the hardening options arti exposes.
SOCKS5 proxy
Run a local SOCKS5 front-end so any program can reach the Tor network, without leaking DNS.
Python
The hypertor Python API: sync and async clients, circuit isolation, onion services and typing.
Security
hypertor's threat model: what the design protects against, what it deliberately does not, and why.