{"id":13676579,"url":"https://github.com/samuelcolvin/cloudflare-proxy","last_synced_at":"2025-04-19T18:59:11.205Z","repository":{"id":70758221,"uuid":"231627945","full_name":"samuelcolvin/cloudflare-proxy","owner":"samuelcolvin","description":"proxy requests using cloudflare worker, useful for webhooks fired to slow endpoints","archived":false,"fork":false,"pushed_at":"2020-04-01T18:10:43.000Z","size":12,"stargazers_count":18,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T23:36:58.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://proxy.samuelcolvin.workers.dev/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samuelcolvin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-01-03T16:48:26.000Z","updated_at":"2025-03-11T16:30:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"a9c37679-1f96-4d82-893f-3529d1335e17","html_url":"https://github.com/samuelcolvin/cloudflare-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcloudflare-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcloudflare-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcloudflare-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fcloudflare-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelcolvin","download_url":"https://codeload.github.com/samuelcolvin/cloudflare-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249239295,"owners_count":21235835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T13:00:29.957Z","updated_at":"2025-04-16T12:30:55.513Z","avatar_url":"https://github.com/samuelcolvin.png","language":"JavaScript","readme":"# cloudflare worker proxy\n\nProxy requests using a cloudflare worker, useful for webhooks fired to slow endpoints.\n\n[`https://proxy.samuelcolvin.workers.dev`](https://proxy.samuelcolvin.workers.dev) will proxy a request to the URL \nspecified by the `upstream` GET parameter.\n\nRequest `method`, `headers` and `body` will be forwarded unchanged if possible.\n\nThe function will return immediately, but the proxied request will continue for as long as possible, \nthis is useful when you want to fire a webhook to an endpoint which may take a long time to startup and respond.\nFor example a free-tier heroku dyno or google cloud function endpoint which is likely to be cold.\n\n## Usage\n\nMake a request with the `upstream` GET parameter providing the upstream url (using httpie):\n\n```bash\ncurl -v 'https://proxy.samuelcolvin.workers.dev?upstream=https://www.example.com'\n```\n\n## To publish\n\n```bash\nwrangler publish\n```\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelcolvin%2Fcloudflare-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelcolvin%2Fcloudflare-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelcolvin%2Fcloudflare-proxy/lists"}