Kay Faraday dd3b20bbae | ||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
config.example.toml | ||
replacer.py | ||
requirements.txt | ||
utils.py |
README.md
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