How yunfie-twitter/palleria works
Palleria is an Android Pixiv client. Its principal workflow is browsing or searching artwork, reading detailed media, and saving work locally; the repository also documents novels, manga, discovery feeds, downloads, and account features. The graph summarizes those domain stages and the app, repository, and native API layers. Some feature modules were not sampled, so their connections are shown as unverified rather than asserted; sampled startup and Rust references support the cited links.
Main entry points: screens Browse and reader screens · IllustiaViewModel.kt App view model · PalleriaLiveWallpaperService.kt Live wallpaper · mod.rs Native Pixiv client
Components 21
App experience
- Android app startup
app/src/main/java/com/yunfie/illustia/IllustiaApplication.kt - Main activity
app/src/main/java/com/yunfie/illustia/MainActivity.kt - Compose app UI
app/src/main/java/com/yunfie/illustia/ui/IllustiaApp.kt - Browse and reader screens
app/src/main/java/com/yunfie/illustia/ui/screens
Pixiv domain
- App view model
app/src/main/java/com/yunfie/illustia/IllustiaViewModel.kt - Settings and preferences
app/src/main/java/com/yunfie/illustia/settings/AppSettings.kt - Pixiv repository
app/src/main/java/com/yunfie/illustia/data/IllustiaRepository.kt - Artwork and user models
app/src/main/java/com/yunfie/illustia/models/Illust.kt - Account and login
app/src/main/java/com/yunfie/illustia/account/PalleriaAuthenticator.kt - Local settings database
app/src/main/java/com/yunfie/illustia/settings/db/IllustiaDatabase.java
Pixiv API core
- Native Pixiv client
rust/pixiv-api/src/client/mod.rs - OAuth login flow
rust/pixiv-api/src/client/oauth.rs - HTTP transport
rust/pixiv-api/src/client/transport.rs - API response mapping
rust/pixiv-api/src/models/dto/mod.rs
Media and platform
- Artwork downloads
app/src/main/java/com/yunfie/illustia/platform/ArtworkDownloadService.kt - Native image analysis
app/src/main/java/com/yunfie/illustia/data/NativeImageAnalysis.kt - Native image store
app/src/main/java/com/yunfie/illustia/nativebridge/NativeImageStore.kt - Novel speech playback
app/src/main/java/com/yunfie/illustia/ui/screens/NovelTtsService.kt - Live wallpaper
app/src/main/java/com/yunfie/illustia/wallpaper/PalleriaLiveWallpaperService.kt
Other components
- Palleria user
- Pixiv services
Connections 22
- Palleria user → Main activity: opens app
- Main activity → Compose app UI: shows interface
app/src/main/java/com/yunfie/illustia/MainActivity.kt - Compose app UI → Browse and reader screens: presents screens
- Browse and reader screens → App view model: requests content
- App view model → Pixiv repository: loads Pixiv data
- Pixiv repository → Native Pixiv client: uses native API
- Native Pixiv client → HTTP transport: executes requests
rust/pixiv-api/src/client/mod.rs - OAuth login flow → HTTP transport: sends OAuth
rust/pixiv-api/src/client/oauth.rs - HTTP transport → Pixiv services: requests API
- Native Pixiv client → API response mapping: maps responses
- API response mapping → Artwork and user models: produces models
- Android app startup → Pixiv repository: initializes
app/src/main/java/com/yunfie/illustia/IllustiaApplication.kt - App view model → Settings and preferences: uses preferences
- Settings and preferences → Local settings database: persists settings
- App view model → Artwork and user models: presents content
- Palleria user → Account and login: authenticates
- Browse and reader screens → Artwork downloads: saves artwork
README.md - Artwork downloads → Pixiv services: fetches media
- Browse and reader screens → Novel speech playback: starts narration
README.md - Live wallpaper → Settings and preferences: reads preferences
app/src/main/java/com/yunfie/illustia/wallpaper/PalleriaLiveWallpaperService.kt - Live wallpaper → Native image analysis: analyzes images
app/src/main/java/com/yunfie/illustia/wallpaper/PalleriaLiveWallpaperService.kt - Live wallpaper → Native image store: uses image store
app/src/main/java/com/yunfie/illustia/wallpaper/PalleriaLiveWallpaperService.kt