Comments (5)
Hi @gauntface I like how your example works, but would be nice to have some more documentation about (minimal) setup. Without GA, design, ...
from simple-push-demo.
@pwFoo have you seen https://web-push-book.gauntface.com/ ? There is a demo here: https://github.com/gauntface/web-push-book/tree/master/src/demos
from simple-push-demo.
Thanks @gauntface I have to take a look into it and the examples / demo.
Could you recommend a client and (php) server library / framework to use or should I try to put the web-push-book examples / demos together?
Needed features should be
- encryption (needed to push custom data?)
- support browsers push services
- closed browser / app support (service worker)
If there is a working and (ideally) supported lib / framework with the needed features I would use it instead of build it myself.
from simple-push-demo.
I would recommend reading the book and you should be able to find libraries here: https://github.com/web-push-libs
from simple-push-demo.
I too would also like to se a Library / minimal example
I know about nodes web-push lib but i like yours a bit more since it's more at vanilla JS. And don't require so many other dependencies. Also it uses nothing but standard web technologies (web crypto for instance) so everything can technically work in the browser without bundling up lots of node specific stuff.
Would be cool if you could separate out the webpush from the UI
And instead of curl that isn't compatible of displaying a byte stream when you have a payload, could you instead show some example that uses the fetch api instead?
I know for a fact that mozilla's endpoint allows CORS request so it is technically possible to send webpush with nothing but client side request - i hope chrome adds that too... (w3c/push-api#303)
from simple-push-demo.
Related Issues (20)
- add a LICENSE if you want
- doesn't work on my phone (Samsung a5 on android 7 with chrome 61.0.3163.98) HOT 2
- ReferenceError: Can't find variable: PushManager
- Ios safari is not opening the prompt box. HOT 2
- Pushing twice causes crash on Chrome android
- Unable to Register SW HOT 10
- .git folder is MASSIVE HOT 2
- service-worker.js without third party? HOT 2
- Not working on mobile phones HOT 2
- Push to killed Android Chrome isn't received HOT 1
- Not working with Node 10 ? HOT 1
- Simple push notification fails on Samsung Galaxy S10 HOT 1
- gulp dev does not work anymore, how can I use this client? HOT 2
- don't work in firefox HOT 1
- Is the code in the master branch outdated? HOT 11
- Rename project from simple-push-demo to web-push-demo HOT 1
- Switch to sending ArrayBuffer to proxy server HOT 1
- Testing on iOS 16.4 ( Safari, Firefox. Chrome) HOT 9
- Aborterror: Registration failed - push service error HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-push-demo.