Git Product home page Git Product logo

bookkit-notificator's Introduction

bookkit-notificator

Installation

npm install -g bookkit-notificator

Usage

bookkit-notificator <command> <command parameters>

Commands

help      Display this help.
notify    Performs whole magic.
version   Show tool version.

Parameters

--command string

help, notify, version commands. All these can be used as default commands without providing --command argument.

-c, --config string

File path to the configuration object.

Configuration

configuration.js

module.exports = [
    {
        // light - loads changes on the pages only
        // full - scans all pages and its content for changes
        strategy: "light | full", // light is default 
        bookkit: {
            oidcHost: "oidc grantToken uri",
            uri: "bookkit uri",
            name: "bookkit name",
            accessCode1: "access code 1 (permissions to bookkit needed)",
            accessCode2: "access code 2 (permissions to bookkit needed)"
        },
        notifications: {
            // offset value in hours, how old changes should be notified
            offset: 1,
            email: {
                transportsConfiguration: {
                    // standard nodemailer configuration
                    host: "smtp host address",
                    port: "port",
                    secure: true,
                    auth: {
                        user: "username",
                        pass: "password"
                    }
                },
            },
            recipients: [
                // list of recipients
                "..."
            ]
        }
    }
]

Logs

logs are automatically stored to the %HOME%/.bookkit-notificator/logs folder

bookkit-notificator's People

Contributors

xaverric avatar

Watchers

 avatar

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.