{"id":28576356,"url":"https://github.com/google-pay/littlebear-web-push-provisioning","last_synced_at":"2025-06-10T23:40:17.626Z","repository":{"id":72496804,"uuid":"311766704","full_name":"google-pay/littlebear-web-push-provisioning","owner":"google-pay","description":"Sample code demonstrating how to call the Google Pay Web Push Provisioning API.","archived":false,"fork":false,"pushed_at":"2024-05-01T21:55:07.000Z","size":82,"stargazers_count":8,"open_issues_count":6,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-05-02T15:15:33.053Z","etag":null,"topics":["google-pay","issuer","payments"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/google-pay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"publiccode":null,"codemeta":null}},"created_at":"2020-11-10T19:43:29.000Z","updated_at":"2023-10-04T16:58:41.000Z","dependencies_parsed_at":"2024-05-01T23:08:17.365Z","dependency_job_id":"79ccd75b-afba-4d81-b60c-9916be9f7f7d","html_url":"https://github.com/google-pay/littlebear-web-push-provisioning","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-pay%2Flittlebear-web-push-provisioning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-pay%2Flittlebear-web-push-provisioning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-pay%2Flittlebear-web-push-provisioning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-pay%2Flittlebear-web-push-provisioning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google-pay","download_url":"https://codeload.github.com/google-pay/littlebear-web-push-provisioning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-pay%2Flittlebear-web-push-provisioning/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259172148,"owners_count":22816514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-pay","issuer","payments"],"created_at":"2025-06-10T23:40:15.362Z","updated_at":"2025-06-10T23:40:17.615Z","avatar_url":"https://github.com/google-pay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Little Bear Web Push Provisioning Node.js Sample\n\nThis project demonstrates how to use the\n[Google Pay Web Push Provisioning API](https://developers.google.com/pay/issuers/apis/push-provisioning/web).\n\n\n## Prerequisites\n* [NodeJS](https://nodejs.org/en/download/)\n* [Google Cloud SDK](https://cloud.google.com/sdk/) (aka gcloud) if you wish to test on a Google App Engine instance\n* A front end gateway to handle TLS termination (either Google App Engine or your own solution)\n* Add the [integration.min.js](https://developers.google.com/pay/issuers/apis/push-provisioning/web/downloads/integration.min.js) file\nprovided on the [Google Pay Web Push Provisioning](https://developers.google.com/pay/issuers/apis/push-provisioning/web) developer site\nto the `public/` folder.\n\n## Running the server\n1. In the project directory, run `npm install` to install dependencies.\n2. Set up your keys in the project directory as follows. Add your ASCII armored PGP keys to the top level of the project directory in files named private.key and public.key. Then, add your private key passphrase to passphrase.txt.\n3. Set the PIAID constant in server.js. Google will provide you with your PIAID during the PGP key exchange process.\n4. In the project directory, run one of the following commands:\n\n  * `node server.js` to run the code locally\n  * `gcloud app deploy` run it on a pre-configured AppEngine instance","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle-pay%2Flittlebear-web-push-provisioning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle-pay%2Flittlebear-web-push-provisioning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle-pay%2Flittlebear-web-push-provisioning/lists"}