Spaces:
Paused
Paused
File size: 1,110 Bytes
a5784e9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | """
AI Studio Proxy API - GUI Launcher Module
This module provides a modern, user-friendly desktop GUI for managing
the AI Studio Proxy API service.
Features:
- Modern dark theme with custom styling
- Bilingual support (English/Chinese)
- System tray support (Linux/Windows/macOS)
- Account management (create, import, export)
- Port and proxy configuration
- Real-time log streaming
- Advanced settings with .env file management
Architecture:
- app.py - Main GUILauncher class
- config.py - Constants, paths, colors, defaults
- i18n.py - Translations and get_text()
- styles.py - ModernStyle theme class
- theme.py - Theme management (dark/light/system)
- tray.py - TrayIcon system tray integration
- utils.py - Tooltip, ScrollableListbox, StatusBar, helpers
- widgets.py - Custom widgets (CollapsibleFrame, SettingRow, EnvSettingsPanel)
- env_manager.py - Environment file (.env) management
Usage:
poetry run python -m gui
Or:
from gui import GUILauncher, main
main()
"""
from .app import GUILauncher, main
__all__ = ["GUILauncher", "main"]
|