Notifier is a NodeJS application that uses plugins to fetch data from the internet and push it to whatever platform you wish!
- NodeJS (Developed using latest LTS, 16.13.0)
- Install required packages with
npm install
Each plugin directory must contain a manifest.json file in the following format:
{
"name": "Plugin Name",
"type": "source|destination",
"main": "MainScript.js"
}
Source plugins must export a check
function in the following format:
exports.check = async function(pluginManager)
{
// Do your checking
// ...
// Push to queue
pluginManager.pushToQueue({
source: "My Plugin Name",
message: "Some message"
});
}
Destination plugins must export a push
function in the following format:
exports.push = async function(activityQueue)
{
// Push the activity to wherever you want
}