This is a proxy which adds CORS headers to the proxied request.
Because there is a limit to the number of requests that can be processed per day, I recommend that you fork the repository and host it yourself with Deno deploy.
Furthermore, the server may be shut down without notice.
Now cors-proxy-server is hosted on Deno Deploy free plan.
The limitation is 100,000 requests per day.
Specify the URL you wish to request in the quest
query parameter.
Then, cors-proxy-server a returns response with
access-control-allow-origin": *
header.
https://9sako6-cors-proxy-server.deno.dev?quest=<URL>
Notes:
- Only GET method is allowed
- Response specified by URL must return HTML
Request examples:
https://9sako6-cors-proxy-server.deno.dev?quest=https://www.google.com
https://9sako6-cors-proxy-server.deno.dev?quest=https://github.com
A Docker image is available to start the server. The server runs on
http://localhost:8000/
by the following command.
docker run -p 8000:8000 ghcr.io/9sako6/cors-proxy-server:latest
To authenticate to the Container registry (ghcr.io
), please see the following
documentation.