Giter Club home page Giter Club logo

aws-sns-webpush's Introduction

AWS Webpush

Service built for filling gap in AWS Simple Notification Service - lack of support for push notifications in web browsers (Chrome, Firefox, Opera & Safari). Service can be deployed on AWS Lambda. It is listening for SNS events, on fires on them.

Deploy

There are several steps to start using this service:

  • Install maven - for building Java project
  • Install node - for easy deployment with Serverless framework
  • VAPID_PUBLIC_KEY & VAPID_PRIVATE_KEY environment variables - can be generated with Push Companion app
  • SAFARI_KEY_PASSWORD environment variable - used to protect your Safari key
export VAPID_PUBLIC_KEY=your_public_key
export VAPID_PRIVATE_KEY=your_private_key
export SAFARI_KEY_PASSWORD=safari_key_password

git clone https://github.com/maciejtreder/aws-sns-webpush.git
cd aws-sns-webpush
npm install
npm deploy

Customization

There is a plan, to support customization of this service (enabling only vapid subscription, or only safari), you can track it in this issue.

Vapid push notifications

TODO

Safari push notifications

todo

aws-sns-webpush's People

Contributors

maciejtreder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aws-sns-webpush's Issues

Make app configurable

There should a possibility to choose what kind of subscriptions should be supported (vapid only, safari only or both)

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.