{"id":19493505,"url":"https://github.com/zekfad/dev-mirror","last_synced_at":"2026-06-15T17:31:54.135Z","repository":{"id":132516311,"uuid":"409764232","full_name":"Zekfad/dev-mirror","owner":"Zekfad","description":"Simple mirror/CORS proxy written in Dart with headers spoofing.","archived":false,"fork":false,"pushed_at":"2025-05-07T12:28:55.000Z","size":32,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T13:33:35.628Z","etag":null,"topics":["authentication","cors","cors-proxy","dart","http-proxy","mirror","mitm","proxy"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/Zekfad.png","metadata":{"files":{"readme":"ReadMe.md","changelog":"CHANGELOG.md","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":"2021-09-23T22:48:07.000Z","updated_at":"2025-05-07T12:28:59.000Z","dependencies_parsed_at":"2024-11-10T21:27:19.718Z","dependency_job_id":"373139a1-0917-4f5d-a289-bb14674bd491","html_url":"https://github.com/Zekfad/dev-mirror","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Zekfad/dev-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zekfad%2Fdev-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zekfad%2Fdev-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zekfad%2Fdev-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zekfad%2Fdev-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zekfad","download_url":"https://codeload.github.com/Zekfad/dev-mirror/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zekfad%2Fdev-mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34374146,"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-15T02:00:07.085Z","response_time":63,"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":["authentication","cors","cors-proxy","dart","http-proxy","mirror","mitm","proxy"],"created_at":"2024-11-10T21:26:12.696Z","updated_at":"2026-06-15T17:31:54.128Z","avatar_url":"https://github.com/Zekfad.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dev-mirror\n\nSimple mirror (proxy) server for private APIs testing.\nIt will help you to keep private credentials out of build artifacts.\n\n## Features\n\n* Remote server authentication.\n* Local server authentication.\n* Referrer spoofing (pretend that request came from target origin).\n* CORS bypass.\n* HTTP proxy support.\n* Adds `Access-Control-Expose-Headers` to allow browser inspect headers.\n* Debug TLS connections via `SSLKEYLOGFILE`.\n\n## Usage\n\n### From console\n\nYou only need to provide `REMOTE_URI` and optionally `LOCAL_URI` (defaults to\n`http://127.0.0.1:8080`)\n\n```shell\nREMOTE_URI=http://localhost:8080/\nLOCAL_URI=http://127.0.0.1:8081/\n```\n\n### Via config (`.env` file)\nUse environmental variables or `.env` file in working directory or pass it's\nlocation as first argument:\n\n```dotenv\n## Remote HTTP(S) server\n\n# Remote server URI (preferred)\nREMOTE_URI = https://username:pa$$w0rd@example.com:443/\n\n# Or exploded URI\nSERVER_SCHEME = https\nSERVER_HOST = example.com\nSERVER_PORT = 443\n# Remote server HTTP Basic auth (optional)\nREMOTE_USERNAME = user\nREMOTE_PASSWORD = passw0rd\n\n## Local HTTP server\n\n# Local server URI (preferred)\nLOCAL_URI = http://user:passw0rd@127.0.0.1:8080/\n# Or exploded URI\nLOCAL_HOST = 127.0.0.1\nLOCAL_PORT = 8080\n# Local server HTTP Basic auth (optional)\nLOCAL_USERNAME = user\nLOCAL_PASSWORD = passw0rd\n\n# HTTP proxy (optional)\nHTTP_PROXY = http://username:pa$$w0rd@example.com:1337/\n```\n\n## Notes\n\nKeep in mind that if you have local server authentication, you won't be able\nto send authentication details to a remote server through a mirror.\n\nThat means that configuration in which a remote server requires authentication\nand a mirror has no remote credentials but has local authentication is invalid.\nTo fix this, add remote credentials (recommended), or disable local\nauthentication.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzekfad%2Fdev-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzekfad%2Fdev-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzekfad%2Fdev-mirror/lists"}