{"id":26898583,"url":"https://github.com/tianlangstudio/bigquery_proxy","last_synced_at":"2026-05-03T06:36:10.709Z","repository":{"id":228587565,"uuid":"622880278","full_name":"TianLangStudio/bigquery_proxy","owner":"TianLangStudio","description":"Support CORS and simplify front-end use of #bigquery","archived":false,"fork":false,"pushed_at":"2023-04-04T02:41:39.000Z","size":348,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T05:48:06.051Z","etag":null,"topics":["actix-web","async","bigdata","bigquery","cors","gcp","log4rs","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TianLangStudio.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}},"created_at":"2023-04-03T08:51:31.000Z","updated_at":"2023-04-03T15:19:54.000Z","dependencies_parsed_at":"2024-03-19T15:03:56.114Z","dependency_job_id":"05c5ed0f-e4de-43a0-8518-2dd6746b2353","html_url":"https://github.com/TianLangStudio/bigquery_proxy","commit_stats":null,"previous_names":["tianlangstudio/bigquery_proxy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TianLangStudio/bigquery_proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianLangStudio%2Fbigquery_proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianLangStudio%2Fbigquery_proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianLangStudio%2Fbigquery_proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianLangStudio%2Fbigquery_proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TianLangStudio","download_url":"https://codeload.github.com/TianLangStudio/bigquery_proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianLangStudio%2Fbigquery_proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32560844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T03:21:47.309Z","status":"ssl_error","status_checked_at":"2026-05-03T03:21:43.884Z","response_time":103,"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":["actix-web","async","bigdata","bigquery","cors","gcp","log4rs","rust"],"created_at":"2025-04-01T05:48:07.788Z","updated_at":"2026-05-03T06:36:10.694Z","avatar_url":"https://github.com/TianLangStudio.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BigQuery Proxy \r\n\r\n- support CORS \r\n- support execute multi query concurrence \r\n- support set google service account key by env GCP_SA_KEY  \r\n![set env GCP_SA_KEY](./imgs/bigquery_proxy_support_env_sa_key.png)  \r\n\r\n## How to run \r\n```bash\r\n    git clone https://github.com/TianLangStudio/bigquery_proxy\r\n    cd bigquery_proxy  \r\n```\r\nset your Google Account Service file path in .cargo/config.toml \r\n```toml\r\n[env]\r\n# set google service account file path there, you can override it by env if force set false\r\nGCP_SA_KEY = { value = \"D:\\\\your\\\\google\\\\service\\\\account\\\\key\\\\there.json\", force = false }\r\n``` \r\n\r\n\r\nrun test \r\n```bash\r\ncargo test tests::test_bigquery_query \r\n```\r\nrun\r\n```bash\r\ncargo run\r\n```\r\n\r\nquery param e.g.  \r\n```json\r\n  {\r\n     \"queryName1\":\"select 1 as c\",\r\n     \"queryName2\":\"SELECT count(1) as c FROM `bigquery-public-data.bls.not_exists_table`\"\r\n  }\r\n```\r\n\r\nresponse json e.g.\r\n\r\n```json\r\n {\r\n  \"queryName1\": {\r\n    \"data\": [{\"c\": 1}]\r\n  },\r\n  \"queryName2\": {\r\n    \"err\": \"error message something like table not_exists_table is not exists\"\r\n  }\r\n}\r\n```  \r\n\r\n![run test screen shot](./imgs/bigquery_proxy_test_run.png)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftianlangstudio%2Fbigquery_proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftianlangstudio%2Fbigquery_proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftianlangstudio%2Fbigquery_proxy/lists"}