Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Concord
Concord is a feature-rich TUI client for Discord, written in Rust with ratatui.
Table of contents
Installation
Release builds include voice playback and stream broadcasting.
Cargo
Cargo installations compile Concord locally and require the build dependencies listed below.
Homebrew
# or install the latest release from tap
npm
Nix
# nixpkgs
# Latest GitHub release
Gentoo
This package is maintained by a community contributor and is not yet available in Gentoo GURU.
Install the darwincereska overlay:
Prebuilt releases
Download an archive for Linux, macOS, or Windows from the latest GitHub release, or run the release installer:
|
powershell -ExecutionPolicy Bypass -c "irm https://github.com/chojs23/concord/releases/latest/download/concord-installer.ps1 | iex"
The installer places concord under $CARGO_HOME/bin.
Runtime requirements
macOS 13 or later is required. Linux release builds need these packages:
# Fedora
# Debian or Ubuntu
# Arch Linux
Screen sharing requires the portal backend for your desktop environment.
Build from source
Install the Rust stable toolchain and the native dependencies for your platform:
# macOS
# Fedora
# Debian or Ubuntu
# Arch Linux
Windows source builds require the MSVC Rust toolchain, Visual Studio 2022 Build Tools with Desktop development with C++, CMake, and NASM.
To keep voice support without stream broadcasting:
To build without local voice playback, microphone, or stream broadcasting:
The same feature flags can be passed to cargo install concord --locked.
Features
Authentication
- Token : paste an existing Discord token.
- Email / Password : login with credentials. MFA (TOTP, SMS) is fully supported.
- QR Code : scan the code from the Discord mobile app.
- CONCORD_TOKEN env var : set
CONCORD_TOKEN=your-tokenbefore launching Concord. It overrides everycredentials.storemode (auto,keychain,plain).
Email and QR code logins may trigger a CAPTCHA challenge on Discord's side. We cannot solve that, so I strongly recommend using token authentication.
By default, tokens are saved in the system keychain when available. In the
default auto mode, Concord falls back to its state directory when keychain
storage is unavailable. See the Security section below for details.
Voice calls
- Voice calls with push-to-talk
- Noise suppression
- Watch and broadcast screen shares
Guilds & Channels
- View, filter, and create forum/media posts (active / archived)
- Switch channels, threads, and posts with the fuzzy channel switcher (
Space,Space)
Messaging
- Search messages with filters using
/ @mentionautocomplete- Send custom emoji your account cannot use directly as image links when enabled
- Rich content display (embeds, attachments, stickers, and mentions)
- Detect URLs in message bodies and markdown links, then open them in your default browser
Markdown Rendering & Code syntax highlighting

