Skip to content

Lightweight native Discord client for Windows, Linux and macOS, written in Rust. No Electron, no browser engine.

23.5 KB
Raw Blame
RustCord logo

RustCord

A lightweight, native Discord client for Windows, Linux and macOS, written in Rust.
No Electron, no browser engine: one small program that looks and feels like Discord.

πŸ“¦ Downloads β€’ ⚑ Highlights β€’ ✨ Showcase β€’ πŸ“Š Benchmarks β€’ πŸ› οΈ Quick Start β€’ πŸ“‹ Features β€’ 🧩 Rencord β€’ πŸ—οΈ Architecture β€’ ❓ FAQ

Release Downloads Stars Rust UI Platform License

RustCord showing a server's chat, channel list and member list

[!WARNING] RustCord is unofficial and not made or endorsed by Discord. Third-party clients are against Discord's Terms of Service and could get your account flagged. Use it at your own risk.

πŸ“¦ Downloads

Everything is on the Releases page.

Windows: run RustCordSetup-<version>.exe. Windows 10 (1903 or newer) or Windows 11; no administrator rights needed.

  • The installer isn't code-signed, so SmartScreen may warn the first time: More info β†’ Run anyway.
  • Check your download against its .sha256 file with (Get-FileHash -Algorithm SHA256 .\RustCordSetup-<version>.exe).Hash.
  • Updating is running a newer installer: your settings and login stay.

Linux (experimental): download RustCord-<version>-linux-x86_64.tar.gz, unpack it and run ./install.sh (for your account only, no root). It adds RustCord to your app menu; ./install.sh --uninstall removes it again.

  • Needs a 64-bit distribution from 2022 or newer (Ubuntu 22.04+, Debian 12+, Fedora 36+, Arch…) with WebKitGTK 4.1 for the login page: sudo apt install libwebkit2gtk-4.1-0 on Ubuntu/Debian, sudo dnf install webkit2gtk4.1 on Fedora, sudo pacman -S webkit2gtk-4.1 on Arch.
  • Chat, voice calls and everything else work; Go Live screen sharing and the camera are Windows-only for now. On a Wayland desktop RustCord runs through XWayland.
  • RustCord has a notification-area icon, and closing the window leaves it running there, as Discord does (turn that off in System β†’ General β†’ Minimize RustCord to System Tray). KDE, XFCE and Cinnamon show the icon out of the box; on GNOME, install the AppIndicator extension first.
  • New on Linux, so please report problems. Check your download with sha256sum -c RustCord-<version>-linux-x86_64.tar.gz.sha256.

macOS (experimental): download RustCord-<version>-macos-universal.dmg, open it and drag RustCord into Applications. One app for Apple Silicon and Intel Macs, macOS 11 or newer.

  • It isn't notarized by Apple, so macOS blocks the first start: try to open it once, then choose System Settings β†’ Privacy & Security β†’ Open Anyway. (Or in Terminal: xattr -dr com.apple.quarantine /Applications/RustCord.app.)
  • After an update macOS may ask whether RustCord can use its saved login in your Keychain: Always Allow. It asks for the microphone in your first call.
  • Chat, voice calls, Rich Presence and the unread badge on the Dock icon work; Go Live screen sharing, the camera, video attachments, desktop notifications and spell checking are Windows-only for now.
  • New on macOS, so please report problems. Check your download with shasum -a 256 -c RustCord-<version>-macos-universal.dmg.sha256.

⚑ Highlights

  • πŸͺΆ Light: one native process, idling around 50 MB of RAM in the background and well under 1% CPU.
  • πŸš€ Fast: your servers are on screen about a third of a second after you start it.
  • 🎨 Looks like Discord: Discord's layout, icons, font, colours, Nitro gradient themes and menus, rebuilt natively.
  • πŸŽ™οΈ Voice, video and Go Live: calls with noise suppression and echo cancellation, camera, screen sharing up to 60 fps, soundboard.
  • 🧩 Rencord: a built-in mod system with ports of popular Vencord plugins, plus Vencord/BetterDiscord themes.
  • πŸ”’ Private: no telemetry, no tracking calls, your token stays in your system's credential store.
  • πŸ–₯️ Windows, Linux and macOS: a Windows installer, and experimental Linux and macOS builds.

✨ Showcase

The same chat in four Nitro colour themes
Every Nitro colour theme: Chroma Glow, Neon Nights, Hexagon, Sunset and more
The Process Viewer
Process Viewer: see exactly what RustCord uses
The emoji picker
Emoji, GIF and sticker pickers with search and favourites
A profile card The message menu
Profile cards and message menus laid out like Discord's

Screenshots are from demo mode (--demo), which runs with simulated servers and no account.

πŸ“Š Benchmarks

Measured with RustCord 0.4.36 (release build) on Windows 11, logged in to a real account:

