GitHunt

Ver.bot-notify


node (6.10.x)
Donate

Ver.bot notify part.

Webhook part in here.

Deploy by yourself

NOTE: You should deploy the same major version as webhook part.

AWS Lambda(master branch)

  1. install dependency
npm i
  1. before deploy to AWS, install AWS CLI and configure it.

  2. create lambda function.

  3. set following environment variables.

CHECK_DAYS
SKYPE_APP_ID
SKYPE_APP_SECRET
SLACK_BOT_TOKEN
TELEGRAM_BOT_TOKEN
  1. If you want to update lambda function:
sh update-lambda.sh
  1. set a cron job ( e.g. CloudWatch Events) to match CHECK_DAYS in environment variables.

General server(normal-server branch)

  1. install dependency
npm i
  1. set following environment variables.
AWS_ACCESS_ID
AWS_SECRET_KEY
CHECK_DAYS
SKYPE_APP_ID
SKYPE_APP_SECRET
SLACK_BOT_TOKEN
TELEGRAM_BOT_TOKEN
  1. set a cron job to match CHECK_DAYS in environment variables.

LICENSE

AGPL-3.0

Languages

JavaScript99.0%Shell1.0%

Contributors

GNU Affero General Public License v3.0
Created October 14, 2017
Updated August 30, 2022