Skip to content
Ak4aiPublic

About

🚀 Ultra-lightweight, high-performance native Discord client in Rust for gamers (< 0.1% CPU, ~32MB RAM, 1080p60 FPS stream, E2EE voice)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

97 stars

Watchers

1 watching

Forks

Latest commit

 

History

729 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Litecord 🚀

Ultra-Lightweight, High-Performance Native Discord Client for Gamers

Website GitHub Release CI Verification Rust GUI Security License: MIT

Litecord is an ultra-fast, native desktop client for Discord engineered from scratch in Rust for gamers, streamers, and competitive esports players. Running with < 0.1% CPU and ~10 MB RAM in the tray, it eliminates background micro-stutters and drops zero in-game FPS while delivering Full HD 1080p 60 FPS Screen Sharing, IGL / Shot-Caller Speech Priority Ducking, Detached Stream Popouts, QR Code Mobile Login, Smart Slash Commands, Unified Emojis, and On-Demand Ephemeral Attachments.

🌐 Live Website • 📚 Docs & Wiki • 🇧🇷 Versão em Português • 📦 Downloads • 🎮 Gamer Features • ⚡ Benchmarks • 📺 1080p 60 FPS Video Pipeline • ✨ All Features • 🛡️ Security & Privacy • 🛠️ Build from Source


Litecord Native Interface Demo



Litecord promo: ultra-light, peer-to-peer and secure