RustCord
Processes 1 (plus WebView2 only while you log in)
RAM, idle in the background ~50 MB working set, ~250 MB private
CPU, idle 0.2–1 % of one core
Account on screen after start ~0.35 s
Installer download ~18 MB

The official app and Electron-based clients run a full Chromium browser with several processes. Compare them yourself in Task Manager, or open RustCord's Settings β†’ Performance β†’ Process Viewer, which shows what RustCord uses, live.

πŸ› οΈ Quick Start (build from source)

RustCord builds on Windows with the MSVC toolchain.

1. Install the tools (once):

  • Rust, stable 1.88 or newer. Already have it? Run rustup update.
  • The Visual Studio C++ Build Tools with the "Desktop development with C++" workload (Rust needs them to link, and they compile Opus and OpenH264).
  • Git.
  • Optional: NASM (winget install NASM.NASM), so screen-share video decoding gets its fast assembly; without it OpenH264 uses plain C.

2. Get the code and run it:

git clone https://github.com/VRonGitHub/RustCord.git
cd RustCord
cargo run --release -- --demo   # demo with simulated servers, no account needed
cargo run --release             # log in with your Discord account

The first build takes a few minutes; later ones only rebuild what changed. The program ends up in target\release\rustcord.exe, which you can run directly from then on.

3. Optional: build the installer. build-installer.cmd builds everything in release mode and writes dist\RustCordSetup-<version>.exe with its .sha256.

Building on Linux

Install Rust, Git and the development libraries, then build and pack it:

# Ubuntu / Debian
sudo apt install build-essential pkg-config cmake nasm libwebkit2gtk-4.1-dev libgtk-3-dev \
  libasound2-dev libdbus-1-dev libssl-dev libxdo-dev
cargo build --release -p rustcord     # the program: target/release/rustcord
sh packaging/linux/package.sh         # dist/RustCord-<version>-linux-x86_64.tar.gz

.github/workflows/linux.yml is the exact recipe GitHub uses for the releases.

Building on macOS

Install Rust, Git and the Xcode Command Line Tools (xcode-select --install), plus CMake (brew install cmake), then build it:

cargo build --release -p rustcord     # the program: target/release/rustcord
cargo run --release -p rustcord -- --demo   # or try it straight away

packaging/macos/package.sh turns an Apple Silicon and an Intel build into dist/RustCord-<version>-macos-universal.dmg; .github/workflows/macos.yml is the exact recipe GitHub uses for the releases, and starts the app on a Mac to check it.

Good to know
  • cargo test --workspace runs about 330 unit tests.
  • A build from source has no RustCord badge registry unless you give it one: set RUSTCORD_REGISTRY_URL to its address before building (server/README.md explains how to run your own). Everything else works the same.
  • Debug builds (cargo run without --release) work but are slower, and they enable the developer switches (RUSTCORD_DEV_*, RUSTCORD_DUMP_*); release builds compile those out unless you pass --features dev-hooks.

πŸ“‹ Features

πŸ’¬ Chat
  • Live messages with resume and reconnect; history loads as you scroll up and keeps your place
  • Sending, replies (with a ping toggle), editing (↑ edits your last message), deleting, typing indicators
  • Discord markdown: bold, italics, underline, strike, spoilers, quotes, lists, headings, subtext, masked links, mentions, custom emoji, <t:…> timestamps, and code blocks highlighted in Discord's colours (Rust, JS/TS, Python, the C family, Lua, shell, SQL, JSON/YAML/TOML, CSS, diff, HTML)
  • Images, files, embeds, stickers, forwarded messages, polls, and an audio player for attachments
  • Emoji (Twemoji, jumbo emoji), reactions, and emoji, GIF and sticker pickers
  • Uploads by button, drag and drop or paste (screenshots, copied pictures and files)
  • Discord's message menu and hover toolbar, the red NEW line and the "new messages since…" bar
  • Forum channels, threads and the Threads list
🏠 Servers, DMs and friends
  • Servers with folders, categories and per-channel permission checks, so hidden channels stay hidden
  • DMs and group DMs, unread state and mention badges synced with Discord
  • Friends page (online, all, pending, blocked), quick switcher, invites, muting and notification levels
  • Remembers where you were in every server and chat, also after a restart
  • Desktop notifications, and a tray icon: closing the window leaves RustCord running there, as in Discord (System β†’ General β†’ Minimize RustCord to System Tray)
  • Opens on the monitor, at the place and size it was closed at (Windows)
