Skip to content

stephankoelle/web-push

 
 

Repository files navigation

WebPush

A Web Push library for Java 7. Supports payloads and VAPID.

Build Status Build Status

Browser Matrix

Build Status

Installation

For Gradle, add the following dependency to build.gradle:

compile group: 'nl.martijndwars', name: 'web-push', version: '2.0.0'

For Maven, add the following dependency to pom.xml:

<dependency>
    <groupId>nl.martijndwars</groupId>
    <artifactId>web-push</artifactId>
    <version>2.0.0</version>
</dependency>

Usage

See doc/UsageExample.md for detailed usage instructions. If you plan on using VAPID, read doc/VAPID.md.

Testing

We use Selenium to interact with a browser.

Credit

To give credit where credit is due, the PushService is mostly a Java port of marco-c/web-push. The HttpEce class is mostly a Java port of martinthomson/encrypted-content-encoding.

Related

About

Web Push library for Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 78.5%
  • JavaScript 20.6%
  • HTML 0.9%