mirror of
https://github.com/barkeser2002/turkanime-gui.git
synced 2026-11-24 15:46:06 +03:00
🔧 Backend/API Enhancements - Added REST API Server (Flask-based) - Integrated MySQL database - Implemented Docker containerization - Added environment variables support - Included health check endpoint - Enabled CORS support - Created Anime matches API endpoint - Developed User episode status API endpoints - Implemented comprehensive error handling - Added database connection pooling 🎨 Frontend/GUI Improvements - Integrated API for all DB operations - Updated Episode ID format - Added advanced search feature (thread-safe) - Implemented Load more button (after 50 episodes) - Added progress indicators - Enabled anime name auto-correction - Ensured thread-safe UI updates - Introduced User ID system - Added episode status persistence - Enhanced accordion UI - Optimized performance - Improved user experience - Enhanced data synchronization 📁 File Structure Changes - New files: app.py, Dockerfile, docker-compose.yml, .dockerignore, README.md, requirements.txt - Updated files: db.py (converted to API manager), ui.py (added search and thread-safety), main.py (API integration) 🔒 Security and Quality - Added input sanitization - Ensured thread safety - Improved error handling - Added health monitoring - Configured for production readiness 📊 Database Changes - New tables: anime_matches, user_episode_status - Added data persistence (SQLite → MySQL) - Implemented user isolation - Enabled cross-device synchronization 🚀 Deployment and DevOps - Added Docker support - Configured production settings - Implemented health checks - Designed scalable architecture 📝 Documentation - Added API documentation - Included Docker setup guide - Provided architecture explanation 🎯 Summary - Total features: 35+ new additions - New files: 6 - Updated files: 3 - Architecture: Monolithic → Client-Server - Data management: Local DB → Cloud API - UI/UX: Basic → Advanced Features - Project evolved to production-ready client-server application! 🚀✨
Bu klasör, CustomTkinter tabanlı TürkAnimu GUI uygulamasını içerir.
Derleme (lokal)
Önkoşullar:
- Python 3.10–3.12
- Bağımlılıklar (GUI):
pip install -r requirements-gui.txt
PyInstaller ile tek dosya (spec):
python -m PyInstaller pyinstaller.spec
Çıktılar dist/ klasörüne üretilir.
Notlar:
- Proje kökünde
bin/klasörü varsa içeriği paketlenir (mpv, aria2c, ffmpeg, yt-dlp vb.). CI yalnızca Windows’ta bu klasörü otomatik hazırlar. - Uygulama simgesi
docs/TurkAnimu.icodosyasından yüklenir. - İsteğe bağlı doğrulama:
dist/altındaki çıktılar için MD5 özetini oluşturmak isterseniz Windows’tadocs/hash_dist_md5.batbetiğini çalıştırabilirsiniz. CLI build betiği (docs/build_exe.bat) MD5 dosyalarını otomatik üretir.
Çalıştırma
Derlenmiş ikiliyi doğrudan çalıştırın:
- Windows:
dist/turkanime-gui.exe - Linux:
dist/turkanime-gui-linux - macOS:
dist/turkanime-gui-macos
Geliştirme modunda çalıştırma:
python -m turkanime_api.gui.main
Poetry ile:
poetry run turkanime-gui
macOS ipucu: İndirilen dosya karantinadaysa açılışa izin vermek için Gatekeeper karantinasını kaldırmanız gerekebilir.
CI / Release
GitHub Actions, tag (vX.Y.Z) atıldığında üç işletim sistemi için derler ve release’e ekler:
- Windows:
turkanime-gui-windows.exe - Linux:
turkanime-gui-linux - macOS:
turkanime-gui-macos
Windows derlemelerinde mpv, aria2c, ffmpeg ve yt-dlp, mevcutsa paketlenir. Linux/macOS’ta sistemde bulunmaları önerilir; lokal derlemede bin/ altına koyarsanız paketlenir.