Skip to content

Frontend code for subscribing to and receiving push notifications in the browser

License

Notifications You must be signed in to change notification settings

wortwart/push-notifications

Repository files navigation

push-notifications

Frontend code for subscribing to and receiving push notifications in the browser

Demo project for c't Magazin in April 2018

This shows several phases of building an own web push client.

  • Phase 1: show notifications
  • Phase 2: register a service worker
  • Phase 3: send messages from dev tools
  • Phase 4: send messages from Push companion
  • Phase 5: build your own subscription service based on PHP/MySQL and send messages from the command shell using web-push. The included bash script creates a key pair and requires a shell with OpenSSL, dd, and tr (can be installed in Windows with Cygwin)
  • Phase 6: create a more elegant solution (not included)

About

Frontend code for subscribing to and receiving push notifications in the browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published