How markterence/discord-quest-completer works
Discord Quest Completer is a desktop app for selecting Discord-detectable games, creating small dummy executables, and launching them so Discord can recognize game activity without installing full games. The main flow runs from the game catalog and selection UI through Tauri commands to filesystem setup and process control; the app also includes Discord Rich Presence support and a Playground view. The README documents the Windows runner and quest-completion use case. Some command wiring and runner details are only partially excerpted, so uncertain links are omitted.
Main entry points: HomeView.vue Game manager · lib.rs Tauri command host · App.vue Vue app shell · MainLayout.vue Main layout
Components 23
App interface
- Vue app shell
src/App.vue - Main layout
src/components/MainLayout.vue - Game manager
src/pages/HomeView.vue - Executable picker
src/components/GameExecutables.vue - Activity playground
src/pages/Playground.vue - Shared app state
src/composables/app-state.ts - Timed notifications
src/components/TimedNotification.vue - Game card
src/components/GameCard.vue - Verified badge
src/components/IconVerified.vue - Rust icon
src/components/IconRustLang.vue - Vue icon
src/components/IconVueJs.vue
Game catalog
- Catalog fetch and fallback
src/composables/fetch-gamelist.ts - Bundled game catalog
src/assets/gamelist.json - Discord game catalog API
- Catalog mirror
- Game entry IDs
src/utils/random-string.ts
Native runtime
- Tauri command host
src-tauri/src/lib.rs - Dummy game creation and process control
src-tauri/src/runner.rs - Generated game files
src-tauri/src/lib.rs - Windows dummy runner
src-win/src/main.cpp
Discord activity
- Discord RPC client
src-tauri/src/rpc.rs - Discord desktop client
Other components
- Desktop user
Connections 28
- Desktop user → Vue app shell: uses
README.md - Vue app shell → Main layout: renders
src/App.vue - Vue app shell → Game manager: renders
src/App.vue - Vue app shell → Activity playground: renders
src/App.vue - Vue app shell → Shared app state: reads page state
src/App.vue - Main layout → Shared app state: changes page
src/components/MainLayout.vue - Main layout → Rust icon: renders
src/components/MainLayout.vue - Main layout → Vue icon: renders
src/components/MainLayout.vue - Game manager → Catalog fetch and fallback: loads catalog
src/pages/HomeView.vue - Game manager → Shared app state: adds logs
src/pages/HomeView.vue - Game manager → Executable picker: renders and handles actions
src/pages/HomeView.vue - Game manager → Timed notifications: renders status
src/pages/HomeView.vue - Game manager → Verified badge: renders
src/pages/HomeView.vue - Game manager → Game entry IDs: assigns entry IDs
src/pages/HomeView.vue - Game manager → Tauri command host: invokes game commands
src/pages/HomeView.vue - Executable picker → Game manager: emits play actions
src/pages/HomeView.vue - Activity playground → Shared app state: uses shared state
src/pages/Playground.vue - Catalog fetch and fallback → Tauri command host: requests remote catalogs
src/composables/fetch-gamelist.ts - Catalog fetch and fallback → Bundled game catalog: loads fallback
src/composables/fetch-gamelist.ts - Tauri command host → Catalog mirror: fetches catalog
src-tauri/src/lib.rs - Tauri command host → Discord game catalog API: fetches catalog
src-tauri/src/lib.rs - Tauri command host → Dummy game creation and process control: dispatches commands
src-tauri/src/lib.rs - Dummy game creation and process control → Generated game files: creates executables
src-tauri/src/lib.rs - Windows dummy runner → Discord desktop client: enables game detection
README.md - Dummy game creation and process control → Windows dummy runner: copies runner template
- Tauri command host → Discord RPC client: manages RPC activity
src-tauri/src/lib.rs - Discord RPC client → Discord desktop client: connects activity
- Game card → Game manager: supports game display