mirror of
https://github.com/RoyalnetworkTR/turkanime-client.git
synced 2026-09-25 06:00:09 +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! 🚀✨
44 lines
1.3 KiB
RPMSpec
44 lines
1.3 KiB
RPMSpec
# -*- mode: python ; coding: utf-8 -*-
|
|
import os
|
|
from PyInstaller.utils.hooks import collect_submodules
|
|
|
|
block_cipher = None
|
|
|
|
hiddenimports = collect_submodules('yt_dlp') + collect_submodules('curl_cffi') + collect_submodules('Crypto') + collect_submodules('customtkinter')
|
|
bin_data = [('bin', 'bin')] if os.path.isdir('bin') else []
|
|
|
|
a = Analysis([
|
|
'turkanime_api/gui/main.py',
|
|
],
|
|
pathex=[],
|
|
binaries=[],
|
|
datas=[
|
|
('docs/TurkAnimu.ico', 'docs'),
|
|
('docs/TurkAnimu.png', 'docs'),
|
|
('gereksinimler.json', '.'),
|
|
] + bin_data,
|
|
hiddenimports=hiddenimports,
|
|
hookspath=[],
|
|
hooksconfig={},
|
|
runtime_hooks=[],
|
|
excludes=[],
|
|
win_no_prefer_redirects=False,
|
|
win_private_assemblies=False,
|
|
cipher=block_cipher,
|
|
noarchive=False)
|
|
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
|
|
|
exe = EXE(pyz,
|
|
a.scripts,
|
|
a.binaries,
|
|
a.zipfiles,
|
|
a.datas,
|
|
[],
|
|
name='turkanime-gui',
|
|
debug=False,
|
|
bootloader_ignore_signals=False,
|
|
strip=False,
|
|
upx=False,
|
|
console=False,
|
|
icon='docs/TurkAnimu.ico')
|