{"id":18649849,"url":"https://github.com/ashwanthkumar/gcloud-proxy-cors","last_synced_at":"2026-02-19T12:32:45.858Z","repository":{"id":140450075,"uuid":"276828473","full_name":"ashwanthkumar/gcloud-proxy-cors","owner":"ashwanthkumar","description":"Nginx based reverse proxy for accessing Google Cloud Service(s) with CORS Headers.","archived":false,"fork":false,"pushed_at":"2020-07-08T01:16:03.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T16:47:34.267Z","etag":null,"topics":["automl","cloud-resource-manager","cloud-storage","gcloud-proxy-cors","nginx-proxy"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/ashwanthkumar.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":"2020-07-03T06:47:14.000Z","updated_at":"2020-11-13T13:55:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"18696b55-fdeb-4eea-aa84-1bc7372b99ec","html_url":"https://github.com/ashwanthkumar/gcloud-proxy-cors","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ashwanthkumar/gcloud-proxy-cors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwanthkumar%2Fgcloud-proxy-cors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwanthkumar%2Fgcloud-proxy-cors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwanthkumar%2Fgcloud-proxy-cors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwanthkumar%2Fgcloud-proxy-cors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashwanthkumar","download_url":"https://codeload.github.com/ashwanthkumar/gcloud-proxy-cors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwanthkumar%2Fgcloud-proxy-cors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29613145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"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":["automl","cloud-resource-manager","cloud-storage","gcloud-proxy-cors","nginx-proxy"],"created_at":"2024-11-07T06:40:52.309Z","updated_at":"2026-02-19T12:32:45.823Z","avatar_url":"https://github.com/ashwanthkumar.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcloud-proxy-cors\n\nMany (or Most) Google Cloud Services doesn't have the right CORS Headers to be able to work from Browsers. May be for good reason that their Javascript client libraries doesn't work within browsers. This docker image contains necessary nginx configurations to setup reverse proxy over the necessary Google Cloud APIs. \n\nThe following services have been configured\n\n* [Auto ML](https://cloud.google.com/vision/automl/docs/create-datasets) - The actual REST API are documented as part of the How-to Guides.\n* [Cloud Storage](https://cloud.google.com/storage/docs/json_api)\n* [Cloud Resource Manager](https://cloud.google.com/resource-manager/reference/rest)\n\n## Usage\nCreate a folder to keep all the generated LetsEncrypt Certificates. \n```\nmkdir -p letsencrypt/\n```\n\nYou would need to configure the environment variables\n\n| Environment Variable | Description |\n| --- | --- |\n| `ORIGIN_CHECK_DOMAIN` | For security reasons, you need this variable to specify from which domain you would be making requests to these proxies. We don't return CORS Headers otherwise. |\n| `CERTBOT_EMAIL` | Email that would be associated with the certificates that are being generated. |\n| `CRM_FQDN` | Fully-qualified domain name that you're exposing the CloudResourceManager API Proxy. |\n| `AL_FQDN` | Fully-qualified domain name that you're exposing the AutoML API Proxy. |\n| `GS_FQDN` | Fully-qualified domain name that you're exposing the Google Cloud Storage API Proxy. |\n\n\nYou can then start the proxies using `docker run`.\n```\ndocker pull ashwanthkumar/gcloud-proxy-cors:latest\ndocker run --restart=unless-stopped -v \"$PWD/letsencrypt:/etc/letsencrypt\" -e 'ORIGIN_CHECK_DOMAIN=airtableblocks\\\\.com' -e \"CERTBOT_EMAIL=youremail@foo.in\" -e \"ENVSUBST_VARS=AL_FQDN GS_FQDN CRM_FQDN ORIGIN_CHECK_DOMAIN\" -e \"CRM_FQDN=cloudresourcemanager.foo.in\" -e \"AL_FQDN=automl.foo.in\" -e \"GS_FQDN=gs.foo.in\" -p \"80:80\" -p \"443:443\" ashwanthkumar/gcloud-proxy-cors:latest\n```\n\n## License\nPublic Domain\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwanthkumar%2Fgcloud-proxy-cors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashwanthkumar%2Fgcloud-proxy-cors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwanthkumar%2Fgcloud-proxy-cors/lists"}