Bypass CDNs' request blocks on image endpoints by using this program to proxy the endpoint URL to a server that is able to successfully execute the request and return the valid response back. This will be particularly useful if you're working with platforms like Discord that are usually not able to display images via endpoint URLs because of user agent blocks on the endpoints themselves.
- Install Go and setup the environment.
- Clone this repository.
- Install the Mux module to get a server up and running via
go get. - Start the server by running the
go run .command. - If you'd wish to create a compiled binary of this program, you can do so by running the
go build .command. - Once the program starts, head over to
http://localhost/proxy?url=URLto ping the server and proxy the endpoint.