How construktdev/noriskclient-launcher works
NoRisk Client is a desktop Minecraft launcher with profile and mod management, launcher-instance import, synchronized content packs, social/game services, and clip capture/editing. Users navigate the launcher UI to manage or launch profiles, browse and install content, or record and edit clips. The Rust/Tauri backend provides domain operations and state; a dedicated capture engine handles recording. The supplied README focuses on contribution and compilation rather than product capabilities, so the feature map follows the source tree and excerpts. Relationships are limited to excerpted imports/calls and router declarations; unsampled feature wiring is not inferred.
Main entry points: router.tsx Feature routes · state_manager.rs Shared state · profile_state.rs Profile management · engine.rs Pack synchronization
Components 24
Launcher UI
- Application shell
src/App.tsx - Feature routes
src/lib/router.tsx - Profile screens
src/components/profiles - Mod browser
src/components/modrinth/v2 - Clip editor
src/components/clips - Capture controls
src/components/clips/useClipEngineEvents.ts
Profiles and Content
- Instance import
src-tauri/src/integrations/launcher_import/pipeline.rs - Profile management
src-tauri/src/state/profile_state.rs - Content integrations
src-tauri/src/integrations - Pack synchronization
src-tauri/src/sync/engine.rs - Sync pack state
src-tauri/src/state/sync_pack_state.rs
Minecraft Runtime
- Minecraft services
src-tauri/src/minecraft - Game process state
src-tauri/src/state/process_state.rs
Clip Capture
- Capture pipeline
src-tauri/crates/norisk-capture/src/engine/pipeline.rs - Screen and window sources
src-tauri/crates/norisk-capture/src/capture - Video encoding
src-tauri/crates/norisk-capture/src/encoder/video.rs - Audio processing
src-tauri/crates/norisk-capture/src/engine/audio.rs - Clip storage utilities
src-tauri/src/utils/clip_library.rs
Desktop Platform
- Shared state
src-tauri/src/state/state_manager.rs - Launcher database
src-tauri/src/state/db.rs - Event state
src-tauri/src/state/event_state.rs - Tauri application
src-tauri/src/main.rs
Other components
- Launcher user
- Game and content services
Connections 20
- Launcher user → Application shell: uses
- Application shell → Feature routes: hosts routes
src/lib/router.tsx - Feature routes → Profile screens: routes to
src/lib/router.tsx - Feature routes → Mod browser: routes to
src/lib/router.tsx - Feature routes → Clip editor: routes to
src/lib/router.tsx - Instance import → Profile management: creates profile
src-tauri/src/integrations/launcher_import/pipeline.rs - Instance import → Event state: emits progress
src-tauri/src/integrations/launcher_import/pipeline.rs - Profile management → Content integrations: uses integrations
src-tauri/src/state/profile_state.rs - Pack synchronization → Profile management: loads profile
src-tauri/src/sync/engine.rs - Pack synchronization → Sync pack state: checks availability
src-tauri/src/sync/engine.rs - Pack synchronization → Shared state: gets state
src-tauri/src/sync/engine.rs - Shared state → Event state: owns state
src-tauri/src/state/state_manager.rs - Shared state → Profile management: initializes manager
src-tauri/src/state/state_manager.rs - Shared state → Game process state: initializes manager
src-tauri/src/state/state_manager.rs - Tauri application → Game process state: registers commands
src-tauri/src/main.rs - Capture pipeline → Screen and window sources: starts capture
src-tauri/crates/norisk-capture/src/engine/pipeline.rs - Capture pipeline → Video encoding: selects encoder
src-tauri/crates/norisk-capture/src/engine/pipeline.rs - Capture pipeline → Audio processing: uses audio
src-tauri/crates/norisk-capture/src/engine/pipeline.rs - Capture controls → Clip editor: uses clip service
src/components/clips/useClipEngineEvents.ts - Game and content services → Content integrations: serves catalog data