ShadowEO / osjs-gotify-provider

Provides gotify notification listening to OS.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OS.js Logo

OS.js is an open-source web desktop platform with a window manager, application APIs, GUI toolkit, filesystem abstractions and much more.

Support Support Donate Donate Community

OS.js Gotify Notification Provider

This provider connects to a working Gotify installation and listens for notifications, upon receving a notification it forwards it to the OS.js desktop.

Installation

npm install @ShadowEO/gotify-provider

Usage

In you startup procedure, simply import and register:

Note: This example is written using ESM. Node does not support this out of the box, so assume this is a client scipt.

import {GotifyNotificationProvider} from '@ShadowEO/GotifyNotificationProvider'; // You want your package name here

// ...

osjs.register(GotifyNotificationProvider)

// ...

PLEASE READ

There is currently no settings UX for this provider, it requires the following settings to be set in OS.js:

osjs/gotify-provider.websocket.uri osjs/gotify-provider.websocket.token

It currently does not have the ability to retrieve the proper application icons from Gotify.

Contribution

Documentation

See the Official Manuals for articles, tutorials and guides.

Links

About

Provides gotify notification listening to OS.js

License:Other


Languages

Language:JavaScript 100.0%