$ show deckerst/aves
Aves is a Flutter-based mobile application (primarily Android, given the extensive Kotlin platform code) that functions as a high-performance media gallery and manager. It browses local storage, indexes media into a SQLite database, extracts and allows editing of extensive metadata (EXIF, XMP, IPTC, MP4), and provides a rich viewing experience including maps, video playback with subtitle support, and custom gesture-driven zoom/pan. The codebase is notable for its modular plugin architecture (magnifier, map, video, model, services), its defensive approach to parsing potentially corrupt media files on the native Android side, and its comprehensive internationalization and multi-calendar support. It is a mature, actively developed application with a strong focus on user experience and data integrity.
The LLM identified 5 files worth highlighting for reuse:
A self-contained Flutter plugin implementing a sophisticated pinch-to-zoom and pan gesture system. It manages scale boundaries, scroll physics, and edge detection independently of the main app, making it a highly reusable UI component for any application requiring smooth, gesture-driven navigation of a 2D canvas.
A custom map widget built from the ground up in Flutter, handling tile layers, marker rendering, and geographic calculations. It avoids heavy external map SDK dependencies, providing a lightweight, customizable mapping solution that can be extracted and used in other Flutter projects needing spatial data visualization.
An abstract video player interface with concrete implementations (MPV, ExoPlayer). It includes a custom ASS subtitle parser, AB repeat functionality, and slow-motion controls. This abstraction layer cleanly separates video playback logic from the UI, making it a reusable media playback engine for Flutter.
A comprehensive multi-calendar system supporting Gregorian, Hijri, and Persian calendars with date operations and formatting. This is a highly specialized, self-contained library that solves the complex problem of international date representation, easily extractable for any Dart/Flutter project requiring advanced locale support.
A robust native Android metadata extraction layer that safely handles potentially malformed media files (images, videos, DNG, MP4). It wraps the metadata-extractor library with safe readers and custom handlers for XMP, MPF, and Google Device Containers, demonstrating a defensive programming pattern critical for media applications.