A modern, web-based messaging platform for efficient bulk messaging campaigns with media support.
# Clone the repository
git clone https://github.com/yourusername/message-hub.git
cd message-hub
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Set up environment
cp .env.example .env
# Edit .env with your configuration
# Initialize database
python migrate.py
# Run the application
python run.py
Visit http://localhost:5000
to access Message Hub.
- Single & Bulk Messaging: Send to individuals or launch campaigns to multiple contacts
- Media Support: Attach images, videos, and documents with automatic validation
- Contact Management: Import contacts via CSV, organize and manage contact lists
- Campaign Analytics: Track delivery status and campaign progress in real-time
- User Authentication: Secure multi-user system with role-based access
- Rate Limiting: Built-in protection against spam and API overuse
- Python 3.8+
- Evolution API server
- SQLite (default) or PostgreSQL/MySQL
- Modern web browser
Create a .env
file with:
SECRET_KEY=your-secret-key-here
DEBUG=True
EVOLUTION_API_URL=http://your-evolution-api-server:8080
EVOLUTION_API_KEY=your-api-key
Repo link - https://github.com/EvolutionAPI/evolution-api
- Install and configure Evolution API
- Create an instance for Message Hub
- Connect WhatsApp through the app interface
- Import contacts via CSV upload
- Add contacts manually
- Organize and filter contact lists
- Select contact from dropdown
- Compose message with personalization variables
- Attach multiple media files
- Send instantly
- Choose recipient groups (all, pending, or selected contacts)
- Compose personalized messages using variables like
{name}
,{first_name}
- Attach media that will be sent to all recipients
- Configure delays between messages
- Monitor campaign progress in real-time
- Images: PNG, JPG, GIF, WebP (up to 10MB)
- Videos: MP4, AVI, MOV (up to 50MB)
- Documents: PDF, DOC, DOCX (up to 20MB)
- Multiple file upload with preview
- Automatic file validation and compression
For comprehensive documentation including API reference, deployment guides, and troubleshooting:
# Using Docker Compose
docker-compose up -d
# Or build manually
docker build -t message-hub .
docker run -p 8000:8000 message-hub
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: GitHub Issues
- Documentation: Full Documentation
- Discussions: GitHub Discussions
- [Live Demo] - In progress
- Evolution API Documentation
- Project Roadmap
Made with ❤️ by the Message Hub Team