538 B
538 B
replacer
A reverse proxy that applies string replacements to response bodies. This was developed for Freak University's onion in order to replace clearnet links (such as images and the websocket URL) with onion links, ensuring that no clearnet requests are made to the site.
Usage
$ pip install -r requirements.txt
$ cp config.example.toml config.toml
$ # edit as necessary
$ ./replacer.py
$ # now configure your reverse proxy to proxy to replacer