🎮 Why Gamers Choose Litecord

  • 🏆 Zero In-Game FPS Drops & Micro-Stutters: Reclaims CPU threads eaten by Chromium/Electron, improving 1% low framerates in competitive titles (CS2, Valorant, Warzone, Apex Legends, Fortnite, League of Legends).
  • 📺 Full HD 1080p 60 FPS Screen Sharing on the GPU: The captured screen never leaves the GPU: it is scaled, converted and encoded there (NVENC, Quick Sync or AMF), and the viewer's GPU decodes it and draws it straight to the window. Sending 1080p60 costs ~13% of one CPU core and watching ~8%.
  • 🤝 Go Live with the Official Discord: Friends on the official Discord apps (desktop, web or phone) watch your stream through Discord's own Go Live, with sound, and you watch theirs inside Litecord. Without Nitro it stays within Discord's free 720p 30 FPS unless you unlock it in Settings.
  • 👀 Watch on Demand: A new stream shows up as LIVE with a Watch button, like on Discord. Nothing is sent to anyone who is not watching, and with no viewers the sender does not encode at all.
  • 🌍 Share to a Browser: Send your stream to up to three friends who do not have Litecord, through a link they open in Chrome, Edge or Firefox, with no login.
  • 👑 Squad Leader & IGL Priority Ducking: Set shot-callers to Priority 2 ([ - ] P:2 [ + ]) so critical tactical callouts automatically duck background chatter and music bots during clutch moments.
  • 🪟 Detached Video & Stream Popouts (PiP): Pop out live screen shares and video streams into a dedicated floating Picture-in-Picture window down to 180px with an always-on-top pin, responsive controls hierarchy, and click-through ghost mode.
  • 🌐 Native Proxy Support & Censorship Bypass: Built-in routing for HTTP/HTTPS proxies, SOCKS5 (Tor, Shadowsocks, V2Ray), and OS System Proxy, featuring real-time ping/latency diagnostics and proactive offline detection.
  • 📱 QR Code Login & 1-Click Refresh: Log in instantly by scanning a QR code with the official Discord mobile app—no manual token extraction. Includes 1-click re-generation for expired QR sessions.
  • 🔒 Encrypted Multi-Account Vault: Securely stores multiple Discord accounts simultaneously with instant 1-click account switching (encrypted via Windows DPAPI and Linux AES-256-GCM).
  • ⌨️ Smart Slash Commands Autocomplete: Real-time suggestion indexing for /play, /skip, and server bot commands with keyboard navigation (Up/Down + Enter) and interactive parameter chips.
  • 🖼️ On-Demand Ephemeral Image Attachments: Minecraft-style pixel-art placeholders (~500 bytes) with dynamic proportional height and zero-residue temp downloads.
  • 🎨 Unified Emoji System (Twemoji + Discord CDN): Zero missing tofu squares (□). Full support for Discord custom animated/static emojis and Unicode emojis across chat, embeds, and bot buttons.
  • 🖥️ CPU-Rendered Interface by Default: The UI is drawn on the CPU, so no GPU context or graphics driver threads sit next to your game, and in the tray the app wakes up less than once per second. GPU rendering is one switch away in Settings → Video & Interface.
  • 📊 Real-Time Hardware Performance HUD: Shows process-specific CPU usage, physical RAM in MB, and GPU load right in the titlebar HUD, with live Windows Taskbar updates (Litecord - x%/ymb) and System Tray tooltips.
  • 🔊 Dynamic Audio Output Switching: Switch output audio devices (headphones/speakers) mid-call on the fly with automatic playback thread re-binding, without leaving the voice room or restarting the application.
  • 🎯 GPU Selection & Hardware Encoding: Automatic mode uses the GPU that drives the captured screen (on a laptop the dedicated GPU stays free for the game), or pick Intel, NVIDIA, AMD or CPU (OpenH264) in Settings, which also shows the GPU and method really in use.
  • 🖱️ Mouse Buttons as Shortcuts: Mute and deafen with the side, middle or right mouse button. With keyboard shortcuts only, the shortcut listener sleeps until a key is pressed.
  • 🗂️ Your Discord Server Order: Servers appear in the same order and folders as on Discord, and servers and channels can be reordered by dragging.
  • 🩺 Network Diagnostic: Checks whether a stream with someone on another network can connect directly (NAT type, blocked UDP, signaling) and copies a report you can paste into an issue.
  • 🎙️ Opus PLC (Packet Loss Concealment): Prevents robotic voice stuttering and audio crackles even under 100% CPU/GPU load.
  • 💬 Direct Messages (DMs) & 1-Click Voice Calls: Access private conversations and group DMs directly from the dedicated chat bubble icon. Start private voice calls with ringing audio, answer/reject incoming call cards, and real-time unread count badges.
  • 🎨 Light & Dark Themes with Persistent Preference: Enjoy a clean, optional native Light Theme for daytime reading alongside the default Dark Theme, with centralized semantic tokens in Slint (AppTheme).
  • 👥 Voice Channel Participants Preview: See who is inside voice channels before joining with compact participant rows, initial avatars, 1-click connect, and member state fingerprinting.
  • 🛡️ Intelligent Channel Permission Filtering: Evaluates Discord VIEW_CHANNEL hierarchy locally to hide inaccessible channels and empty categories, keeping your navigation clutter-free.
  • 🐧 Universal AnyLinux AppImage: Truly portable, distro-agnostic Linux package (Litecord-x86_64.AppImage) bundled with all dynamic dependencies (libxdo.so.3, libayatana-appindicator3, etc.), guaranteed to run out of the box across any Linux distribution.
  • ⚙️ Anywhere Settings Access: Titlebar gear icon accessible even from the login screen, with auto-routing to proxy settings on network failure.
  • 🌐 7 Built-in Languages: Automatic OS language detection with English, Portuguese, Spanish, German, French, Russian, and Japanese.

⚡ Benchmarks vs Official Discord

Metric Official Discord (Electron) Litecord (Native Rust + Slint) Gaming Impact
Idle CPU Usage 1.5% - 4.5% 0.00% - 0.02% (DeepSleep: 0.0%) 🚀 150x lighter CPU footprint
Active Voice CPU 4.0% - 8.0% ~0.1% - 0.3% ⚡ Zero Game Stuttering
1080p 60 FPS Stream CPU 8.0% - 16.0% ~0.5% - 0.9% 🎮 Butter-Smooth Game Play
RAM Usage (DeepSleep Tray) 350 MB - 750 MB ~10 MB 🌙 98% lighter background footprint
RAM Usage (Active Window) 500 MB - 900 MB ~16 MB - 25 MB 💾 Saves up to 880 MB RAM
Startup Time 4.5s - 9.0s < 150 ms ⏱️ Instant Match Launch
Binary Size ~180 MB ~8 MB Standalone 📦 Pure Native Machine Code

CPU percentages above are of the whole CPU, as Task Manager shows them. Measured on an i5-13450HX (16 threads) with v1.3.0: sending a 1080p60 stream costs ~13% of one core (~0.8% of the CPU) and watching one ~8% of one core (~0.5%), over a 5-hour session with no dropped frames. Details and scripts in scripts/perf.