πŸŽ™οΈ Voice and video
  • Voice channels and calls: mute, deafen, devices, volumes, Voice Isolation (noise suppression), echo cancellation (WebRTC's AEC3), ping stats and automatic rejoin
  • Per-person volume (0–200 %) and local mute, plus server mute, deafen and disconnect with permissions
  • Camera video in calls
  • Go Live: share a screen or window at 720p, 1080p or source quality, 15–60 fps, with audio on Windows 11; watch other people's streams, up to four at once, each playing in its tile, or one on the stage with the call below it
  • Soundboard: every server's sounds and Discord's, and you hear the ones others play
  • End-to-end encrypted calls (Discord's DAVE protocol)
πŸ‘€ Profiles and presence
  • Profile cards and full profiles: banners, badges, pronouns, bios, roles, mutual friends and servers, connections
  • Names in role colours, role icons, server tags, avatar decorations, nameplates
  • Statuses, custom statuses and activities; set your own from the account menu
  • Rich Presence: games that support Discord's RPC show up as your activity
  • Spotify: see what friends are playing, a Spotify controller and Listen Along
🎨 Look and feel
  • Discord's Dark, Ash and Onyx themes, your account's Nitro client theme and every Nitro gradient preset
  • Discord's font (gg sans), icons and layout sizes, including a resizable sidebar
  • Vencord and BetterDiscord themes through Rencord

Not yet: Activities, and bookmarks, reminders and apps (no public API for them).

🧩 Rencord

Rencord is RustCord's own client-mod system, inspired by Vencord. Vencord plugins patch Discord's web code, which RustCord doesn't have, so they can't run as they are. Rencord gives plugins native hooks at the same points instead, and popular plugins are ported to them by hand.

Plugin Vencord equivalent What it does
MessageLogger MessageLogger Keeps deleted messages (red text or overlay) and shows edit history. Ignore lists for users, channels and servers.
ClearURLs ClearURLs Strips tracking parameters (utm_*, fbclid, si, Amazon /ref=, …) from links before they're sent. Custom rules supported.
MessageSelect (none) Hold Ctrl + Shift to select several messages at once.
SilentTyping SilentTyping Others don't see "is typing…" from you.
NoReplyMention NoReplyMention Replies start with "@" off, so they don't ping the author unless you turn it on. Ignore list for channels.
TextReplace TextReplace Your own find => replace rules, run on your messages before they're sent (and edits, if you like).

Plugins are switched on and configured in βš™ β†’ Rencord Plugins. A plugin that crashes is turned off instead of taking RustCord down.

Themes: βš™ β†’ Themes takes a Vencord/BetterDiscord theme URL or a local .css file, plus QuickCSS. Rencord resolves the theme's CSS variables and maps its colours onto RustCord (layout rules, fonts and background images don't carry over).

Writing a plugin

Implement rencord::Plugin in crates/rencord/src/plugins/ and register it in plugins::builtin(). Every hook has a no-op default:

pub struct NoReplyMention;

impl Plugin for NoReplyMention {
    fn meta(&self) -> PluginMeta {
        PluginMeta {
            id: "NoReplyMention",
            name: "NoReplyMention",
            description: "Don't ping people when replying.",
            authors: &["you"],
            vencord_equivalent: Some("NoReplyMention"),
            default_enabled: false,
        }
    }

    fn before_send(&mut self, _cx: &Cx, msg: &mut OutgoingMessage) -> bool {
        if msg.message_reference.is_some() {
            msg.allowed_mentions = Some(AllowedMentions {
                parse: vec!["users".into(), "roles".into(), "everyone".into()],
                replied_user: false,
            });
        }
        true // return false to cancel sending
    }
}

Hooks: before_send, before_edit, message_create, message_update, message_delete, typing, message_actions / run_message_action (context menu), start and stop. Settings are declared with SettingDef::{bool, text, select} and RustCord draws their UI.

πŸ”’ Privacy and security

  • Logging in happens on Discord's own login page (password, 2FA, captcha, QR code, passkey), shown in an embedded browser (WebView2 on Windows, WebKitGTK on Linux, WebKit on macOS) and closed as soon as you're in. RustCord only receives the session token, keeps it in Windows Credential Manager, your Linux desktop's keyring or the macOS Keychain, and only ever sends it to discord.com.
  • No telemetry: RustCord sends none and doesn't call Discord's tracking endpoints.
  • Blending in: it presents itself to Discord as Discord's own web client, and paces its requests like it, because clients that stand out risk being flagged by Discord's anti-spam.
  • Local data: so your account opens instantly, a snapshot of it (servers, channels, DMs, friends, read states; never the token) and the newest messages of recently opened channels are kept in %LOCALAPPDATA%\RustCord, encrypted for your Windows account, and deleted when you log out. On Linux they're in ~/.cache/rustcord, on macOS in ~/Library/Caches/dev.RustCord.RustCord, in a folder only your user can open, but not encrypted there yet.
Everything RustCord connects to
  • discord.com and Discord's CDN
  • jsDelivr, for the Twemoji images (it sees your IP address and which emoji are drawn)
  • the hosts of images, link previews and media players in messages (YouTube, Spotify, Twitch, Tenor and so on), as Discord's own client does, and hCaptcha when Discord asks for a captcha
  • any theme URL you enter
  • Spotify's Web API, for the Spotify controller and Listen Along, with the Spotify token Discord keeps for your connected account
  • the RustCord registry, only if you turn on Settings β†’ Data & Privacy β†’ Show that I use RustCord (off by default). RustCord then says hello every few minutes with a SHA-256 of your user ID, which is what the RustCord badge is made from, and asks about the profiles you open in the same form. The registry stores no IDs, but anyone who already knows an ID can ask whether that person uses RustCord and when they were last seen.
  • GitHub (api.github.com and its release downloads), for automatic updates: an installed RustCord on Windows asks for the latest release a minute after it starts and every 6 hours, unless you turn them off in Settings β†’ About. It sends nothing about you or your account.
πŸ’Ύ What the installer does

It installs for your Windows account only, without administrator rights, into %LOCALAPPDATA%\Programs\RustCord, with a Start menu shortcut, an optional desktop shortcut and an entry in Settings β†’ Apps β†’ Installed apps. A newer installer updates RustCord in place and keeps your settings and login; it warns before replacing a newer version with an older one.

Its last page asks whether to keep RustCord up to date automatically (ticked by default; also under Settings β†’ About). An installed RustCord then looks for a new release on GitHub a minute after it starts and every 6 hours, downloads its installer, checks it against the published SHA-256 and installs it silently for the next start; a green Update Ready! button in the title bar restarts into it.

Uninstalling removes the program, its shortcuts and its Installed apps entry. Your settings and login stay unless you tick Also delete my settings, cache and saved login.

For scripts: RustCordSetup.exe /S [--dir <folder>] [--no-desktop] [--no-launch] [--auto-update | --no-auto-update] installs silently, and rustcord-uninstall.exe /S [--delete-data] removes it.

πŸ—οΈ Architecture

Folder What's in it
apps/rustcord The desktop app: UI (egui), account store, background network thread, demo mode
apps/setup The Windows installer and uninstaller
packaging/linux The Linux package: desktop entry, install script, packing script
packaging/macos The macOS app bundle and .dmg, and the smoke test GitHub runs on it
crates/discord Discord's data models, REST client with rate-limit pacing, gateway
crates/voice Voice calls, camera and Go Live, with end-to-end encryption
crates/rencord Plugin API, built-in plugins and the theme translator
crates/vendor egui's renderer and text engine, patched so text looks as it does in Chrome
server The optional registry behind the RustCord badge (a Cloudflare Worker)

❓ FAQ

Can I get banned for using RustCord?

Any third-party client is against Discord's Terms of Service, so it's possible. RustCord does what it can to look like Discord's own web client: the same identity, the same request pacing and no automation. It can't make guarantees, though.

Is my token safe?

You log in on Discord's own page. RustCord stores the token in Windows Credential Manager (on Linux, your desktop's keyring; on macOS, the Keychain), sends it only to discord.com, never writes it to its logs or cache, and has no server of its own that ever sees it.