Concord renders a practical subset of Discord-style Markdown in message bodies:
- Headings:
# H1,## H2,### H3 - Quotes:
> quoted text - Bullets:
- itemand* item - Inline styles:
**bold**,*italic*,__underline__,~~strikethrough~~, and`inline code` - Fenced code blocks with optional language labels, rendered as compact boxes with syntax highlighting
- Raw URLs and markdown link destinations are underlined and can be opened from message actions
Media Support
Image rendering is powered by ratatui-image. On startup, Concord queries the terminal to detect the best available graphics protocol. Supported protocols:
- Kitty Graphics Protocol - Kitty, WezTerm, Ghostty, etc.
- iTerm2 Inline Images - iTerm2, WezTerm, mintty, etc.
- Sixel - foot, mlterm, xterm (if compiled with Sixel support), etc.
- Halfblocks (fallback) - works on any terminal, but uses block characters instead of true pixels.
Check the compatibility matrix for terminals that support each protocol.
External media playback is off by default. You can enable it with Display options menu.
Video and audio playback, including live streams, uses mpv. Make sure mpv is installed and in your PATH.
YouTube playback depends on your local mpv setup, such as yt-dlp support.
To broadcast, join a voice channel, open its channel actions, choose
Share screen or use <leader>vs voice shortcut.
Linux screen capture depends on the active X11 or Wayland support.
Rich Presence
- Concord serves the local
discord-ipcsocket, detects connected apps, and lets you pick which one to share from your profile's activity picker - Only apps that speak Discord's Rich Presence (RPC/IPC) protocol are detected.
- Toggle with
share_rich_presenceunder[presence]inconfig.toml
Notifications
- Notification inbox (
<leader>n) with Unreads and Mentions tabs. - Custom notification sounds using WAV files
- Voice join and leave notification sounds while you are connected to voice
Navigation & Keyboard shortcuts
⚠️ Keymap action names and default bindings may have breaking changes between releases.
All default key settings in this section can be customized. See Keymap options for the config and supported actions.
With default vim-style navigation:
| Key | Action |
|---|---|
1 2 3 4 |
Focus pane |
Tab / Shift+Tab |
Cycle focus forward / backward |
h / l, ← / → |
Move focus left / right |
j / k, ↑ / ↓, Ctrl+n / Ctrl+p |
Move down / up |
J, K / H, L |
Scroll viewport |
Ctrl+d / Ctrl+u |
Half-page scroll |
Alt+h/l/←/→ |
Resize focused pane width |
gg / G |
Jump or scroll to top / bottom |
Enter |
Open or activate the selected item |
/ |
Filter Guilds/Channels, search Messages/Members |
Space |
Open leader shortcut window |
i |
Text insert mode, or forum post composer |
Esc / q |
Close popup, cancel mode, or go back |
q |
Quit Concord |
Ctrl+n and Ctrl+p are fixed row movement keys. The default j and k
row movement keys are SelectNext and SelectPrevious and can be changed in
keymap.toml.
Leader key
Press Space to open the leader shortcut window.
| Key sequence | Action |
|---|---|
Space, 1 |
Toggle the Servers pane |
Space, 2 |
Toggle the Channels pane |
Space, 4 |
Toggle the Members pane |
Space, a |
Open actions for the focused pane |
Space, p |
Open my profile settings |
Space, o |
Choose concord option category |
Space, n |
Open the notification inbox |
Space, v |
Open voice shortcuts |
Space, Space |
Open the fuzzy channel switcher |
Message shortcuts
These shortcuts act on the selected message when the Messages pane is focused.
| Key | Action |
|---|---|
y |
Copy message text |
r |
Add or remove a reaction |
R |
Reply |
d |
Delete |
e |
Edit |
o |
Open URL |
x |
Play video or audio |
v |
Open the attachment viewer |
Action menus
Press Space, a to open actions for the focused pane. The menu shows the
available shortcuts and dims actions that do not apply to the current
selection.
Composer
The composer supports copied file attachments and editing the current draft in
$EDITOR. Pending uploads appear above the input before sending.
Emoji picker
Supports searching and selecting emoji with the picker. Press : to open the
picker, then type to filter.
When emojis_as_links is enabled, custom emoji your account cannot send
directly are inserted as Discord image links instead.
Bot commands
When the composer input starts with /, Concord shows available application
commands.
Configuration
Concord reads config.toml, keymap.toml, and theme.toml from
$XDG_CONFIG_HOME/concord when XDG_CONFIG_HOME is set, or from the platform
config directory otherwise.
Machine-local UI state and fallback credentials are stored in
$XDG_STATE_HOME/concord, or in ~/.local/state/concord when
XDG_STATE_HOME is not set.
App options
[]
# Image protocol: auto, iterm2, kitty, sixel, or halfblocks.
= "auto"
# Master switch that hides all image previews when true.
= false
# Show user avatars next to messages and in profile views.
= true
# Render inline image previews for attachments and embeds.
= true
# Allow video and audio media to open in an external player.
= false
# Preview quality: efficient, balanced, high, or original.
= "balanced"
# Attachment viewer quality: efficient, balanced, high, or original.
= "original"
# Render custom Discord emoji as images when possible.
= true
# Crop avatars into circles instead of showing square images.
= false
[]
# Send custom emoji your account cannot use directly as image links.
= false
[]
# Relay Rich Presence from local apps as your activity.
= true
[]
# Credential storage: auto, keychain, or plain.
# auto tries the system keychain first and falls back to the state file.
= "auto"
[]
# Show desktop notifications for Discord messages that pass notification rules.
= true
# Optional notification icon to include in notifications. May not work on all platforms.
# When unset, no icon is used. It must either be a name of an icon (typically in /usr/share/icons)
# or a path to an icon.
= "/path/to/icon.svg"
# Optional WAV files for message, voice join/leave notification sounds.
# When unset, Concord uses built-in generated tones.
= "/path/to/message.wav"
= "/path/to/join.wav"
= "/path/to/leave.wav"
[]
# Join or update Discord voice with Concord self-muted.
= false
# Join or update Discord voice with Concord self-deafened.
= false
# Optional CPAL device IDs chosen from Voice Options. When omitted or no longer
# available, Concord uses the current system default input or output device.
# input_source = "CoreAudio:input-id"
# output_source = "CoreAudio:output-id"
# Allow microphone transmit while this session is joined and not self-muted.
= false
# Require holding the configured shortcut to transmit.
= false
# Global push-to-talk shortcut. The key works even when Concord is not focused.
# Modifiers can be combined before the key, for example "control+shift+F8".
= "F8"
# Reduce steady background microphone noise.
= true
# Voice activity threshold in dB. Lower values transmit quieter input.
= -30
# Microphone input volume percentage, from 0 to 200.
= 100
# Received voice playback volume percentage, from 0 to 200.
= 100
macOS may require Input Monitoring permission for Concord or the terminal that started it. On Linux Wayland, the compositor manages global shortcuts, so Concord cannot guarantee that the shortcut input also reaches the focused application.
Key bindings
See Keymap options for the config format and supported actions.
[]
= "space"
= "i"
= "/"
= "q"
= "1"
= "2"
= "3"
= "4"
= "j"
= "k"
= { = ["tab", "l", "right"] }
= { = ["<S-tab>", "h", "left"] }
= "<C-d>"
= "<C-u>"
= "J"
= "K"
= "gg"
= "G"
= "H"
= "L"
= { = ["<A-h>", "<A-left>"] }
= { = ["<A-l>", "<A-right>"] }
= "q"
= "y"
= "r"
= "R"
= "d"
= "e"
= "o"
= "x"
= "v"
= "<leader>1"
= "<leader>2"
= "<leader>4"
= "<leader>a"
= "<leader>p"
= "<leader>o"
= "<leader>n"
= "<leader><leader>"
= "<leader>vd"
= "<leader>vm"
= "<leader>vs"
= "<leader>vl"
[]
= "Voice"
[]
= "r"
= "a"
[]
= "m"
= "u"
= "l"
= "r"
[]
= "e"
= "l"
= "s"
= "w"
= "a"
= "p"
= "t"
= "m"
= "u"
[]
= "y"
= "r"
= "R"
= "d"
= "e"
= "o"
= "D"
= "x"
= "v"
= "g"
= "p"
= "P"
= "t"
= "u"
= "c"
[]
= "p"
[]
= "m"
= "f"
= "c"
= "l"
= "e"
= "y"
= "u"
= "n"
= "P"
= "d"
= "i"
[]
= "<C-e>"
= "<C-v>"
= { = ["<C-j>", "<S-enter>", "<C-enter>", "<A-enter>"] }
= "enter"
= "esc"
= "<C-c>"
= "delete"
= "backspace"
= { = ["<A-backspace>", "<C-backspace>", "<C-w>"] }
= "<C-u>"
= "<C-k>"
= "up"
= "down"
= "<C-left>"
= "left"
= "<C-right>"
= "right"
= "home"
= "end"
= "<A-p>"
Theme
See Theme options for available groups, values, and border shapes.
# Complete Highlight Group reference with Concord's built-in defaults.
# Copy this configuration to `theme.toml` in the Concord config directory,
# then keep only the groups you want to override.
#
# A group accepts `link`, `foreground`, `background`, `bold`, `italic`, `dim`,
# `underline`, and `strikethrough`. Colors accept `none`, `terminal_default`, a
# canonical lowercase ANSI name, or six-digit RGB such as `#39ff14`. `none`
# clears that color channel after inheritance. A linked group inherits fields
# it does not set. Use `link = "none"` to detach a built-in link.
# Border shapes are UI geometry rather than Highlight Group styles. An omitted
# surface uses `default`. These values reproduce Concord's built-in layout.
[]
= "plain"
= "rounded"
= "rounded"
= "rounded"
[]
= "terminal_default"
= "terminal_default"
[]
= true
[]
= true
[]
= true
[]
= "Strong"
[]
= "Strong"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
[]
= "Muted"
= true
[]
= "Muted"
= true
[]
= "Title"
= "cyan"
[]
= "Muted"
[]
= "Title"
[]
= "Title"
[]
= "Title"
[]
= "Title"
= "cyan"
[]
= "Muted"
[]
= "Strong"
[]
= "Timestamp"
[]
= "Heading"
[]
= "Heading"
[]
= "Muted"
[]
= "Muted"
[]
= "Emphasis"
[]
= "Strong"
= "blue"
[]
= "Strong"
= true
[]
= "Muted"
= true
[]
= "Border"
= true
[]
= "ScrollbarThumb"
= true
[]
= "Unavailable"
[]
= "Error"
= true
[]
= "Warning"
= true
[]
= "dark_gray"
[]
= "cyan"
[]
= "cyan"
= "none"
= true
= false
[]
= "green"
= true
[]
= "Border"
[]
= "FocusBorder"
= true
[]
= "FocusBorder"
[]
= "Border"
[]
= "FocusBorder"
= true
[]
= "FocusBorder"
= true
[]
= "FocusBorder"
[]
= "Selection"
[]
= "Selection"
[]
= "cyan"
= true
[]
= "Selection"
[]
= "SelectionBorder"
[]
= "FocusBorder"
[]
= "SelectionBorder"
[]
= "#AAAAAA"
[]
= "cyan"
= true
[]
= "yellow"
[]
= "cyan"
[]
= "yellow"
[]
= "green"
[]
= "#B48C00"
[]
= "red"
[]
= "Normal"
= true
[]
= "yellow"
[]
= "yellow"
= true
[]
= "cyan"
[]
= "green"
= true
[]
= "#FFA500"
[]
= "terminal_default"
[]
= "terminal_default"
[]
= "#FFA500"
[]
= "terminal_default"
[]
= "yellow"
= true
[]
= "green"
= true
[]
= "cyan"
[]
= "cyan"
[]
= "green"
[]
= "yellow"
[]
= "yellow"
[]
= "red"
[]
= "terminal_default"
= true
[]
= "cyan"
[]
= "terminal_default"
[]
= "Heading"
= "cyan"
[]
= "Heading"
= true
[]
= "Heading"
[]
= "dark_gray"
[]
= "dark_gray"
[]
= "cyan"
[]
= "MessageAttachment"
= true
[]
= "#FFA500"
[]
= "cyan"
= true
[]
= "yellow"
= "#5C4C23"
[]
= "#C1CEF7"
= "#28325C"
[]
# Discord supplies the foreground and a darker role-color background by default.
# This group controls colored role mentions that do not notify the current user.
# Notifying role mentions use MentionSelf with the Discord role foreground.
[]
= "magenta"
[]
= "red"
[]
= "blue"
= true
[]
= "MessageSecondary"
= "#5865F2"
[]
= "cyan"
= true
[]
= "terminal_default"
= true
[]
= "terminal_default"
= true
[]
= "terminal_default"
= "#5865F2"
[]
= "#ED4245"
[]
= "yellow"
= true
[]
= "Normal"
= "#5865F2"
= true
[]
= "red"
[]
= "yellow"
[]
= "green"
[]
= "cyan"
Performance
Concord is designed to stay lightweight in normal terminal use. In observed typical use, it usually uses about 20-40 MB of memory.
Image-heavy screens can temporarily use more memory because compressed image bytes need to be decoded before they can be rendered in the terminal. When many images are loaded, memory can briefly rise to around 100-200 MB while decoding and then drop again as work completes and caches are pruned.
FAQ
Can my account be blocked?
There are some path that did trigger a temporary block:
- If your account is new or has a low reputation, some actions may trigger a block.
- Trying to create a new DM channel and send a message to an unknown user(meaning there was no pre-existing DM created through the Discord client) can immediately block your account temporarily.
- Sending a message in an existing one-to-one DM may also trigger a temporary account block if you only recently started messaging that person or have little conversation history with them.
- Some features that requires a hCapcha challenge.
Other features have not caused blocks in my testing.
That said, Concord is not an official Discord client. Using unofficial clients, automated user accounts, or self-bots can violate Discord's TOS, so there is always some risk. Use it at your own discretion.
Security
- By default, tokens are stored in the system keychain when available.
- The
CONCORD_TOKENenvironment variable lets you provide a token without writing it to disk. This avoids leaving plaintext on disk, but the token is visible in/proc/<pid>/environand in process listings while Concord is running. - In
credentials.store = "auto", Concord falls back to plain text credentials under Concord's state directory when keychain storage is unavailable. Inkeychainmode, Concord does not fall back to plain storage. Keep fallback credential files secure and do not share them. You can use a token from that file to log in to the official Discord client, so treat it like a password. - On Unix, the fallback credential's parent directory is created with
0700and the credential file with0600permissions.
Contributing
Any issues, pull requests, and feedback are welcome. See CONTRIBUTING.md for details.
License
Concord is licensed under GPL-3.0-only.