How mu-zi-lee/yunx-docker works
YunX Docker Web is a browser-based cloud-drive workspace built on the desktop project’s shared protocol, persistence, and download code. The main workflow is browser login, account setup, browsing or resolving cloud files, then creating server-side download tasks that persist and write to the mounted download directory. The graph also retains GitHub/share-link handling, bookmarks and history, and settings. Relationships are limited to README-documented behavior and the shown ServerService excerpt or SOURCE INDEX references; unsampled routes and wiring are not asserted.
Main entry points: ServerService.kt Workspace API · DownloadManager.kt Download Tasks · app.js Web Interface · Main.kt HTTP Server
Components 20
Web Workspace
- Web Interface
server/src/main/resources/web/app.js - HTTP Server
server/src/main/kotlin/com/yunx/server/Main.kt - Login And Passwords
server/src/main/kotlin/com/yunx/server/LoginAuth.kt - Web Settings
server/src/main/resources/web/app.js
Cloud Operations
- Workspace API
server/src/main/kotlin/com/yunx/server/ServerService.kt - Account Management
server/src/main/kotlin/com/yunx/server/ServerService.kt - Cloud Drive Access
server/src/main/kotlin/com/yunx/server/ServerService.kt - Share Resolution
desktop/src/main/kotlin/com/yunx/app/data/repository/ShareResolveRepository.kt - GitHub Browsing
server/src/main/kotlin/com/yunx/server/GitHubBrowser.kt - Bookmarks And History
server/src/main/kotlin/com/yunx/server/ServerService.kt
Server Runtime
- Encrypted Credentials
server/src/main/kotlin/com/yunx/server/Credentials.kt - Cloud Platform APIs
desktop/src/main/kotlin/com/yunx/app/data/network/QuarkApi.kt - HTTP Clients
desktop/src/main/kotlin/com/yunx/app/data/network/HttpClients.kt - App Data Context
desktop/src/main/kotlin/com/yunx/app/AppContext.kt
Persistence And Downloads
- Application Database
desktop/src/main/kotlin/com/yunx/app/data/db/AppDatabase.kt - Download Tasks
desktop/src/main/kotlin/com/yunx/app/data/download/DownloadManager.kt - Resumable Downloader
desktop/src/main/kotlin/com/yunx/app/data/download/ChunkDownloader.kt - Mounted Download Files
Other components
- Browser User
- Cloud Providers
Connections 18
- Browser User → Web Interface: uses
README.md - Web Interface → HTTP Server: sends requests
README.md - HTTP Server → Login And Passwords: routes login
server/src/main/kotlin/com/yunx/server/Main.kt - HTTP Server → Workspace API: dispatches requests
server/src/main/kotlin/com/yunx/server/Main.kt - Workspace API → Encrypted Credentials: reads and saves
server/src/main/kotlin/com/yunx/server/ServerService.kt - Workspace API → Cloud Platform APIs: calls platform APIs
server/src/main/kotlin/com/yunx/server/ServerService.kt - Workspace API → Share Resolution: uses resolver
server/src/main/kotlin/com/yunx/server/ServerService.kt - Workspace API → GitHub Browsing: uses browser
server/src/main/kotlin/com/yunx/server/ServerService.kt - Workspace API → Application Database: stores link data
server/src/main/kotlin/com/yunx/server/ServerService.kt - Workspace API → Download Tasks: manages tasks
server/src/main/kotlin/com/yunx/server/ServerService.kt - Cloud Drive Access → Cloud Providers: requests cloud data
- Share Resolution → Cloud Platform APIs: uses platform APIs
- Cloud Platform APIs → HTTP Clients: uses clients
- App Data Context → Application Database: provides data paths
desktop/src/main/kotlin/com/yunx/app/AppContext.kt - Download Tasks → Resumable Downloader: downloads chunks
desktop/src/main/kotlin/com/yunx/app/data/download/DownloadManager.kt - Download Tasks → Application Database: persists task state
desktop/src/main/kotlin/com/yunx/app/data/download/DownloadManager.kt - Download Tasks → Mounted Download Files: writes files
README.md - Web Interface → Web Settings: edits settings
README.md