An open API service indexing awesome lists of open source software.

https://github.com/rping/ver.bot

How to know new version release? Ver.bot!
https://github.com/rping/ver.bot

bot chatbot skype-bot slack-bot telegram-bot versions

Last synced: 5 months ago
JSON representation

How to know new version release? Ver.bot!

Awesome Lists containing this project

README

          

# Ver.bot





[![Build Status](https://travis-ci.org/RPing/Ver.bot.svg?branch=master)](https://travis-ci.org/RPing/Ver.bot)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SVRBTQKRQ5VGE)

Ver.bot webhook part.

Notify part in [here][5].

## Deploy by yourself

**NOTE:** You should deploy the same **major version** as [notify part][5].

1. install dependency
```bash
npm i
```

2. before deploy to AWS, [install AWS CLI][1] and [configure it][2].

3. create AWS dynamoDB tables.
```bash
aws dynamodb create-table --cli-input-json file://aws/dynamodb/project.json
aws dynamodb create-table --cli-input-json file://aws/dynamodb/project_detail.json
```
And if you want to publish your Slack APP, you should store user Oauth tokens.
```bash
aws dynamodb create-table --cli-input-json file://aws/dynamodb/slack_oauth_token.json
```

4. create, update, configure tokens or destroy it.
```bash
npm run create
npm run update
npm run configure-slack
npm run configure-telegram
npm run configure-skype
npm run destroy
```

You can use tools like [ntl][3] to avoid typing.
Now, AWS API gateway and AWS Lambda are all set!

Default deploy region is `us-east-1`. For more tweaking information in `package.json`, refer to [Claudia docs][4].

## LICENSE
[AGPL-3.0](LICENSE)

[1]: http://docs.aws.amazon.com/cli/latest/userguide/installing.html
[2]: http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
[3]: https://github.com/ruyadorno/ntl
[4]: https://github.com/claudiajs/claudia/tree/master/docs
[5]: https://github.com/RPing/Ver.bot-notify