Giter VIP home page Giter VIP logo

Comments (5)

pwFoo avatar pwFoo commented on August 20, 2024

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.

gauntface avatar gauntface commented on August 20, 2024

@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.

pwFoo avatar pwFoo commented on August 20, 2024

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.

gauntface avatar gauntface commented on August 20, 2024

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.

jimmywarting avatar jimmywarting commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.