Overview • Screenshots • Installation • Authors
Cli-Mate is a WhatsApp buddy designed to promote sustainable living habits and boost knowledge on climate change. The server responds to user messages and sends daily challenges via WhatsApp. It then tracks the amount of carbon, water, and money saved by completing these challenges. There is also a trivia question of the day, which allows users to learn more about climate change and how they can help. The server is built in Flask and integrates with Twilio's WhatsApp API.
This project was built for the 2020 Calgary Youth Hackathon and won the Best Technology Award.
Setup your Twilio account and Twilio WhatsApp sandbox via the instructions here. This allows you to run a development build while you wait for Twilio to approve your production number, which you can do here. Once you have your Twilio account, add your server url to your Twilio account.
Cli-Mate requires Python 3.7+ installed on the server. Begin by installing and starting the server:
# Clone this repository
$ git clone https://github.com/elena-pan/Cli-Mate.git
# Install Python dependencies
$ python3 -m pip install -r requirements.txt
# Put in your Twilio account ID and auth token
# Replace the account_sid and auth_token variable strings on lines 10-11 of app.py with your account details.
# Replace phone number on line 14 of app.py with your phone number.
# Run the server
$ python -m flask run
- Elena Pan, Dhananjay Patki, and Jenny Wu