📺 Full HD 1080p 60 FPS Video & Audio Pipeline

Litecord streams with its own native engine (src/screen_capture/). On Windows the picture stays on the GPU from capture to display:

  [ Screen ] ──(DXGI Desktop Duplication / Windows Graphics Capture)──► GPU texture
                │                                          [ WASAPI loopback audio ]
                ▼ (Video Processor: scale + BT.709 colour conversion on the GPU)   │
  [ Hardware encoder: NVENC / Quick Sync / AMF ]  (CPU fallback: OpenH264)        ▼ Opus
                │                                                                  │
                ▼  AES-256-GCM with a key drawn for each stream, given only to viewers (X25519)
  [ UDP peer-to-peer, 1350-byte packets + XOR FEC ]  ── only to those who pressed Watch
                │
                ▼ (decrypt, reassemble, keyframe on demand)
  [ GPU decoder (D3D11 video) ] ──► [ Windows composition layer under the Slint UI ]
                                     (main window or Picture-in-Picture popout)

🚀 Key Engineering Pillars:

  1. Zero-Copy GPU Pipeline (Windows):
    • Capture, scaling, colour conversion, encoding, decoding and display all happen on the GPU; the CPU never touches the pixels. When the GPU cannot do a step, Litecord falls back to the CPU path by itself.
  2. End-to-End Encrypted, per Stream (AES-256-GCM):
    • Each stream draws a random key, which is handed only to viewers who asked to watch and are in the voice channel, encrypted for each of them with X25519. Video and audio frames are encrypted with AES-256-GCM; only the sender can end its stream.
  3. Hardware-Accelerated AES-NI Performance:
    • Sub-microsecond CPU execution via native silicon AES-NI vector instructions (< 0.02% CPU impact).
  4. WASAPI In-Game Audio Loopback:
    • Captures crystal-clear in-game audio directly from Windows audio endpoints and mixes it synchronously with the video frame timeline.
  5. DRM / Streaming Mode Browser Launcher:
    • Launch your default browser (Chrome, Edge, Brave) in an isolated, streaming-optimized profile with --disable-gpu-compositing and --disable-features=HardwareProtectedVideo to watch Netflix, Prime Video, HBO Max, and YouTube with friends without black screens.
  6. LTPV (Litecord Peer-to-Peer Video Protocol) with FEC Recovery:
    • Packets are split into 1350-byte chunks (matching standard network MTU) with XOR Forward Error Correction (FEC) to recover dropped frames seamlessly without retransmission delays.
  7. Floating Picture-in-Picture (PiP) Popout Window:
    • Detach streams into a standalone floating window with an Always-on-Top Pin and independent audio volume sliders (0–200%).

✨ Features Breakdown

🎙️ 1. Studio-Grade Voice Pipeline & DAVE Protocol (E2EE)

  • True Opus PLC (Packet Loss Concealment): Synthesizes missing or delayed audio frames seamlessly, eliminating crackles, micro-stutters, and robotic drops even with packet jitter.
  • Adaptive Jitter Pre-Buffer (40ms): Absorbs network fluctuations from music bots (Notch, Lara, Jockie) and unstable connections with zero manual tuning.
  • Studio Soft-Knee Limiter: Transparent dynamic compression for loud audio peaks and heavy bass without harsh square-wave clipping.
  • Cubic Hermite Resampler: High-fidelity 48kHz audio interpolation for smooth, crystal-clear voice output.
  • DAVE End-to-End Encryption: Direct support for Discord's MLS (RFC 9420) voice encryption protocol.
  • Microphone VAD & Sensitivity Test: Real-time visual audio meter (30 FPS) with adjustable threshold slider saved automatically to .litecord_audio_config.json.
Litecord Voice Channels & Speech Priority Ducking Demo

👑 2. Dynamic Speech Priority & Smart Ducking

