$ show bruhnn/BD2ModManager
BD2ModManager is a Tauri + Vue 3 + TypeScript desktop application for managing mods for the game BD2 (Brown Dust 2). It is primarily an application, not a data/research repository, though it consumes static game data and remote CSV/JSON assets. The app provides mod lifecycle management (install, delete, sync/unsync, rename, update author, refresh), profile management, GitHub-based mod installation, and an integrated updater. The frontend is built with Vue 3 and Pinia, using Vue Router for navigation and composables for reusable logic; the backend is a Rust/Tauri shell that handles filesystem operations, symlinks, and the updater.
The LLM identified 3 files worth highlighting for reuse:
Centralizes global modal open/close state in a single composable, eliminating prop drilling and duplicated visibility flags. The pattern is idiomatic Vue 3 and can be extracted into any Vue project that needs app-wide modal coordination.
Preserves scroll position across route changes, a common UX requirement in list-heavy interfaces. The composable isolates DOM and router lifecycle logic, making it reusable in any Vue Router application.
Encapsulates update-check and install-trigger logic in a composable, keeping the update flow out of UI components. While Tauri-specific, the separation of concerns is a clean pattern for any desktop app that needs a self-contained update mechanism.