Description
A python flask server that responses to text messages.
How it works
The flask server listens to request that are funneled through a secure tunnel - ngrok. It sends responses to depended on what was texted.
Step-by-step guide on how the set up the server, ngrok and connect it to Twilio by chatasweetie on the post:Twilio - 2 Ways of Sending Text Message
Python, Flask, & ngrok
Create a virtual environment
$ virtualenv env
$ source env/bin/activate
Install the dependencies
$ pip install -r requirements.txt
Download ngrok
Run ngrok
$ ./ngrok http 5000
In another terminal, run script
$ python server.py
Note: The messaging functionality requires that you have a Twilio account and connecting ngrok to Twilio.