Skip to content

tobgu/reproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regex substitution proxy

Dead simple HTTP proxy for regex substitution of content in HTML pages.

Building

  • make build - build for the current platform
  • make build-arm - cross compile for ARM (Raspberry Pi for example)

Running

./reproxy -b '0.0.0.0:8000' -f conf.yaml

Confguration

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.

About

Dead simple HTTP proxy with regex content replacement

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors