[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-11602":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},11602,"concord","chojs23\u002Fconcord","chojs23","A feature-rich TUI client for Discord","",null,"Rust",707,33,3,28,0,50,63,425,150,98.59,"GNU General Public License v3.0",false,"main",true,[27,28,29,30,31],"cli","discord","ratatui","rust","tui","2026-06-12 04:00:55","# Concord\n\n\u003Cimg width=\"1613\" height=\"848\" alt=\"concord - a feature-rich TUI client for\n  Discord\" src=\".\u002Fdocs\u002Fexample.png\" \u002F>\n\nConcord is a feature-rich TUI (terminal user interface) client for Discord, written in Rust with ratatui. Full Discord experience, right in your terminal.\n\n## Installation\n\n### Homebrew\n\n```sh\nbrew install chojs23\u002Ftap\u002Fconcord\n```\n\n### Cargo\n\n```sh\ncargo install concord\n```\n\nTo install the latest unreleased version directly from the Git repository:\n\n```sh\ncargo install --git https:\u002F\u002Fgithub.com\u002Fchojs23\u002Fconcord\n```\n\n### Nix\n\nRun without installing (requires flakes enabled):\n\n```sh\nnix run github:chojs23\u002Fconcord\n```\n\nInstall into your profile:\n\n```sh\nnix profile install github:chojs23\u002Fconcord\n```\n\nOr add the flake as an input in your own `flake.nix`:\n\n```nix\n{\n  inputs.concord.url = \"github:chojs23\u002Fconcord\";\n}\n```\n\nThen reference it as `concord.packages.${system}.default` in your configuration.\n\nA development shell with the pinned Rust toolchain and `rust-analyzer` is also\navailable:\n\n```sh\nnix develop github:chojs23\u002Fconcord\n```\n\n### GitHub Release installer\n\nInstall the latest release with the cargo-dist shell installer:\n\n```sh\ncurl --proto '=https' --tlsv1.2 -LsSf https:\u002F\u002Fgithub.com\u002Fchojs23\u002Fconcord\u002Freleases\u002Flatest\u002Fdownload\u002Fconcord-installer.sh | sh\n```\n\nThe installer places `concord` under `$CARGO_HOME\u002Fbin`, which is usually\n`~\u002F.cargo\u002Fbin`. Make sure that directory is on your `PATH` before running\n`concord`.\n\n### Build from source\n\nYou need the Rust stable toolchain and Cargo.\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Fchojs23\u002Fconcord.git\ncd concord\ncargo build --release\n```\n\nThe release binary is produced at:\n\n```sh\ntarget\u002Frelease\u002Fconcord\n```\n\nBy default, source builds can join voice channels and decode received voice\naudio, but they do not open local audio input or output devices. To build with\nvoice playback and gated microphone transmit, enable the optional\n`voice-playback` feature:\n\n```sh\ncargo build --release --features voice-playback\n```\n\nLinux playback uses the system audio stack through `cpal`. You may need ALSA\ndevelopment files when building from source:\n\n```sh\nsudo apt install libasound2-dev\n```\n\nOn WSLg, audio is usually exposed through PulseAudio instead of a real ALSA\nsound card. If playback does not start, check that PulseAudio and ALSA routing\nwork before debugging Discord voice itself:\n\n```sh\npactl info\npaplay \u002Fusr\u002Fshare\u002Fsounds\u002Falsa\u002FFront_Center.wav\naplay -D pulse \u002Fusr\u002Fshare\u002Fsounds\u002Falsa\u002FFront_Center.wav\n```\n\n## Features\n\nConcord can request joining and leaving Discord voice channels. Default builds\ndo not open local audio devices, while source builds with `--features\nvoice-playback` support voice playback and gated microphone transmit.\n\n### Authentication\n\n- **Token** : paste an existing Discord token.\n- **Email \u002F Password** : login with credentials. MFA (TOTP, SMS) is fully supported.\n- **QR Code** : scan the code from the Discord mobile app.\n\nEmail and QR code logins may trigger a CAPTCHA challenge on Discord's side. We cannot solve that, so I strongly recommend using token authentication.\n\nTokens are saved under Concord's config directory in plain text. See the Security section below for details.\n\n### Guilds & Channels\n\n- Browse servers with guild folder grouping\n- Navigate text channels, threads, and forum channels\n- View and filter forum posts (active \u002F archived)\n- Load pinned messages per channel\n- Open channel actions for pinned messages, thread lists, and mark-as-read\n- Join and leave voice channels\n- Receive voice playback when built with `--features voice-playback`\n- Transmit microphone audio when built with `--features voice-playback`, joined\n  from this Concord session, explicitly allowed, and not self-muted\n- Highlight active voice speakers in voice channel participant rows\n- Track unread messages and mention counts per channel\n- Mute and unmute channels and servers\n\n### Messaging\n\n- Send, edit, and delete messages\n- Reply to specific messages\n- Upload files by copying them from your file manager and pasting them into the composer\n- Use @mention autocomplete while composing messages\n- View full message history with pagination\n- Rich content display (embeds, attachments, stickers, and mentions)\n- Direct message shortcuts for copy, reply, edit, delete, pin\u002Funpin, reactions,\n  image viewing, and profile lookup\n\n#### Markdown Rendering\n\n![Markdown rendering example](.\u002Fdocs\u002Fmarkdown-example.png)\n\nConcord renders a practical subset of Discord-style Markdown in message bodies:\n\n- Headings: `# H1`, `## H2`, `### H3`\n- Quotes: `> quoted text`\n- Bullets: `- item` and `* item`\n- Inline styles: `**bold**`, `*italic*`, and `` `inline code` ``\n- Fenced code blocks with optional language labels, rendered as compact boxes\n\n### Reactions & Polls\n\n- View, add, and remove emoji reactions (Unicode and custom server emoji)\n- Browse who reacted with a specific emoji\n- View and vote on polls\n\n### Media & Images\n\n- Inline image previews directly in the terminal\n- Avatar and custom emoji rendering\n- Download attachments to your platform Downloads directory (`XDG_DOWNLOAD_DIR` on Linux)\n- Large centered image viewer with navigation\n\nImage rendering is powered by [ratatui-image](https:\u002F\u002Fgithub.com\u002Fbenjajaja\u002Fratatui-image). On startup, Concord queries the terminal to detect the best available graphics protocol. Supported protocols:\n\n- **Kitty Graphics Protocol** - Kitty, WezTerm, Ghostty, etc.\n- **iTerm2 Inline Images** - iTerm2, WezTerm, mintty, etc.\n- **Sixel** - foot, mlterm, xterm (if compiled with Sixel support), etc.\n- **Halfblocks** (fallback) - works on any terminal, but uses block characters instead of true pixels.\n\nIf your terminal does not support any graphics protocol, images will be rendered as halfblock approximations. For the best experience, use a terminal that supports the Kitty or iTerm2 protocol.\n\nYou can toggle image viewing on or off in the configuration file. When image viewing is off, attachments and emojis will be shown as text placeholders.\n\n### Members & Profiles\n\n- Member list with grouping\n- Presence indicators (Online, Idle, DND, Offline)\n- User profile popups with guild-specific details\n\n### Typing Indicators & Read State\n\n- Live \"user is typing...\" indicators\n- Unread message tracking with mention counts\n- Mark server, channel as read\n\n### Notifications\n\n- Desktop notifications for Discord messages that pass your Discord\n  notification settings\n- Active channel notifications are suppressed so Concord does not notify for\n  the conversation you are already viewing\n- On macOS, Concord plays one explicit notification sound so focused terminal\n  windows do not silently swallow audible alerts\n\n### Navigation & Keyboard shortcuts\n\nConcord has a four-pane layout like Discord.\n**Guilds (1)**, **Channels (2)**, **Messages (3)**, **Members (4)**\n\nWith vim-style navigation:\n\n| Key                       | Action                               |\n| ------------------------- | ------------------------------------ |\n| `1` `2` `3` `4`           | Focus pane                           |\n| `Tab` \u002F `Shift+Tab`       | Cycle focus forward \u002F backward       |\n| `j` \u002F `k`, arrows         | Move down \u002F up                       |\n| `J`, `K` \u002F `H`, `L`       | Scroll viewport                      |\n| `Ctrl+d` \u002F `Ctrl+u`       | Half-page scroll                     |\n| `Alt+h\u002Fl\u002F←\u002F→`             | Resize focused pane width            |\n| `g` \u002F `G`, `Home` \u002F `End` | Jump or scroll to top \u002F bottom       |\n| `Enter`                   | Open or activate the selected item   |\n| `Space`                   | Open leader shortcut window          |\n| `i`                       | Text insert mode                     |\n| `Esc`                     | Close popup, cancel mode, or go back |\n| `q`                       | Quit                                 |\n\n#### Leader key\n\nPress `Space` to open the leader shortcut window.\n\n| Key sequence     | Action                            |\n| ---------------- | --------------------------------- |\n| `Space`, `1`     | Toggle the Servers pane           |\n| `Space`, `2`     | Toggle the Channels pane          |\n| `Space`, `4`     | Toggle the Members pane           |\n| `Space`, `a`     | Open actions for the focused pane |\n| `Space`, `o`     | Choose concord option category    |\n| `Space`, `v`     | Open voice actions                |\n| `Space`, `Space` | Open the fuzzy channel switcher   |\n\n#### Action menus\n\nFocus a pane, then press `Space`, `a` to open actions for that pane. Action\nshortcuts are shown inside the leader popup and only run when the action is\nenabled. In the Messages pane, the selected message also supports direct\nshortcuts:\n\nMessage shortcuts:\n\n| Shortcut | Action      | Description                                                |\n| -------- | ----------- | ---------------------------------------------------------- |\n| `y`      | Copy        | Copy the selected message text and show a short toast      |\n| `r`      | React       | Open the reaction picker for the selected message          |\n| `R`      | Reply       | Start a reply to the selected message                      |\n| `d`      | Delete      | Open a delete confirmation before deleting the message     |\n| `e`      | Edit        | Start editing the selected message when editing is allowed |\n| `v`      | View image  | Open the selected message's image viewer                   |\n| `p`      | Profile     | Open the selected message author's profile                 |\n| `P`      | Pin \u002F unpin | Open a pin or unpin confirmation for the selected message  |\n\nServer actions:\n\n| Shortcut | Action              | Description                                           |\n| -------- | ------------------- | ----------------------------------------------------- |\n| `m`      | Mark server as read | Mark all unread viewable channels in this server read |\n\nChannel actions:\n\n| Shortcut | Action               | Description                                 |\n| -------- | -------------------- | ------------------------------------------- |\n| `j`      | Join voice           | Join the selected voice channel             |\n| `l`      | Leave voice          | Leave the current voice channel             |\n| `p`      | Show pinned messages | Open the selected channel's pinned messages |\n| `t`      | Show threads         | List threads for the selected channel       |\n| `m`      | Mark as read         | Mark the selected channel read              |\n\nVoice actions:\n\n| Shortcut | Action       | Description                               |\n| -------- | ------------ | ----------------------------------------- |\n| `d`      | Deafen voice | Toggle Concord's Discord voice deaf state |\n| `m`      | Mute voice   | Toggle Concord's Discord voice mute state |\n| `l`      | Leave voice  | Leave the current Concord voice channel   |\n\nWhen the image viewer is open, press `d` to download the current image directly.\n\nHidden side panes give their width back to Messages. Pressing a hidden pane's\nnumber key directly shows and focuses it again.\n\n#### Composer\n\nYou can paste copied files into the composer to attach them. Pending uploads\nare shown above the input before sending.\n\n| Shortcut                  | Action            | Description                                        |\n| ------------------------- | ----------------- | -------------------------------------------------- |\n| `Ctrl+e`                  | open $EDITOR      | Open $EDITOR on the current draft for long editing |\n| `Ctrl+c`                  | clear             | Clear current draft                                |\n| `Ctrl+Left`\u002F `Ctrl+Right` | Jump word         | Jump the cursor by word                            |\n| `Ctrl+Backspace`          | Detach attachment | Removes the last pending attachment                |\n\n#### Mention picker\n\nWhen the @mention picker is open, use `Up` \u002F `Down`,\n`Ctrl+p` \u002F `Ctrl+n`, `Tab`, or `Enter` to choose a mention.\n\n#### Emoji picker\n\nType `:` plus at least two emoji shortcode letters, such as `:he`, to open\nUnicode emoji and current-server custom emoji suggestions. Use `Up` \u002F `Down`,\n`Ctrl+p` \u002F `Ctrl+n`, `Tab`, or `Enter` to choose an emoji. Complete Unicode\nshortcodes such as `:heart:` are converted to their emoji when the message is\nsent; selected custom emojis are sent using Discord's custom emoji markup.\n\n#### Mouse support\n\nMouse support is also available: click to focus or select rows, double-click to\nopen or activate items, and use the wheel to scroll panes and popups.\n\n### Configuration\n\nConcord options are stored under Concord's config directory. If\n`XDG_CONFIG_HOME` is set, Concord uses\n`$XDG_CONFIG_HOME\u002Fconcord\u002Fconfig.toml`. Otherwise it uses the platform config\ndirectory. The usual fallback is `~\u002F.config\u002Fconcord\u002Fconfig.toml` on Linux,\n`~\u002FLibrary\u002FApplication Support\u002Fconcord\u002Fconfig.toml` on macOS, and the roaming\nAppData config directory on Windows.\n\n- Disable all image previews with one master switch\n- Toggle inline image previews\n- Set image preview quality for attachments, embeds, and the image viewer\n- Toggle avatar display\n- Toggle custom emoji rendering\n- Toggle desktop notifications\n- Set your Discord voice mute and deaf state\n- Set microphone and received voice volume from 0 to 100\n- Allow gated microphone transmit while joined from this Concord session and not\n  self-muted\n\nYou can change these from the in-app Options menu, and Concord saves them back\nto the config file.\n\nExample:\n\n```toml\n[display]\ndisable_image_preview = false\nshow_avatars = true\nshow_images = true\nimage_preview_quality = \"balanced\"\nshow_custom_emoji = true\n\n[notifications]\ndesktop_notifications = true\n\n[voice]\nself_mute = false\nself_deaf = false\nallow_microphone_transmit = false\nmicrophone_sensitivity = -30\nmicrophone_volume = 100\nvoice_output_volume = 100\n```\n\n`image_preview_quality` supports these values:\n\n- `efficient`: smaller preview requests to reduce bandwidth and memory use.\n- `balanced`: default quality with bounded resource use.\n- `high`: sharper resized previews using lossless quality.\n- `original`: request the original source image for previews when possible.\n\nThis setting only applies to attachment, embed, and image viewer previews.\nAvatars and custom emoji keep their separate small-image behavior.\n\n`desktop_notifications` under `[notifications]` controls OS notifications for Discord messages that\npass Discord notification settings. On macOS, Concord keeps the visual\nnotification and audible alert separate to avoid duplicate sounds while still\nplaying a sound when the terminal app is focused.\n\n`self_mute` and `self_deaf` under `[voice]` control the voice state Concord\nsends when joining, leaving, or updating your current Discord voice channel.\n`self_deaf` also mutes Concord's local playback and clears buffered received\naudio.\n\n`allow_microphone_transmit` is a local safety gate. When built with\n`voice-playback`, turning it on may open microphone input and transmit voice\nonly while this Concord session is joined to voice and `self_mute` is false.\nMicrophone input is converted to Discord's 48 kHz voice format before Opus\nencoding. Concord sends Discord Speaking on\u002Foff around transmitted audio, and\ntransmit stops when the gate closes, the app leaves voice, or the voice session\nends. If Discord DAVE encryption is required but outbound encryption is not\nready, Concord fails closed instead of sending plaintext audio.\n\n`microphone_sensitivity` controls how loud a 20 ms microphone frame must be\nbefore Concord transmits it. It accepts an integer dB threshold from `-100` to\n`0`. Lower values transmit quieter input. The default is `-30`, which filters\nsmall ambient noise so the active speaker indicator does not stay green all the\ntime. `microphone_volume` and `voice_output_volume` accept `0` to `100` percent\nand default to `100`, which preserves the normal audio level. Press `Space`,\n`o`, `d` for display options, `Space`, `o`, `n` for notification options, or\n`Space`, `o`, `v` for voice options. In Voice Options, select Microphone\nsensitivity and press `h`\u002F`l` to adjust by 1 dB or `H`\u002F`L` to adjust by 10 dB.\nThe microphone and voice volume rows use the same keys to adjust by 1 or 10\npercent.\n\n## Performance\n\nConcord is designed to stay lightweight in normal terminal use. In observed\ntypical use, it usually uses about 20-40 MB of memory.\n\nImage-heavy screens can temporarily use more memory because compressed image\nbytes need to be decoded before they can be rendered in the terminal. When many\nimages are loaded, memory can briefly rise to around 100-200 MB while decoding\nand then drop again as work completes and caches are pruned.\n\nTo keep resource usage bounded, Concord limits media work in several places:\n\n- Attachment previews are downloaded with an 8 MiB per-preview cap.\n- Attachment downloads are capped at 64 MiB.\n- Up to 4 attachment previews are fetched at once.\n- Up to 2 inline image previews are decoded at once.\n- Inline image previews, avatars, and custom emoji use small LRU caches.\n- Image preview requests prefer resized Discord proxy URLs sized for the\n  terminal instead of original full-size media when possible.\n- The preview quality preset can lower preview source dimensions or opt into\n  original source images. It does not change avatar or custom emoji sizing.\n\nMessage history is also cached with a per-channel limit, so long-running\nsessions do not keep every message in memory forever.\n\n## FAQ\n\n### Can my account be blocked?\n\nHonestly, no.\n\nIn day-to-day use, I have not seen an account block after several months of using Concord.\nThere was one path that did trigger a temporary 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) immediately blocked my account for 30 minutes. That feature has been removed. Other supported features have not caused blocks in my testing.\n\nThat 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.\n\n### Does Concord support CAPTCHA?\n\nNo. If Discord requires a CAPTCHA during login, use token login instead.\n\n## Security\n\n- Tokens are stored as **plain text** in Concord's config directory. So keep that file secure and do not share it. You can use the token from that file to log in to the official Discord client, so treat it like a password.\n- On Unix, the credential's parent directory is created with `0700` and the credential file with `0600` permissions.\n- All concord state (config, credential, log) lives under a single `concord\u002F` directory inside `XDG_CONFIG_HOME` when it is set, or inside the platform config directory otherwise.\n- No system keychain integration yet.\n\n## Contributing\n\nAny issues, pull requests, and feedback are welcome. See [CONTRIBUTING.md](.\u002FCONTRIBUTING.md) for details.\n\n## License\n\nConcord is licensed under GPL-3.0-only.\n","Concord 是一个功能丰富的 Discord 终端用户界面客户端，使用 Rust 和 ratatui 编写。它提供了完整的 Discord 体验，包括文本聊天、语音频道加入与离开等功能，并支持多种身份验证方式（如令牌、邮箱\u002F密码、二维码登录）。Concord 支持通过 Homebrew、Cargo、Nix 等多种方式进行安装，且源码构建时可选开启语音播放和麦克风传输功能。该项目适用于偏好命令行界面或需要在终端环境下使用 Discord 的开发者和技术爱好者。",2,"2026-06-11 03:32:08","CREATED_QUERY"]