{"id":25715978,"url":"https://github.com/3ru/rails-api-template-gcp","last_synced_at":"2026-06-13T12:03:40.089Z","repository":{"id":149441506,"uuid":"330671232","full_name":"3ru/rails-api-template-gcp","owner":"3ru","description":"Template file for rails api which can upload image to GCP cloud ","archived":false,"fork":false,"pushed_at":"2021-01-21T04:23:19.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T14:49:46.260Z","etag":null,"topics":["gcp-cloud-functions","ruby","templates"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/3ru.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":"2021-01-18T13:15:07.000Z","updated_at":"2023-04-16T08:19:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"06c359bf-874a-4b01-a0d2-1d41a1bba798","html_url":"https://github.com/3ru/rails-api-template-gcp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/3ru/rails-api-template-gcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ru%2Frails-api-template-gcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ru%2Frails-api-template-gcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ru%2Frails-api-template-gcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ru%2Frails-api-template-gcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3ru","download_url":"https://codeload.github.com/3ru/rails-api-template-gcp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ru%2Frails-api-template-gcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34283391,"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-13T02:00:06.617Z","response_time":62,"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":["gcp-cloud-functions","ruby","templates"],"created_at":"2025-02-25T14:40:07.544Z","updated_at":"2026-06-13T12:03:40.081Z","avatar_url":"https://github.com/3ru.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Upload image to gcp clound storage by using rails api\n\n1. make api key and put it on `/app/key/[gcpkey.json]`  \n  (ofc, no key file in this repository)\n\n2. Uncomment out the GCP section.  \n   (Since there is no storage.yml in this repository, u need to create it `config/storage.yml`)\n  ```\n  google:\n    service: GCS\n    project: hoge\n    credentials: \u003c%= Rails.root.join(\"./key/gcpkey.json\") %\u003e\n    bucket: hoge\n  ```\n\n\n\n- Can also switch to saving to local.\n```\n  - config.active_storage.service = :google\n  + config.active_storage.service = :local\n```\n\n### Prob\n- Cannot be saved at the same time as normal data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3ru%2Frails-api-template-gcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3ru%2Frails-api-template-gcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3ru%2Frails-api-template-gcp/lists"}