Take control of crowded voice calls with custom per-user priorities ([ - ] P:N [ + ]):

  • Hierarchical Attenuation: When multiple people talk at once, lower-priority speakers are automatically attenuated smoothly based on the priority difference (Delta = max_priority - user_priority):
    • Delta = 1 (e.g., Priority 1 vs 0): Volume reduced to 50%.
    • Delta = 2 (e.g., Priority 2 vs 0): Volume reduced to 40%.
    • Delta = 3 (e.g., Priority 3 vs 0): Volume reduced to 30%.
    • Delta >= 5: Volume ducked to protection floor (5% - 10%).
  • Independent Volume & Mute: Per-user volume sliders (0% - 200%) and instant mute buttons, saved automatically across sessions.

💬 3. Direct Messages (DMs) & 1-Click Private Voice Calls

  • Integrated DM Navigation: Access your personal inbox through the dedicated chat bubble icon placed at the top of the server list.
  • Individual & Group Chats: Seamlessly chat in 1-on-1 direct messages or multi-recipient group DMs, featuring colored user avatars, presence states, and automatic list reordering upon new messages.
  • 1-Click Voice Calls & Ringing Alerts: Ring your friends directly from the DM header with ringing audio feedback, visual incoming call modals (Accept / Reject), and instant one-click disconnect.
  • Accurate Real-Time Unread Badges: Red unread count badges on individual DMs and an aggregated count badge on the global DM button, synchronized in real time with duplicate-event protection and auto-clearing upon opening.

📱 4. QR Code Remote Auth & Encrypted Token Vaults (Linux + Windows)

  • Instant QR Code Login: Scan the on-screen QR code with your Discord Mobile App (Settings -> Scan QR Code) to log in instantly.
  • Linux Hardware-Bound AES-256-GCM Vault (~/.config/litecord/session.vault): Follows the XDG Base Directory specification with strict Unix permissions (0700 directory, 0600 file). Credentials are encrypted at rest with AES-256-GCM using keys derived from /etc/machine-id and UID, preventing token exfiltration across machines.
  • Windows DPAPI Encryption (%APPDATA%/Litecord/session.vault): Locally stored tokens are protected via Windows DPAPI (CryptProtectData), bound to the local user account.
  • Strict Zero-Token Logging & Atomic Cleanup: Tokens are never printed in logs or console output and are atomically purged upon logout.
  • Direct Discord Connections: No intermediary proxies or tracking servers. Chat and calls go directly to discord.com endpoints; the only other servers are Litecord's own signaling worker (screen sharing, no media goes through it) and GitHub (updates).
  • Shell Injection Shield: Hyperlinks are strictly validated against an http:// / https:// whitelist and dispatched via native OS APIs (ShellExecuteW / xdg-open)—never through shell interpreters (cmd.exe).

⌨️ 5. Intelligent Slash Commands & Parameter Chips

  • Dynamic Server Command Indexing: Fetches and aggregates real slash commands from registered bots (/play, /skip, /stop, /queue, etc.).
  • Keyboard Navigation: Use Up/Down Arrow keys to cycle through command suggestions and hit Enter to auto-select.
  • Interactive Parameter Chips: Formats commands as clean visual chips in the message input and chat history with parameter placeholders.

🖼️ 6. Ultra-Lightweight On-Demand Image Attachments

  • Minecraft Pixel-Art Placeholders: Low-resolution (~500 bytes) chunky 8-bit preview before downloading.
  • Fixed Width (320px) & Proportional Height: Dynamically adapts height to match the image's original aspect ratio (16:9, portrait, square).
  • Path-Traversal Sanitized Downloads: Attachment filenames are strictly sanitized against directory traversal attacks and confined to ephemeral temp folders (%TEMP%/Litecord/temp_images/), wiped on startup and shutdown.
  • Collapsed Link Archive: Image URLs remain accessible inside the collapsed message view without cluttering chat.

🎨 7. Unified Emoji System (Twemoji + Discord CDN)

  • Discord Custom Emojis: Asynchronously downloaded, cached locally, and updated in-place.
  • Twemoji Unicode Rendering: Direct vector glyph rasterization for Unicode emojis (⏭️, ⏮️, ⏯️, 🔀, 🔁, 🔥, ❤️, etc.), preventing Windows tofu boxes (□).
  • Screen & Active Channel Priority: Dedicates network bandwidth exclusively to visible chat messages.

