This document summarizes all changes made to prepare the project for GitHub.
debug_kokoro.py- Debug script for Kokoroplay_test_audio.py- TTS test scriptstart_debug.py- Debug launchertest_tts_audio.py- Audio test scripttest_voices.py- Voice test scripttts_client_simple.py- Legacy simple TTS client
test_input_climate.txt- Test input fileIran_War_test.txt- Test input filesimulation_test_output.txt- Test output fileerrors_20260317.json- Old error logerrors_20260318.json- Old error log
en_US-amy-medium.onnx- Duplicate in rooten_US-amy-medium.onnx.json- Duplicate in root
README_PYQT6.md- Migrated to main READMEHOW_IT_WORKS.md- Migrated to main READMEIMPLEMENTATION_SUMMARY.md- Migrated to main READMEMETHODOLOGY.md- Migrated to main READMETTS_IMPLEMENTATION.md- Migrated to main README
-
install.bat- Windows installer script- Creates virtual environment
- Installs all dependencies
- Downloads Kokoro voice models
- Configures the application
-
start.bat- Application launcher- Activates virtual environment
- Runs sos.py
- Provides helpful error messages
scripts/download_voices.py- Downloads Kokoro voice models from HuggingFace- Downloads kokoro-v1.0.onnx
- Downloads voices-v1.0.bin
- Handles errors gracefully
- Falls back to on-demand download
LICENSE- Apache License 2.0settings.example.json- Template configuration fileREADME.md- Comprehensive new README with:- Project overview
- Quick start guide
- Installation instructions
- Configuration details
- Usage guide
- Troubleshooting
- Architecture overview
requirements.txt- Updated with all dependencies:- PyQt6 (GUI)
- openai (LLM integration)
- pyyaml, pypdf2 (text processing)
- requests (HTTP)
- kokoro, torch, scipy, sounddevice, soundfile, misaki (TTS)
- loguru (logging)
settings.json- Cleaned with generic values for new users.gitignore- Enhanced to exclude all unnecessary files
search.py- Made search URL configurable from settings
tts_client.py- Added:- WAV file output to
output/tts_audio/ - Automatic cleanup of old files (24+ hours)
- GPU/CPU auto-detection
- WAV file output to
ui.py- Updated to:- Use configurable search settings
- Clean up TTS files on app close
- Support search configuration in settings dialog
Deliberate_AI_Github/
├── src/ (future - not yet created)
│ ├── sos.py
│ ├── pipeline.py
│ ├── ui.py
│ ├── search.py
│ ├── error_tracker.py
│ └── tts_client.py
├── scripts/
│ ├── download_voices.py
│ └── (future install.sh for Linux/Mac)
├── voices/ (gitignored)
├── output/ (gitignored)
├── logs/ (gitignored)
├── reports/ (gitignored)
├── saved_sessions/ (gitignored)
├── LICENSE Apache 2.0
├── README.md Main documentation
├── requirements.txt All dependencies
├── settings.json User configuration
├── settings.example.json Template config
├── .gitignore Git ignore rules
├── install.bat Windows installer
└── start.bat Application launcher
- All source code (
.pyfiles) requirements.txtREADME.mdLICENSEsettings.example.jsoninstall.batstart.batscripts/download_voices.py.gitignore
venv/- Virtual environmentvoices/- Voice models (downloaded on install)output/- Generated audio fileslogs/- Error logsreports/- Generated reportssaved_sessions/- Chat sessions*.onnx- Voice model files*.wav,*.mp3- Audio files__pycache__/- Python cache.ruff_cache/- Linter cacheerrors_*.json- Error logs
- Simple Installation: Just run
install.bat - Automatic Voice Download: Kokoro voices downloaded during install
- Clear Configuration:
settings.example.jsonas template - Comprehensive Documentation: Single README.md with everything
- Apache 2.0 License: Permissive, business-friendly license
- Windows-Only: Focused initially on Windows platform
- Test Installation: Run
install.baton clean Windows machine - Test Application: Run
start.batand verify all features - Test TTS: Verify voice download and audio generation
- Test Search: Configure and test SearXNG integration
- Push to GitHub: Ready for clean repository push
- All test/debug files removed - clean production code
- Documentation consolidated - single comprehensive README
- Voice models downloaded on install - not in repository
- Settings generic - ready for new user configuration
- Apache 2.0 license - matches Kokoro TTS license
- Windows-only for now - can add Linux/Mac support later