Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradleyboy/standbot
Scheduled team standups in Slack
https://github.com/bradleyboy/standbot
bot nodejs slack
Last synced: 29 days ago
JSON representation
Scheduled team standups in Slack
- Host: GitHub
- URL: https://github.com/bradleyboy/standbot
- Owner: bradleyboy
- License: mit
- Created: 2017-08-13T16:27:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-18T20:10:43.000Z (over 1 year ago)
- Last Synced: 2024-11-09T20:37:48.191Z (about 1 month ago)
- Topics: bot, nodejs, slack
- Language: JavaScript
- Homepage:
- Size: 545 KB
- Stars: 10
- Watchers: 3
- Forks: 13
- Open Issues: 19
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - bradleyboy/standbot - Scheduled team standups in Slack (JavaScript)
README
# standbot
Because the world needs one more bot.
## Hacking on standbot
Clone the repo, cd into it, then run:
```
npm install
```Before running it, copy config.template.js to config.js and edit the values. You will need a Slack API token for the bot. The rest of the configuration is well documented in the template.
To start it up:
```
npm run reset
npm start
```Data is persisted in a sqlite database at `storage/db.sqlite`. Note that running a reset will delete and recreate that database.
Code formatting consitency is maintained via `prettier`. Please make sure any changes you propose have been run through prettier with the following options: `--single quote --trailing-comma es5`.
## Running on Docker
In this directory, build the image:
```
docker build -t standbot .
```To run it, create your config.js file and also create a directory to mount for the sqlite database. Then run the container:
```
docker run -d \
-v /path/to/config.js:/usr/src/app/config.js \
-v /path/to/storage/directory:/usr/src/app/storage \
standbot
```