{"id":43270579,"url":"https://github.com/treeder/reverse-proxy","last_synced_at":"2026-02-01T15:41:31.475Z","repository":{"id":273598250,"uuid":"920196017","full_name":"treeder/reverse-proxy","owner":"treeder","description":"A simple, modern JavaScript reverse-proxy that has no dependencies and only uses the JavaScript standard library.  Works on all major JS platforms.","archived":false,"fork":false,"pushed_at":"2025-01-31T21:29:44.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T22:26:17.218Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/treeder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-21T18:19:59.000Z","updated_at":"2025-01-31T21:40:21.000Z","dependencies_parsed_at":"2025-01-21T21:41:13.671Z","dependency_job_id":null,"html_url":"https://github.com/treeder/reverse-proxy","commit_stats":null,"previous_names":["treeder/reverse-proxy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/treeder/reverse-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeder%2Freverse-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeder%2Freverse-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeder%2Freverse-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeder%2Freverse-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/treeder","download_url":"https://codeload.github.com/treeder/reverse-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeder%2Freverse-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28981455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T15:35:50.179Z","status":"ssl_error","status_checked_at":"2026-02-01T15:35:38.075Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-02-01T15:41:31.419Z","updated_at":"2026-02-01T15:41:31.468Z","avatar_url":"https://github.com/treeder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reverse-proxy\n\nA simple, modern JavaScript reverse-proxy that has no dependencies and only uses the JavaScript standard library.\n\nAlso works for all major JS platforms. \n\n## Set destination URL in environment\n\n```\nPROXY_URL=https://wherever.com\nPROXY_KEY=SOME_SECRET_STRING\n```\n\nIf you have the `PROXY_KEY` set (optional), then the request must include one of the following\nthat matches:\n\n- `X-Proxy-Key` header\n- `proxyKey` query param\n\n## Node\n\n```sh\nnode --env-file=.env node.js\n```\n\n## Bun\n\n```sh\nNODE_TLS_REJECT_UNAUTHORIZED=0 bun bun.js\n```\n\n## Cloudflare workers\n\nTODO: make docs for this.\n\nUse `worker.js`\n\n## To run on a VPS and have it run forever\n\nInstall [pm2](https://github.com/Unitech/pm2):\n\n```sh\nnpm install -g pm2\n```\n\nThen start this with:\n\n```sh\npm2 start node.js\n```\n\nTo run it with bun:\n\n```sh\npm2 start --interpreter ~/.bun/bin/bun bun.js\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreeder%2Freverse-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreeder%2Freverse-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreeder%2Freverse-proxy/lists"}