https://github.com/rcdexta/chappie
Chappie is a slackbot for remote workplaces
https://github.com/rcdexta/chappie
bot javascript nodejs slackbot
Last synced: 2 months ago
JSON representation
Chappie is a slackbot for remote workplaces
- Host: GitHub
- URL: https://github.com/rcdexta/chappie
- Owner: rcdexta
- License: mit
- Created: 2016-05-17T19:05:47.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-02-20T17:22:47.000Z (over 8 years ago)
- Last Synced: 2025-01-26T08:45:34.562Z (over 1 year ago)
- Topics: bot, javascript, nodejs, slackbot
- Language: JavaScript
- Homepage: http://rcdexta.github.io/chappie/
- Size: 1.77 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Chappie

Chappie is a slackbot for your workplace that helps you with the following:
* if part of your company is remote, Chappie can aggregate stats about who is coming to office or working from home on a particular day
* can give you reports and forecasts about who you can meet at office on a specific day
* can give you traffic updates if you are planning to commute to office on a specific day [wip]
* can be used to send reminder messages to colleagues set to be pinged at a specific time
### Demo

### Setup
The first step is to create a Slack application. Start [here](https://api.slack.com/apps?new_app=1) and also refer [this guide](https://api.slack.com/slack-apps) for more details.
At the end of the setup, you will be provided with `clientId` and `clientSecret` tokens, please make note of them.
Now, clone the repository and install the npm dependencies
```shell
$ git@github.com:rcdexta/chappie.git
$ cd chappie
$ npm install
```
Once, you are all set, run the following command:
```shell
clientId= clientSecret= port=3000 redis_url= npm start
```
This will start up Chappie in server mode… There is one more step before we get the bot up and running. The Slack app oauth configuration should point to the local server that you just started. Refer to `OAuth & Permissions` section inside the app settings page and set the redirect URL to `http://localhost:3000/oauth`
Now, navigate to the browser and type `http://localhost:3000/login` and you will be redirected to your team slack page asking for permissions to enable Chappie as a third-party app. Once you are done with that, Chappie will come alive!
### License
MIT