⚡ 8. DeepSleep Mode & Extreme Efficiency

  • Sub-0.1% CPU Idle: UI event dispatch loop is decoupled and capped at 30 FPS for microphone meters.
  • System Tray DeepSleep: Minimizing Litecord to the system tray completely suspends all visual rendering loops while keeping voice audio streaming in background.
  • Delta Badge Fingerprinting: Sidebar channel member count badges update only on real state changes, preventing unnecessary thread wakeups.
  • In-App Update Integrity: Background GitHub release version checker with strict origin domain verification.

🛡️ Cybersecurity, Privacy & Account Safety

Security, privacy, and account integrity are core engineering pillars of Litecord:

🔒 1. Cryptographic Security Architecture

Security Domain Implementation & Technology Protection Level
P2P Video & Screen Sharing AES-256-GCM, random key per stream, delivered to each viewer with X25519 🛡️ End-to-end encrypted. Only viewers who asked to watch can decrypt it.
Stream Audio Opus frames, AES-256-GCM with the stream key 🛡️ End-to-end encrypted, like the video.
P2P Signaling Litecord's own Cloudflare Worker, one room per voice channel ⚠️ Carries no media. Presence is encrypted with a key derived from the channel ID, so whoever knows that ID can read the addresses announced in the room (see WATCH_ON_DEMAND.md).
Discord Voice Gateway Official DAVE Protocol (MLS RFC 9420) + Opus PLC 🛡️ Discord Certified E2EE Voice. Direct SFU connection.
Token Storage at Rest (Linux) AES-256-GCM Hardware-Bound (~/.config/litecord/) 🛡️ Machine/User Bound (0700/0600). Key tied to /etc/machine-id + UID.
Token Storage at Rest (Windows) Windows DPAPI (CryptProtectData) 🛡️ OS Vault Protected. Bound to local Windows user session.
Chat & UI Rendering Native Slint Engine (No WebViews, No DOM, No JS) 🛡️ 100% Immune to XSS and HTML Injections.
Hyperlinks & Browser Open Strict http/https Whitelist + ShellExecuteW 🛡️ Zero Shell Injection / RCE Risk. Rejects unsafe protocols.
Image & Attachment Cache Strict Filename Regex Sanitization 🛡️ Zero Path Traversal. Confined to ephemeral %TEMP%.
Application Updater Strict GitHub Origin Domain Verification (TLS/HTTPS) 🛡️ Spoofing & Man-in-the-Middle Protected.

🌐 2. Zero-Trust & Direct Connections Only (No Intermediaries)

  • Litecord talks directly to official Discord endpoints (discord.com/api, gateway.discord.gg, and Discord Voice SFUs).
  • The only other server is Litecord's own signaling worker on Cloudflare, which introduces peers for screen sharing and serves the page for browser viewers. No video or audio goes through it: streams travel directly between the people in the call.
  • No third-party tracking relays and no telemetry backends.
  • 100% Open Source & Auditable (MIT License): Every line of Rust code is public and verifiable by the community.

⚠️ 3. Discord Terms of Service (ToS) & Account Safety

  • Strictly Human-Driven (Zero Automation / Selfbots): Litecord is engineered purely as a lightweight interactive desktop client for human gamers. It contains no automated scrapers, no auto-responders, no mass-messaging tools, and no bot scripts that trigger Discord's automated anti-abuse detection heuristics.
  • Official Gateway Protocol Compliance: Connects via standard Discord Gateway v9 and Voice Gateway v9 channels, emitting normal human-paced interaction events and respecting API rate limits.
  • Transparent ToS Disclaimer: Like all third-party Discord software (Vencord, BetterDiscord, Ripcord), using an alternative client is technically against Discord's Terms of Service. Litecord is provided for performance and educational purposes.

📦 Downloads & Releases

Pre-compiled production binaries are available under GitHub Releases:

Distribution File Details
🪟 Windows Setup (Beta 1.4.0) Litecord-Setup-x64.exe Inno Setup installer with Desktop shortcut and uninstaller.
🪟 Windows Portable (Beta 1.4.0) litecord-windows-x64-portable.zip Standalone executable (litecord.exe). Statically linked CRT (+crt-static).
🐧 Linux AppImage (Beta 1.4.0 - Recommended) Litecord-x86_64.AppImage Universal distro-agnostic AppImage (quick-sharun). Runs on any x86_64 Linux distro out of the box.
🐧 Linux Standalone (Beta 1.4.0) litecord-linux-x64.tar.gz Native x86_64 Linux binary compiled with ALSA, X11/PipeWire and System Tray support.
🍎 macOS Apple Silicon (Experimental) Litecord-macOS-arm64-experimental.zip Experimental .app for M-series Macs. Not signed with an Apple Developer ID yet: right-click → Open on the first launch. Screen sharing is not available on macOS yet.

