{"id":31049334,"url":"https://github.com/captemulation/coc-api-proxy","last_synced_at":"2026-06-30T15:31:09.027Z","repository":{"id":147426459,"uuid":"51893807","full_name":"CaptEmulation/coc-api-proxy","owner":"CaptEmulation","description":"To help those who need to proxy Clash of Clans API due to CORS","archived":false,"fork":false,"pushed_at":"2016-02-17T04:26:42.000Z","size":3,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-14T21:53:13.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/CaptEmulation.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}},"created_at":"2016-02-17T04:10:48.000Z","updated_at":"2025-07-24T09:53:43.000Z","dependencies_parsed_at":"2023-05-03T06:05:04.554Z","dependency_job_id":null,"html_url":"https://github.com/CaptEmulation/coc-api-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CaptEmulation/coc-api-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptEmulation%2Fcoc-api-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptEmulation%2Fcoc-api-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptEmulation%2Fcoc-api-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptEmulation%2Fcoc-api-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaptEmulation","download_url":"https://codeload.github.com/CaptEmulation/coc-api-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptEmulation%2Fcoc-api-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34973543,"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-30T02:00:05.919Z","response_time":92,"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":"2025-09-14T21:52:48.509Z","updated_at":"2026-06-30T15:31:09.019Z","avatar_url":"https://github.com/CaptEmulation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\nTo help those who need to proxy Clash of Clans API due to CORS\n# Usage\n - Install [NodeJS](https://nodejs.org/en/download), if necessary.\n - Go to (https://developer.clashofclans.com) and register for a developer account, if necessary.\n - Create a new token with an IP that matches your IP.\n - Save the generated token\n - Clone this repo and CD into the directory.\n - Run `npm install` to install dependencies.\n - Run `COC_TOKEN={token from developer.clashofclans.com} npm start`\n \nBy default, the proxy will run on port 8080.  Use the `COC_PORT` env variable to change the port.\n\nNow, all requests to `localhost:8080` will proxy to (https://api.clashofclans.com) and will include the Authorization header and be CORS enabled.\n \n# WARNING\n\nThis app should be used to developer small demo apps utilizing the clash of clans API in the browser on your local machine only.  Using the service in production will expose your developer token for open use by ANYBODY.  This is for demostration and development purposes only.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptemulation%2Fcoc-api-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptemulation%2Fcoc-api-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptemulation%2Fcoc-api-proxy/lists"}