Dead simple HTTP proxy for regex substitution of content in HTML pages.
make build- build for the current platformmake build-arm- cross compile for ARM (Raspberry Pi for example)
./reproxy -b '0.0.0.0:8000' -f conf.yaml
The YAML config file has the following content:
substitutions:
- pattern: "[123]foo"
replace_with: "bar"
- pattern: "baz"
replace_with: "qux"
replace_with may contain references to groups in the pattern as described in the regex documentation.