0.1.6 • Published 4 years ago

@f17/wikijs-notify v0.1.6

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
4 years ago

wikijs-notify

oclif Version Downloads/week

Wikijs-notify

Small script to send notifications via slack webhook about page updates on wiki.js instance.

On the first run, the script will send a notification with information about all pages and save locally a json file with this information: page ID, page title, and the date and time of the last notification.

On subsequent launches, it will compare the date and time of the sent notification with the page update time and it will send notifications about the updated pages after the last notification was sent.

Prerequisites

  • Get your Wiki.js API token from Administration Area (under API Access).
  • Configure slack webhook for notifications.

Usage

$ npm install -g @f17/wikijs-notify
$ wikijs-notify COMMAND
running command...
$ wikijs-notify (-v|--version|version)
@f17/wikijs-notify/0.1.6 darwin-x64 node-v12.18.3
$ wikijs-notify --help [COMMAND]
USAGE
  $ wikijs-notify COMMAND
...

Commands

Examples

wikijs-notify  --wikijs_url XXX --wikijs_token YYY --slack_webhook_url ZZZ

development

./bin/run

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago