Skip to content

Repository files navigation

@block65/webcrypto-web-push

Send notifications using the Web Push Protocol and Web Crypto APIs.

This repository holds the package, its examples and its end to end tests. Installation and usage are documented in the package README.

Packages

Package Description
packages/web-push The published library
e2e Real browsers against their real push services

Examples

Example Description
examples/browser Vite and React app that subscribes to notifications
examples/cloudflare-workers Hono worker that stores subscriptions in D1
examples/nodejs Hono server that stores subscriptions in SQLite

Development

make          # build
make test     # typecheck, unit tests and smoketest
make e2e      # real browsers against real push services, see e2e/README.md
make lint     # oxlint
make format   # oxfmt

License

MIT. See LICENSE.md.

About

Send notifications using Web Push Protocol and Web Crypto APIs (compatible with Node, Cloudflare Workers, Bun and Deno)

Topics

Resources

Stars

44 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages