A containerized application that handles user authentication, SMS alerts, and email follow-ups. The system allows users to create time-sensitive alerts that require responses within a specified timeframe. If no response is received, the system automatically sends follow-up emails.
- User authentication (login/register)
- SMS alert creation with customizable messages
- Response deadline tracking
- Automatic email follow-ups for missed deadlines
- Containerized deployment using Docker
- Docker
- Twilio account for SMS functionality
- Email account for sending follow-up emails (Gmail recommended)
Create a .env file in the root directory with the following variables:
# Flask configuration
SECRET_KEY=your-secret-key-here
# Twilio configuration
TWILIO_ACCOUNT_SID=your-account-sid
TWILIO_AUTH_TOKEN=your-auth-token
TWILIO_PHONE_NUMBER=your-twilio-phone-number
# Email configuration
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USERNAME=your-email@gmail.com
EMAIL_PASSWORD=your-app-specific-password
- Clone the repository
- Create and configure the
.envfile as shown above - Build and run the Docker container:
docker build -t deadhand .
docker run -p 5000:5000 --env-file .env deadhand- Access the application at
http://localhost:5000
- Register an account with your email and phone number
- Log in to access the dashboard
- Create new alerts with custom messages and response deadlines
- Respond to alerts before the deadline to prevent email follow-ups
- View all your alerts and their status in the dashboard
- Never commit the
.envfile to version control - Use strong passwords and keep your API keys secure
- For Gmail, use App-Specific Passwords instead of your account password
- Python 3.9
- Flask web framework
- SQLAlchemy for database management
- Twilio for SMS functionality
- SMTP for email notifications
- Bootstrap 5 for frontend styling
- Docker for containerization