{"id":18046692,"url":"https://github.com/ltla/simple-cors-proxy","last_synced_at":"2025-04-05T04:25:05.899Z","repository":{"id":82716854,"uuid":"465996279","full_name":"LTLA/simple-cors-proxy","owner":"LTLA","description":"Simple CORS proxy for GETting in web apps","archived":false,"fork":false,"pushed_at":"2023-03-09T21:39:14.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T12:29:47.554Z","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/LTLA.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}},"created_at":"2022-03-04T05:37:15.000Z","updated_at":"2022-03-04T05:37:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1f7b5af-cf56-4e4a-9e3a-353f2d2e29c3","html_url":"https://github.com/LTLA/simple-cors-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/LTLA%2Fsimple-cors-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LTLA%2Fsimple-cors-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LTLA%2Fsimple-cors-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LTLA%2Fsimple-cors-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LTLA","download_url":"https://codeload.github.com/LTLA/simple-cors-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247288365,"owners_count":20914351,"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-10-30T19:08:31.865Z","updated_at":"2025-04-05T04:25:05.868Z","avatar_url":"https://github.com/LTLA.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple CORS proxy\n\nA very simple CORS proxy to `GET` various things without having to worry about... well, CORS.\nThe original aim as to retrieve files and such from GitHub (e.g., Artifacts and what-have-you);\nspecifically, this was created to support the [**kana**](https://github.com/jkanche/kana) application, to allow it to grab stuff from GitHub for free.\n\nUsage is very simple: hit the endpoint with an encoded URI and the proxy will do a `fetch`, passing back the contents and the content type.\nFor example:\n\n```js\nlet base = \"https://cors-proxy.aaron-lun.workers.dev\";\nlet target = \"https://github.com/LTLA/singlepp-references/releases/download/hs-latest/NovershternHematopoietic_matrix.csv.gz\";\nlet full = base + \"/\" + encodeURIComponent(target);\n\n// Get the full file.\nlet X = await fetch(full)\n\n// Range requests.\nlet X2 = await fetch(base + \"/\" + encodeURIComponent(target) + \"?start=100\u0026end=200\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fltla%2Fsimple-cors-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fltla%2Fsimple-cors-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fltla%2Fsimple-cors-proxy/lists"}