ContentMaster AI is a sleek web interface for analyzing content using the Fabric CLI tool. It provides an intuitive way to extract insights, summaries, and other valuable information from both YouTube videos and text content.
- Beautiful UI: Clean, modern interface with an excellent user experience
- Content Analysis: Process YouTube videos and text with various analysis patterns
- Multiple Analysis Types: Executive summaries, key points, insights, action steps, and more
- Multi-language Support: Analyze content in English, German, French, Spanish, and Italian
- User Authentication: Secure login system
- Persistent Storage: User data stored in a Docker volume
- Easy Deployment: Simple Docker setup with docker-compose
ContentMaster has been streamlined for simplicity while maintaining all functionality:
- Single Flask Application: All processing is handled directly by Flask
- No Microservices: Removed the separate FastAPI component for simpler maintenance
- Direct Command Execution: Fabric CLI commands execute directly within the container
- Containerized: Easy deployment with Docker or docker-compose
The easiest way to run ContentMaster is with Docker Compose:
# Clone the repository
git clone https://github.com/yourusername/contentmaster.git
cd contentmaster
# Start the application
docker-compose up -d
# Access the application at http://localhost:8700The application comes with three default users:
- Username:
admin, Password:IamAdmin2411 - Username:
Arezou, Password:123Arezou456 - Username:
Jalal, Password:147Jalal369
Important: For production use, change these default credentials.
If you prefer to run without Docker:
-
Install system dependencies:
- Python 3.9+
- Go (for Fabric CLI)
-
Install Fabric CLI:
go install github.com/danielmiessler/fabric@latest
-
Install Python dependencies:
pip install -r requirements.txt
-
Initialize the database:
python init_db.py
-
Run the Flask application:
gunicorn -w 4 -b 0.0.0.0:8700 app:app
contentmaster/
├── app.py # Main Flask application
├── db_handler.py # Database models and helper functions
├── init_db.py # Database initialization script
├── requirements.txt # Python dependencies
├── Dockerfile # Docker configuration
├── docker-compose.yml # Docker Compose configuration
├── templates/ # Jinja2 HTML templates
│ ├── base.html # Base template with common elements
│ ├── index.html # Main application interface
│ └── login.html # Login page
└── static/ # Static files (CSS, JS, etc.)
FLASK_ENV: Set to 'production' for production, 'development' for dev modeSECRET_KEY: Secret key for session security (auto-generated if not provided)
Contributions are welcome! Please feel free to submit a Pull Request.
- Fabric CLI for content analysis
- Flask web framework
- Bootstrap for the UI components
