A powerful Flutter desktop/mobile application for subtitle generation and translation using AI models. The application supports both Windows and Android platforms.
- Subtitle Generation: Generate subtitles from video/audio files using Faster-Whisper AI model
- Subtitle Translation: Translate subtitles using LibreTranslate
- Multi-Platform: Works on Windows desktop and Android devices
- Dynamic Interface:
- Three main tabs: Generate CC, Translate CC, and Models
- Dynamic bottom bar for status and controls
- Expandable logs panel for detailed operation tracking
- Model Management:
- Download and manage Faster-Whisper models
- Manage LibreTranslate models
- No GPU requirement - works on CPU
- Python 3.8 or higher
- Flutter SDK
- FFmpeg (installed automatically)
- Windows/Android device
- Clone the repository:
git clone https://github.com/ShahFaisalGfG/cc_gen_ultimate.git
cd cc_gen_ultimate- Install Flutter dependencies:
flutter pub get- The app will automatically set up:
- Python virtual environments
- Faster-Whisper in
faster-whisper-env - LibreTranslate in
libretranslate-env - FFmpeg and other required dependencies
-
/lib: Core Flutter application code/controllers: State management and control logic/logic: Business logic implementation/models: Data models and structures/services: Backend services and API integrations/ui: User interface components/utils: Utility functions and helpers
-
/assets:/installation_scripts: Automated setup scripts/py_scripts: FastAPI backends for AI processingwhisper_api.py: Subtitle generation APItranslate_api.py: Translation API
-
Subtitle Generation:
- Uses Faster-Whisper model through FastAPI backend
- Processes audio/video files to generate accurate subtitles
- Supports various input formats via FFmpeg
-
Translation:
- Utilizes LibreTranslate through FastAPI backend
- Supports multiple language pairs
- Batch translation capabilities
-
Model Management:
- Download and update AI models
- Manage model configurations
- Track model status and versions
The application stores its configuration in config.ini in the app directory. This includes:
- Model paths and settings
- API endpoints
- User preferences
- Language settings
For Windows:
flutter build windowsFor Android:
flutter build apk- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Faster-Whisper for subtitle generation
- LibreTranslate for translation capabilities
- Flutter for the cross-platform framework
- FastAPI for the backend API