Skip to content

A simple reverse proxy and HTTP traffic inspector for local development

License

Notifications You must be signed in to change notification settings

martydill/Proxymystuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy My Stuff

A lightweight Go reverse proxy and traffic inspector. Here's an example of pointing Claude Code at it:

image

Running

go run .

Then open the UI at:

http://localhost:8080/ui/

Configure the target

Pick one of the following options per request:

  • Header: X-Proxy-Target: https://example.com
  • Query parameter: ?target=https://example.com
  • Path: /proxy/<url-encoded-target>
  • Default target: go run . --default-target https://example.com

Examples:

curl -H "X-Proxy-Target: https://httpbin.org" http://localhost:8080/anything
curl "http://localhost:8080/anything?target=https://httpbin.org"
curl "http://localhost:8080/proxy/https%3A%2F%2Fhttpbin.org%2Fanything"

About

A simple reverse proxy and HTTP traffic inspector for local development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors