An application that uses Twilio API to give users with feature phones access to emergency services
With this application, users should be able to request information about certain emergencies using SMS or Voice Call
Depending on the severity of the emergency, the application can have following up conversation using certain urgent keywords.
The application should have a landing page with basic information on what it's about, contributors and instructions on how can people use it.
- Flask - We'll be using Flask to create a webhook that checks content of the sms or voicecall
- Twilio Programmable Messaging API - We'll be using Twilio to process incoming SMS. We'll be using Receive and Reply to Incoming Messages - Python as a reference on processing incoming messages.
- For creating conversations, we'll be using the Create an SMS Conversation in Python to implement conversations during severe situations
- We'll be using Respond to Incoming Phone Calls in Python to process incoming calls. Since this application is for emergencies, we'll be using How to Record Phone Calls in Python to record conversations in severe cases
- For AI, we'll be using Google Gemini AI
- HTML5 for the structure of the landing page
- CSS3 for styling
- Bootstrap 5 for faster development, responsiveness
- JavaScript for some functionalities
- D3.js for displaying some of the visual data
-
Clone the repository
git clone https://github.com/Djembeleza/twilio_emergency_app
-
Cd into the project
cd twilio_emergency_app
-
Create virtual environment
python3 -m venv env
-
Activate environment
source env/bin/activate
-
Install the required packages
pip install -r requirements.txt
-
Rename the example.env to add your environment varibles
mv example.env .env
-
To run the application
python app.py