# FeatherRPC | Full Technical & Site Reference > Ultra-lightweight, privacy-first Discord Rich Presence client in Rust for Windows 10 and Windows 11, paired with a standalone Manifest V3 browser companion extension installed via ZIP. ## Canonical URLs - Website: https://feather.kuberbassi.com/ - Sitemap: https://feather.kuberbassi.com/sitemap.xml - Robots: https://feather.kuberbassi.com/robots.txt - LLM Summary: https://feather.kuberbassi.com/llms.txt - GitHub Repository: https://github.com/kuberbassi/FeatherRPC - Releases: https://github.com/kuberbassi/FeatherRPC/releases - Windows Executable: https://github.com/kuberbassi/FeatherRPC/releases/latest/download/feather-rpc.exe - Windows Bundle ZIP: https://github.com/kuberbassi/FeatherRPC/releases/latest/download/FeatherRPC-v1.6.0-Windows.zip - Browser Extension ZIP: https://github.com/kuberbassi/FeatherRPC/releases/latest/download/FeatherRPC-Browser-Extension.zip - Privacy Policy: https://github.com/kuberbassi/FeatherRPC/blob/main/PRIVACY.md - Changelog: https://github.com/kuberbassi/FeatherRPC/blob/main/CHANGELOG.md ## Website Structure (Human-Readable vs Machine-Readable) - `docs/index.html` presents the light-theme product landing page with download buttons, an interactive Discord Rich Presence preview card (YouTube Music, Netflix, Prime Video, JioHotstar), feature highlights, 3-step extension ZIP setup, and privacy summary. - Structured metadata is embedded in `
` via JSON-LD (`WebSite`, `SoftwareApplication`, `Person`) and `` tags pointing to `llms.txt` and `llms-full.txt`. - Visual branding assets live under `docs/assets/` (`logo.png`, `logo.svg`, `feather-bg.svg`, `feather-plume.svg`, and `platforms/*.png`). ## Author & Maintainer - Name: Kuber Bassi - Website: https://kuberbassi.com - Email: me@kuberbassi.com - GitHub: https://github.com/kuberbassi - Location: New Delhi, India - Education: B.Tech in Computer Science and Engineering, Guru Gobind Singh Indraprastha University (GGSIPU), Delhi - Profile: Independent full-stack software engineer, product builder, guitarist, and music producer (releasing music as KUBER BASSI). - Core Stack: Rust, Win32 APIs, TypeScript, JavaScript, Python, C, C++, React, Next.js, Vite, Tailwind CSS, Node.js, Express, FastAPI, PostgreSQL, SQLite, Docker. - Other Open-Source Projects: - Mimora (https://github.com/kuberbassi/mimora): Local-first Liquid Glass GIF and reaction library for Windows 11 built with Tauri 2, React, Rust, and SQLite. - Savewave: On-device privacy-focused media saver for desktop and Android. - Compactor: Browser-based lightweight file compression utilities. - Semester: Academic operating system built with TypeScript, Next.js, and PostgreSQL. - Inkscript: Utility converting typed notes and Markdown into handwritten notebook sheets. ## Desktop Application Architecture (`src/`) - `src/main.rs`: - Single-instance lock using `CreateMutexW("Local\\FeatherRPC_SingleInstance")` plus `CreateToolhelp32Snapshot` fallback for legacy versions; invokes `taskkill` only when another `feather-rpc.exe` process exists. - Event-driven Win32 UI loop using `CreateEventW` + `MsgWaitForMultipleObjectsEx(..., QS_ALLINPUT, MWMO_INPUTAVAILABLE)` for 0% idle UI CPU and modal-loop-safe wakeups. - Working-set memory trimming via `SetProcessWorkingSetSize(GetCurrentProcess(), usize::MAX, usize::MAX)` after startup, update checks, and idle transitions. - Background media/Discord RPC thread woken immediately via `Condvar` (`WakeSignal`) on companion updates or config changes; polls every 2s when playing and 4s when idle. - `SentActivity` diffing skips redundant Discord IPC `SET_ACTIVITY` pipe writes when metadata is unchanged and timestamps stay within 2 seconds. - Periodic background updater checking GitHub releases 5 seconds after startup (with up to 3 offline retries at 60s) and every 4 hours thereafter. - `src/media.rs`: - Polls Windows `GlobalSystemMediaTransportControlsSessionManager` (GSMTC) for standalone non-browser desktop media apps, computes live track position from `Position + (now - LastUpdatedTime)`, enforces keyword and platform filters, and defers configured native apps (`spotify`, `crunchyroll`) plus generic browser and browser-PWA sessions (`chrome`, `microsoftedge`, `msedge`, `brave`, `opera`, `firefox`, `vivaldi`) so unrelated browser audio is never mislabeled. - Because browser and Chrome/Edge PWA sessions are skipped by GSMTC, broadcasting from YouTube Music, Netflix, Prime Video, or JioHotstar in a browser or PWA requires the Browser Companion Extension (`127.0.0.1:46273`). - `src/companion.rs`: - Loopback-only HTTP server on `127.0.0.1:46273` handling `POST /update`, `GET /health` (`{"ok":true}`), and CORS + Private Network Access `OPTIONS` preflight. - Enforces `https://` artwork URLs (max 512 characters) and wakes the background loop via `WakeSignal`. - `src/discord.rs`: - Pure-Rust Discord named-pipe IPC client (`\\.\pipe\discord-ipc-0..9`) with a 5-second reconnect backoff when Discord is closed. - `src/artwork.rs`: - Shared `OnceLock