Go to file
Alexander "PapaTutuWawa 5e517f1370
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
feat: Add CI
2022-09-18 14:00:36 +02:00
.woodpecker.yml feat: Add CI 2022-09-18 14:00:36 +02:00
go.mod Initial commit 2021-09-15 15:25:23 +02:00
go.sum Initial commit 2021-09-15 15:25:23 +02:00
LICENSE docs: Add license and readme 2021-09-15 15:30:06 +02:00
main.go Initial commit 2021-09-15 15:25:23 +02:00
Readme.md docs: Add license and readme 2021-09-15 15:30:06 +02:00

miniproxy

A very simple HTTP proxy with HMAC authentication.

Usage

Configure the proxy via config.toml at either the current working directory or /etc/miniproxy/config.toml:

port = 8080 # The port to run on
secret = "HelloWorld" # The secret for performing the HMAC calculation

You can then use http://<ip>:<port>/proxy/<HMAC>/<URL> to aquire <URL> using the proxy. Note that both the HMAC must be base64 encoded and then URL encoded. The <URL> must also be URL encoded. The URL encoding must also apply to the slash character ("/").

License

See ./LICENSE