bleep bloopity bloop
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
cb_config.ini.example
coffeeoutsidebot.py
locationchooser.py
locations.json
override.json.example
requirements.txt
weather.py

README.md

CoffeeOutsideBot

The CoffeeOutsideBot is super high-tech artificial intelligence, designed to pick a location in the city for the #yycbike crowd to meet and enjoy some hot coffee (or tea!).

Installation

git clone https://github.com/yycbike/coffeeoutsidebot.git
cd coffeeoutsidebot
pip install -r ./requirements.txt

Twitter integration

You can get the necessary API keys at https://dev.twitter.com/

OpenWeatherMap integration

You can get an API key at https://openweathermap.org/price

Cron job

To have the coffeeoutsidebot fire regularly, set up a cron job

0 17 * * 3  /bin/bash -c "source /path/to/coffeeoutsidebot/env/bin/activate && pushd /path/to/coffeeoutsidebot/ && /path/to/coffeeoutsidebot/env/bin/python /path/to/coffeeoutsidebot/coffeeoutsidebot.py"