🚀 Running the AppImage on Linux

chmod +x Litecord-x86_64.AppImage
./Litecord-x86_64.AppImage

🐧 Linux — Quick Install (One-Line)

Open your terminal and paste:

curl -sSL https://raw.githubusercontent.com/Ak4ai/Litecord/main/install.sh | bash

The script will:

  1. 📥 Download the latest pre-compiled binary from GitHub Releases automatically
  2. 🔧 Automatically detect and install runtime dependencies (xdotool, libayatana-appindicator) on Arch Linux, Debian/Ubuntu, and Fedora
  3. 📂 Install it to ~/.local/bin/litecord
  4. 🖥️ Create a .desktop entry for your app launcher
  5. ✅ Tell you if you need to add ~/.local/bin to your $PATH

Requirements: curl and tar (pre-installed on virtually all Linux distros).

To uninstall (it asks whether to also delete your settings and saved accounts):

curl -sSL https://raw.githubusercontent.com/Ak4ai/Litecord/main/uninstall.sh | bash

🛠️ Building from Source

Prerequisites

  • Rust Toolchain: 2021 Edition or later (rustup install stable)
  • Cargo: Included with Rust

📦 Run Development Mode

cargo run

⚡ Build Optimized Release Binary

cargo build --release

The optimized executable will be located at target/release/litecord.exe (Windows) or target/release/litecord (Linux).


📂 Project Architecture

Litecord/
├── assets/                   # Vector SVG icons, app branding, and audio assets
├── docs/                     # Technical specifications, security audits, and Wiki mirror
│   └── wiki/                 # Mirror of GitHub Wiki technical documentation
├── src/                      # Native Rust core implementation
│   ├── audio/                # CPAL audio engine, sound effects, and loopback handlers
│   ├── auth/                 # Multi-account vault (Windows DPAPI / Linux AES-256-GCM) & QR Auth
│   ├── bin/                  # Benchmarks, encoder stress-tests, and standalone verification tools
│   ├── encoder/              # Multi-codec hardware video encoding (NVENC, AMF, WMF, OpenH264)
│   ├── gateway/              # Discord Gateway client, Voice Gateway, DAVE E2EE & rich-text parser
│   ├── screen_capture/       # 1080p 60 FPS DXGI/PrintWindow/BitBlt capture, LTPV UDP protocol, P2P E2EE
│   ├── ui/                   # Async Slint data loader, state synchronization, and helpers
│   ├── utils/                # Hardware monitor HUD, proxy manager, keybinds, i18n, and auto-updater
│   └── main.rs               # Application entrypoint, Tokio runtime, and Slint window orchestration
├── ui/                       # Declarative Slint UI definitions (compiled to native machine code)
│   └── appwindow.slint       # AppWindow, PopoutWindow (PiP), settings modal, and voice stage
├── Cargo.toml                # Rust project manifest and dependencies
├── CHANGELOG.md              # Semantic version history and release notes
├── installer.iss             # Official Windows Inno Setup installer script
└── README.md                 # Project documentation

🧩 Subsystem Breakdown