Does it run on macOS or Linux?

Both, as experimental builds (see Downloads), macOS on Apple Silicon and Intel. Everything but Go Live screen sharing and the camera; on macOS also no video attachments, desktop notifications or spell checking yet.

Can I use my Vencord plugins?

Not directly. Vencord plugins patch Discord's web code, which RustCord doesn't have. Popular ones are ported to Rencord by hand, and Vencord/BetterDiscord themes work for colours.

Why does it look exactly like Discord?

That's the point: the same Discord you know, without the browser underneath. Sizes, colours, icons and behaviour are taken from Discord's web client and rebuilt natively.

🀝 Contributing

Bug reports, ideas and pull requests are welcome: open an issue to start. Before a pull request, please run cargo test --workspace and cargo clippy --workspace. By contributing you agree that your contribution is released under the project's licence.

Found a security problem? Please report it privately instead of opening an issue (see SECURITY.md).

⭐ Star History

Star history of RustCord

πŸ“œ License

RustCord is released under the PolyForm Noncommercial License 1.0.0:

  • βœ… Use it, change it and share it for free, for anything noncommercial.
  • βœ… Credit is required: every copy and every project built on RustCord's code must keep this line: Required Notice: Copyright (c) 2026 VRonGitHub (https://github.com/VRonGitHub/RustCord)
  • ❌ No commercial use: you may not sell RustCord or a version of it, or use it to make money.

The voice crate (crates/voice) is adapted from an MIT-licensed project and stays under MIT OR Apache-2.0 (see its NOTICE). Third-party code and assets keep their own licences: see THIRD_PARTY_NOTICES.md. Discord's name, logo, artwork and fonts belong to Discord Inc. and its licensors and aren't covered by RustCord's licence.

Made with πŸ¦€ and Rust. Not affiliated with Discord Inc.