{"id":21667404,"url":"https://github.com/cunkz/google-cloud-function-pubsub-to-firestore","last_synced_at":"2026-04-20T05:02:25.596Z","repository":{"id":205758829,"uuid":"459578320","full_name":"cunkz/google-cloud-function-pubsub-to-firestore","owner":"cunkz","description":"Function for Google Cloud Function to CRUD from Pub/Sub to Firestore","archived":false,"fork":false,"pushed_at":"2022-02-15T12:56:34.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T07:13:30.945Z","etag":null,"topics":["cloud-function","firebase","firestore","google","google-cloud-platform","nodejs","pubsub"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/cunkz.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":"2022-02-15T12:55:30.000Z","updated_at":"2022-02-15T12:57:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd1473a9-3c01-4be2-8346-c1bdcec01bf5","html_url":"https://github.com/cunkz/google-cloud-function-pubsub-to-firestore","commit_stats":null,"previous_names":["cunkz/google-cloud-function-pubsub-to-firestore"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cunkz/google-cloud-function-pubsub-to-firestore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunkz%2Fgoogle-cloud-function-pubsub-to-firestore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunkz%2Fgoogle-cloud-function-pubsub-to-firestore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunkz%2Fgoogle-cloud-function-pubsub-to-firestore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunkz%2Fgoogle-cloud-function-pubsub-to-firestore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cunkz","download_url":"https://codeload.github.com/cunkz/google-cloud-function-pubsub-to-firestore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunkz%2Fgoogle-cloud-function-pubsub-to-firestore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32033717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["cloud-function","firebase","firestore","google","google-cloud-platform","nodejs","pubsub"],"created_at":"2024-11-25T11:37:56.139Z","updated_at":"2026-04-20T05:02:25.563Z","avatar_url":"https://github.com/cunkz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Cloud Function for Pub/Sub to Firestore\n\nThis repository contains function for Google Cloud Function to transfer message from Pub/Sub to Firestore\n\n## Usage\n\nFirst, add new Google Cloud Function, then choose your Pub/Sub topic for trigger. \nAfter that, choose NodeJS runtime. Create file index.js and package.json based on this repository. \nDon't forget to insert \"migratePubSub\" for function to be called later.\n\n## Additional Information\n\nIn migratePubSub function, we use flag \"_delete\" to split message which for upsert or delete. Example data :\n```JSON\n{\n \"id\": \"lorem\",\n \"label\": \"ipsum\",\n \"_delete\": true\n}\n```\n\nAnd if you want to remid about pub/sub, maybe you can execute publisher and subscriber from [this repository](https://github.com/cunkz/google-pubsub-nodejs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcunkz%2Fgoogle-cloud-function-pubsub-to-firestore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcunkz%2Fgoogle-cloud-function-pubsub-to-firestore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcunkz%2Fgoogle-cloud-function-pubsub-to-firestore/lists"}