KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
gatelink
★ 11
Open GitHub ↗
WebPush Gateway
Download README (.md)
Explore Similar Repositories
zurb-foundation-scss-webpack-example
:
Zurb Foundation with SCSS and Webpack Example Project
android_device_samsung_jxy17lte
:
No description available.
react-fiou
:
react form validate library
Hands-On-Web-Development-with-TypeScript-and-Nest.js-finest-frontend
:
Hands-On-Web-Development-with-TypeScript-and-Nest.js ( finest frontend), published by Packt
my-fake-useragent
:
random fake useragent.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
gatelink
?
Download (.md)
# gatelink WebPush Gateway (powered by [quarkus](https://quarkus.io)) The gatelink service implements: - [Voluntary Application Server Identification for Web Push (VAPID / RFC8030)](https://www.rfc-editor.org/rfc/rfc8292.html) - [Message Encryption for Web Push](https://tools.ietf.org/html/rfc8291) [Push Notification Overview](https://developers.google.com/web/fundamentals/push-notifications/web-push-protocol#more_headers) # quickstart ## gatelink server build & start: ``` cd gatelink mvn package java -jar target/gatelink-[VERSION]-runner.jar ``` alternative / development mode: ``` cd gatelink mvn compile quarkus:dev ``` ## gatelink docker build ``` mvn package docker build -f src/main/docker/Dockerfile.jvm -t quarkus/gatelink-jvm . docker run -i --rm -p 8080:8080 quarkus/gatelink-jvm ``` ## test ui start Install [browsersync](https://www.browsersync.io) ``` cd webpush-ui ./startBrowserSync.sh ``` ## [webpush-ui](https://github.com/AdamBien/webpush/tree/master/webpush-ui) sample application The user interface uses 1. [Notification API](https://developer.mozilla.org/en-US/docs/Web/API/notification) to display the badges 2. [Push API](https://developer.mozilla.org/en-US/docs/Web/API/Push_API) to receive the messages and send a subscription to the server. 3. [Service Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) to listen for changes in the background 4. [Custom Elements](https://developer.mozilla.org/en-US/docs/Web/API/Window/customElements) for structuring the application 5. [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) to send the subscription to the server or to unsubscribe.