{"id":50779959,"url":"https://github.com/requestly/interceptor-amiusing","last_synced_at":"2026-06-12T02:30:40.061Z","repository":{"id":358605970,"uuid":"430039304","full_name":"requestly/interceptor-amiusing","owner":"requestly","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-18T05:48:35.000Z","size":166,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-05-30T08:27:59.695Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/requestly.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-11-20T07:35:38.000Z","updated_at":"2026-05-26T12:23:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/requestly/interceptor-amiusing","commit_stats":null,"previous_names":["requestly/amiusing","requestly/interceptor-amiusing"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/requestly/interceptor-amiusing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requestly%2Finterceptor-amiusing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requestly%2Finterceptor-amiusing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requestly%2Finterceptor-amiusing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requestly%2Finterceptor-amiusing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/requestly","download_url":"https://codeload.github.com/requestly/interceptor-amiusing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requestly%2Finterceptor-amiusing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34226629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-06-12T02:30:39.494Z","updated_at":"2026-06-12T02:30:40.056Z","avatar_url":"https://github.com/requestly.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# amiusing.requestly.io\n\nA Cloudflare Worker that tells the user whether their traffic is currently flowing through the Requestly desktop proxy.\n\nThe Requestly desktop proxy injects an `amiusingrequestly: true` request header on every outbound request to `amiusing.requestly.io`. This Worker reads that header on receipt and returns one of two inline pages:\n\n- `success.html` — shown when the header is present (i.e. the user IS being proxied).\n- `failure.html` — shown otherwise.\n\n## Local development\n\n```bash\nnpm install\nnpx wrangler dev\n```\n\nThen in another terminal:\n\n```bash\n# No header → No page\ncurl -i http://127.0.0.1:8787/\n\n# With header → Yes page\ncurl -i -H 'amiusingrequestly: true' http://127.0.0.1:8787/\n```\n\n## Deploy\n\nOne-time setup:\n\n```bash\nnpx wrangler login\n```\n\nStaging (before cutover):\n\n```bash\nnpm run deploy:staging\n```\n\nProduction:\n\n```bash\nnpm run deploy\n```\n\nRoutes are configured per-deploy via the `--route` flag in the npm scripts (see `package.json`). Adjust `wrangler.toml` if you prefer to pin routes there.\n\n## Cloudflare configuration\n\nFor HTTP to work end-to-end (the proxy-test docs reference `http://amiusing.requestly.io` because the desktop proxy MITM only works over HTTPS once the Requestly CA is trusted), the following must be set on the `amiusing.requestly.io` hostname in Cloudflare:\n\n- **Configuration Rule** scoped to `amiusing.requestly.io`: `Always Use HTTPS = Off`.\n- HSTS not enabled for this hostname. The Worker also emits `Strict-Transport-Security: max-age=0` as belt-and-suspenders.\n\nThe site-wide HTTPS setting on `requestly.io` stays untouched.\n\n## Response headers\n\nEvery response from the Worker sets:\n\n- `content-type: text/html; charset=utf-8`\n- `cache-control: no-store` — a cached \"No\" must not survive a later interception.\n- `strict-transport-security: max-age=0` — keep `http://` from being auto-upgraded.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frequestly%2Finterceptor-amiusing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frequestly%2Finterceptor-amiusing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frequestly%2Finterceptor-amiusing/lists"}