{"id":16463328,"url":"https://github.com/dptole/chrome-push-notification","last_synced_at":"2026-04-17T08:05:23.827Z","repository":{"id":80246577,"uuid":"95489581","full_name":"dptole/chrome-push-notification","owner":"dptole","description":"Sample code for chrome push notifications.","archived":false,"fork":false,"pushed_at":"2024-03-25T21:12:46.000Z","size":51,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T10:37:33.045Z","etag":null,"topics":["chrome","fcm-notifications","gcm","nodejs","notification","push"],"latest_commit_sha":null,"homepage":null,"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/dptole.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":"2017-06-26T21:07:11.000Z","updated_at":"2024-08-14T09:23:51.000Z","dependencies_parsed_at":"2025-02-27T08:51:55.980Z","dependency_job_id":"477b469f-36cc-4a57-9918-7f19e2088453","html_url":"https://github.com/dptole/chrome-push-notification","commit_stats":{"total_commits":34,"total_committers":1,"mean_commits":34.0,"dds":0.0,"last_synced_commit":"6315f26aff14733dfd37a0d9b7707a34c050aabf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dptole/chrome-push-notification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dptole%2Fchrome-push-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dptole%2Fchrome-push-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dptole%2Fchrome-push-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dptole%2Fchrome-push-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dptole","download_url":"https://codeload.github.com/dptole/chrome-push-notification/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dptole%2Fchrome-push-notification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","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":["chrome","fcm-notifications","gcm","nodejs","notification","push"],"created_at":"2024-10-11T11:14:08.956Z","updated_at":"2026-04-17T08:05:23.783Z","avatar_url":"https://github.com/dptole.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Chrome push notifications\n=========================\n\nSample code for chrome push notifications.\n\nCreate your project here\n========================\n\nClick [here][gc-project] to create your project.\n\nGet your api key and sender id\n==============================\n\nImport your recently created project to the firebase google console.\n\nClick [here][fc-project] to open the console where you should be able to get your api key.\n\n\u003e Replace the URL so it looks like this https://console.firebase.google.com/project/NAME_OF_YOUR_PROJECT/settings/cloudmessaging/?hl=en\n\nThe `api_key` is named `Server key` (which is the longer one) and the `sender_id` is named `Sender ID`, easy peasy lemon squeezy.\n\nGet the google news api key\n===========================\n\nJust create your account and grab the generated API key.\n\n[News API documentation][gnews-documentation]\n\nCreate your `env.json`\n======================\n\nCopy the file `env.example.json` renaming it to `env.json`. Replace the fields `gcm_sender_id`, `google_news_api_key` and `api_key` with the information found on the previous steps.\n\nDemo\n====\n\nClick the image below.\n\n[![Demo][ngrok-image]][ngrok-far]\n\n[ngrok-far]: https://dptole.ngrok.io/chrome_push_notification/\n[ngrok-image]: https://ngrok.com/static/img/demo.png\n[gc-project]: https://console.cloud.google.com/projectcreate?previousPage=%2Fprojectselector%2Fiam-admin%2Fsettings\u0026organizationId=0\n[fc-project]: https://console.firebase.google.com/project/\n[gnews-documentation]: https://newsapi.org/#documentation\n[gnews-login]: https://newsapi.org/login\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdptole%2Fchrome-push-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdptole%2Fchrome-push-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdptole%2Fchrome-push-notification/lists"}