Subsystem Key Modules Core Responsibilities
Orchestration & Runtime src/main.rs Application lifecycle, Tokio async runtime, Slint UI event loop bridge, and background worker threads.
Voice & Audio Pipeline src/gateway/voice.rs, src/audio/ 48kHz stereo CPAL stream, Opus PLC, Voice Activity Detection (VAD), Dynamic Speaker Device Switching, IGL Ducking, and Discord DAVE E2EE.
Screen Share & Video src/screen_capture/ Direct3D 11 / DXGI Desktop Duplication, LTPV UDP packetizer (1350B MTU) with XOR Forward Error Correction (FEC), and PiP popout window.
Hardware GPU Encoding src/encoder/ Silicon-accelerated video compression: NVIDIA NVENC, AMD AMF Direct3D 11, Windows Media Foundation (WMF) MFT, and OpenH264 SIMD.
Hardware Performance HUD src/utils/hardware_monitor.rs Real-time process-specific CPU% (GetProcessTimes), physical RAM in MB (K32GetProcessMemoryInfo), PDH GPU engine counter, Taskbar title (Litecord - x%/ymb), and Tray tooltip.
Credential & Vault Security src/auth/vault.rs, src/auth/remote_auth.rs Multi-Account Vault (Windows DPAPI / Linux AES-256-GCM), 1-click account switching, and Discord mobile QR Code authentication.
Discord Gateway & API src/gateway/client.rs, src/gateway/types.rs WebSocket connection to Gateway v9/v10, REST API v9 interaction, channel message synchronization, and slash command indexing.
Network & Proxy Manager src/utils/network_settings.rs Support for HTTP/HTTPS, SOCKS5 (Tor/Shadowsocks/V2Ray), and System Proxy with live Gateway ping diagnostics and zero-downtime hot reloading.
User Interface & Theme ui/appwindow.slint, src/ui/ Native GPU-accelerated Slint UI, Discord dark palette, unified Twemoji/Discord CDN emojis, and vector SVG action buttons.
Localization & Keybinds src/utils/i18n.rs, src/utils/keybinds.rs 7 built-in languages with auto-detection, global hotkey listener (Win32 / Linux evdev) for instant mute/deafen.

🤝 Contributing & Pull Requests

We welcome all developers, gamers, and audio enthusiasts to help build Litecord!

🎯 Project Vision & Philosophy:

Litecord is built to be a simple, clean, and ultra-lightweight interface for gamers to use Discord without background lag, high CPU/RAM overhead, or bloat.

  • Core Track (main): Strictly dedicated to performance, low-latency audio, and minimal essentials (< 0.1% CPU, < 35 MB RAM).
  • Alternative Branches & Releases: Any modifications or experimental features can be published as alternative branches or release tracks.

👑 Contributors Hall of Fame

Contributor Role / Contributions Impact
Ak4ai Project Creator & Lead Maintainer (Core architecture, Slint UI, Audio Pipeline, Ducking Engine, Security) 100% (Core)
Starzinho (@starzynhobr) Community Contributor (Light theme system, voice channel participants preview, permission-based channel filtering, Slint UI modularization, grouped chat messages with day separators & persistent avatars, settings window redesign, invite & event cards, channel mentions, resizable channel list, type scale, window shadow) PR #22, #23, #26, #46–#59
Franco Muscó (@stickyfran) Community Contributor (Rich bot messages, polls & markdown, Discord server order with drag-and-drop reordering, Discord-style user bar, faster server switching, quiet speech preservation & Linux voice buffers, optional voice processing, forwarded messages, window position memory, permission cache, DAVE downgrade audio, Linux app id, native Discord Go Live, 48 kHz voice pipeline with delay-aligned echo cancellation, voice recovery on network changes, IPv4-first voice connect, speaking ring & LIVE badge, Components V2 messages, instant channel switching, server onboarding, chat memory cap, Wayland window restore) PR #36–#41, #44, #45, #61, #62, #65, #73–#77, #79–#83
Pedro Zamecki (@PedroZamecki) Community Contributor (Mouse buttons as mute/deafen shortcuts, on Windows and Linux) PR #31, #43
Bug hunters & testers @SabinoRotondi (frame-time stability that drove the 1.3.0 lightness work, mute hotkey), @linuxmobile (client identity audit), @3941 (Nobara/Fedora install & AppImage), @SirWalkerCZ (localization), @begadmoh1 (DMs, profile pictures), @kazam0180 (AnyLinux AppImage), @mirkohubtv (proxy support), @ProbablyM-S (Linux build), @BossDarkReaper (gateway reconnect loop) Issues #1, #19–#21, #24, #25, #27–#30, #85
Your Name Here Submit a Pull Request to be credited here! %

📄 License

Distributed under the MIT License. See LICENSE for more details.

About

🚀 Ultra-lightweight, high-performance native Discord client in Rust for gamers (< 0.1% CPU, ~32MB RAM, 1080p60 FPS stream, E2EE voice)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

97 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages