{"id":21667400,"url":"https://github.com/cunkz/google-pubsub-nodejs","last_synced_at":"2026-05-11T04:54:53.231Z","repository":{"id":205758830,"uuid":"459540301","full_name":"cunkz/google-pubsub-nodejs","owner":"cunkz","description":"Example using Google Pub/Sub via NodeJS.","archived":false,"fork":false,"pushed_at":"2022-02-19T13:21:09.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T07:13:33.745Z","etag":null,"topics":["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}},"created_at":"2022-02-15T10:58:50.000Z","updated_at":"2022-02-15T11:05:35.000Z","dependencies_parsed_at":"2023-11-06T11:04:25.136Z","dependency_job_id":null,"html_url":"https://github.com/cunkz/google-pubsub-nodejs","commit_stats":null,"previous_names":["cunkz/google-pubsub-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cunkz/google-pubsub-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunkz%2Fgoogle-pubsub-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunkz%2Fgoogle-pubsub-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunkz%2Fgoogle-pubsub-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunkz%2Fgoogle-pubsub-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cunkz","download_url":"https://codeload.github.com/cunkz/google-pubsub-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunkz%2Fgoogle-pubsub-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32882110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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":["google","google-cloud-platform","nodejs","pubsub"],"created_at":"2024-11-25T11:37:53.327Z","updated_at":"2026-05-11T04:54:53.217Z","avatar_url":"https://github.com/cunkz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Pub/Sub NodeJS Example\n\nThis repository contains examples of using Google Pub/Sub via NodeJS.\n\n## Usage \u0026 Installation\n\nFirst, create Service Account that can access Google Pub/Sub (ex Role : Pub/Sub Admin) via Google IAM. You can continue to create new key using that service account and download it.\n\nAfter you got the key, run this following command to install requirement NodeJS module :\n```bash\nnpm install\n```\n\nAfter NodeJS module successfully installed, copy `.env.example` file into `.env` and fill value for each environment variable.\n\nThen, execute file `subsriber.js` to create new topic and subscription based `.env` configuration. Open new terminal, execute file `publisher.js` to submit single message into your topic and watch first terminal to check if message has been received.\n\n## Additional Information\n\nIf you want to transfer message from pubsub into firestore, maybe you can check [this repository](https://github.com/cunkz/google-cloud-function-pubsub-to-firestore)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcunkz%2Fgoogle-pubsub-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcunkz%2Fgoogle-pubsub-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcunkz%2Fgoogle-pubsub-nodejs/lists"}