{"id":37151036,"url":"https://github.com/gootsolution/pushbell","last_synced_at":"2026-01-14T17:50:49.606Z","repository":{"id":253002913,"uuid":"788443090","full_name":"gootsolution/pushbell","owner":"gootsolution","description":"pushbell is a Go library for sending web push notifications with support for the VAPID (Voluntary Application Server Identification) specification.","archived":false,"fork":false,"pushed_at":"2025-04-01T10:42:18.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T11:32:26.453Z","etag":null,"topics":["go","vapid","webpush"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gootsolution.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2024-04-18T12:31:01.000Z","updated_at":"2025-04-01T10:42:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"7319dd71-38b8-402f-82dc-70c02d92313b","html_url":"https://github.com/gootsolution/pushbell","commit_stats":null,"previous_names":["gootsolution/pushbell"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/gootsolution/pushbell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gootsolution%2Fpushbell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gootsolution%2Fpushbell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gootsolution%2Fpushbell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gootsolution%2Fpushbell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gootsolution","download_url":"https://codeload.github.com/gootsolution/pushbell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gootsolution%2Fpushbell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28428958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","vapid","webpush"],"created_at":"2026-01-14T17:50:49.128Z","updated_at":"2026-01-14T17:50:49.591Z","avatar_url":"https://github.com/gootsolution.png","language":"Go","readme":"# pushbell\n\n![GitHub Release](https://img.shields.io/github/v/release/gootsolution/pushbell)\n![GitHub License](https://img.shields.io/github/license/gootsolution/pushbell)\n![Go Report Card](https://goreportcard.com/badge/github.com/gootsolution/pushbell)\n[![Lint \u0026 Test](https://github.com/gootsolution/pushbell/actions/workflows/lint-and-test.yml/badge.svg)](https://github.com/gootsolution/pushbell/actions/workflows/lint-and-test.yml)\n\npushbell is a Go library for sending web push notifications with support\nfor the VAPID (Voluntary Application Server Identification) specification.\n\n## Features\n\n- Full implementation of the [encryption](https://datatracker.ietf.org/doc/html/rfc8291)\n  and [Web Push](https://datatracker.ietf.org/doc/html/rfc8030) specification,\n  including [VAPID](https://datatracker.ietf.org/doc/html/rfc8292).\n- Support for multiple push services (Firefox, Chrome, etc.).\n- Use [fasthttp](https://github.com/valyala/fasthttp) client.\n- Simple and intuitive API.\n\n## Installation\n\n```shell\ngo get -u github.com/gootsolution/pushbell\n```\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"github.com/gootsolution/pushbell\"\n)\n\nfunc main() {\n\tapplicationServerPrivateKey := \"QxfAyO5dMMrSvDT2_xHxW5aktYPWGE_hT42RKlHilpQ\"\n\tapplicationServerPublicKey := \"BIRM67G3W1fva-ephDo220BbiaOOy-SBk2uzHsmlqMXp_OmkKxYW96cOK5EWnKdkLg2i7N4FYfuxIwm7JWThVSY\"\n\n\topts := pushbell.NewOptions().ApplyKeys(applicationServerPublicKey, applicationServerPrivateKey)\n\n\tpb, err := pushbell.NewService(opts)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tsubscriptionEndpoint := \"https://fcm.googleapis.com/fcm/send/e2CN0r8ft38:APA91bES3NaBHe_GgsRp_3Ir7f18L38wA5XYRoqZCbjMPEWnkKa07uxheWE5MGZncsPOr0_34zLaFljVqmNqW76KhPSrjdy_pdInnHPEIYAZpdcIYk8oIfo1F_84uKMSqIDXRhngL76S\"\n\tsubscriptionAuth := \"rm_owGF0xliyVXsrZk1LzQ\"\n\tsubscriptionP256DH := \"BKm5pKbGwkTxu7dJuuLyTCBOCuCi1Fs01ukzjUL5SEX1-b-filqeYASY6gy_QpPHGErGqAyQDYAtprNWYdcsM3Y\"\n\n\tmessage := []byte(\"{\\\"title\\\": \\\"My first message\\\"}\")\n\n\terr = pb.Send(\u0026pushbell.Push{\n\t\tEndpoint:  subscriptionEndpoint,\n\t\tAuth:      subscriptionAuth,\n\t\tP256DH:    subscriptionP256DH,\n\t\tPlaintext: message,\n\t})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n}\n\n```\n\n**NOTE:** You can use [this](https://gootsolution.github.io/pushbell/) to play around and make tests without your\nservice workers.\n\n## Documentation\n\nDetailed API documentation is available on [pkg.go.dev](https://pkg.go.dev/github.com/gootsolution/pushbell).\n\n## License\n\nThis project is distributed under the MIT License.\n\n## Support and Contributing\n\nIf you have any questions, issues, or suggestions, please create an issue in this repository. Pull requests with fixes\nand improvements are also welcome.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgootsolution%2Fpushbell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgootsolution%2Fpushbell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgootsolution%2Fpushbell/lists"}