https://github.com/mdb/shoulda-coulda
A Slackbot that tracks how often your teammates use the word "should."
https://github.com/mdb/shoulda-coulda
Last synced: about 1 year ago
JSON representation
A Slackbot that tracks how often your teammates use the word "should."
- Host: GitHub
- URL: https://github.com/mdb/shoulda-coulda
- Owner: mdb
- Created: 2015-06-20T18:37:22.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-22T12:36:38.000Z (almost 11 years ago)
- Last Synced: 2025-03-25T17:49:30.799Z (about 1 year ago)
- Language: JavaScript
- Size: 285 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shoulda-coulda
> What _should_ technology do? Computers don't understand what _ought_ to be,
> only what _is_. Behind use of the word "should" lives the messy soup of human
> beliefs on how the world ought to function: emotions, perspective, culture,
> politics, and :turtle: :turtle: :turtle: all the way down.
A Slackbot that tracks how many times the word "should" is used in your software development
team's Slack channel.
Example:

## Running
shoulda-coulda works in concert with [should-counter-api](https://github.com/mdb/should-counter-api).
shoulda-coulda assumes you are running a `should-counter-api` through which "shoulds" can be saved and fetched.
shoulda-coulda assumes the presence of 3 environment variables:
```
SHOULDA_COULDA_TOKEN=the Slack access token for your bot's Slack
SHOULD_COUNTER_API_ENDPOINT=a should-counter-api /shoulds endpoint
SHOULDA_COULDA_CHANNEL=the Slack channel shoulda-coulda should monitor
```
Example:
```
export SHOULDA_COULDA_TOKEN=123
export SHOULDA_COULDA_CHANNEL=bottest
export SHOULD_COUNTER_API_ENDPOINT=http://admin:password@localhost:5000/shoulds
```