How sle2p/anich works
Project type and purpose
• From the README and directory layout, AniCh is a cross-platform Flutter client app for browsing, playing, and managing online anime (“番剧”) with ultra-resolution (“超分辨率”) video and multi-source danmaku support. It targets Android, iOS, Web, Windows, macOS, and Linux.
File structure
• Top-level “android”, “ios”, “linux”, “macos”, “windows”, “web” directories: platform embeddings for Flutter.
• “lib/main.dart”: application entry point.
• “lib/src/pages” & “lib/src/widgets”: UI layer, organized by feature.
• “lib/src/apis” & “lib/protobuf”: data layer, API clients generated from .proto definitions.
• “lib/src/middlewares”, “lib/src/utils”, “lib/src/config.dart”: cross-cutting infrastructure (authentication, logging, global config).
• “lib/src/pages/*/controller.dart”: state-management/controllers per feature (MVC or MVVM style).
• “lib/src/pages/*/models” & “lib/src/pages/*/views”: domain models and view widgets.
• “lib/src/pages/*/storage”: persistent local storage for settings, play history, user data.
README for additional insights
• Key features: super-resolution video, offline cache, multiple danmaku sources, search, bookmarking, comments.
• No backend code here—app relies on remote HTTP/gRPC API defined via protobuf.