|
|
3 tuần trước cách đây | |
|---|---|---|
| .github | 1 tháng trước cách đây | |
| cmd | 1 tháng trước cách đây | |
| internal | 3 tuần trước cách đây | |
| research | 1 tháng trước cách đây | |
| .gitignore | 11 tháng trước cách đây | |
| CLAUDE.md | 3 tuần trước cách đây | |
| LICENSE | 1 năm trước cách đây | |
| PKGBUILD | 1 tháng trước cách đây | |
| README.md | 3 tuần trước cách đây | |
| go.mod | 1 tháng trước cách đây | |
| go.sum | 1 tháng trước cách đây | |
| images.plan | 1 tháng trước cách đây | |
| main.go | 4 tháng trước cách đây |
A fork of discordo — a lightweight Discord terminal client — with enhanced navigation, media support, and security hardening.
mpv by default) with X11 geometry auto-detectionS saves the selected message's image attachment to a configurable directory/ opens fuzzy search over current channel messagesT navigates into threade opens emoji picker to add reactions (common unicode + guild custom emoji). v shows who reacted with each emoji in a popup.Z toggles collapsing reply quotes to a compact > indicatort toggles timestamps on/off at runtimew shows author info popup (username, join date, roles): opens vim-style command input (:q, :quit, :logout)? toggles full help overlay, E edits config from helpi returns to input)exec.LookPath, atomic state writes, direct exec.Command (no shell), environment token warningsudo pacman -S go mpv xdotool wl-clipboard
go — Go compiler (1.26+)mpv — media player used as image viewer (supports jpeg/png/webp/gif with animation)xdotool — used to detect terminal window geometry on X11 (optional, image viewer still works without it)wl-clipboard — clipboard support on Wayland (skip if using X11)git clone https://gogs.altsol.dev/claude/discordo-plus.git
cd discordo-plus
# Option 1: Install via pacman (Arch Linux)
makepkg -si
# Option 2: Manual install
go build -o discordo-plus .
sudo install -Dm755 discordo-plus /usr/local/bin/discordo-plus
discordo-plus
On first launch, enter your Discord token or scan the QR code to log in.
Config file location: ~/.config/discordo/config.toml
The default config is used if no file exists. See the default config for all options.
# External image viewer (must accept a file path as first argument)
# When set to "mpv", auto-adds --geometry, --force-window, --loop-file flags
# Set to "default" to use xdg-open
image_viewer = "mpv"
# Directory for saved images (supports ~/, empty = current directory)
image_save_dir = "~/Pictures/discordo"
[keybinds.messages_list]
# Open attachments/links from selected message
open = "o"
# Save image attachment from selected message
save_image = "S"
xdotool is used to detect terminal geometry so mpv opens at the same position and size as your terminal. Without xdotool, mpv opens at its default position.xdotool doesn't work — use compositor window rules instead (e.g., sway: for_window [app_id="mpv"] floating enable, move position center)imv, nsxiv, feh — set via image_viewer in config. Geometry detection only applies to mpv.Run the discordo executable with no arguments.
Enter your token and click on the "Login" button to save it.
Set the value of the DISCORDO_TOKEN environment variable to the authentication token to log in with.
[!WARNING] Environment variables are visible to all processes running as the same user (via
/proc/PID/environon Linux). Prefer the keyring for interactive use. Only useDISCORDO_TOKENin controlled environments (e.g., systemd units with protectedEnvironmentFile=).
DISCORDO_TOKEN="your-token-here" discordo-plus
Run the discordo executable with no arguments.
Click on the "Login with QR" button.
Follow the instructions in the QR Login screen.
The configuration file allows you to configure and customize the behavior, keybindings, and theme of the application.
$XDG_CONFIG_HOME/discordo/config.toml or $HOME/.config/discordo/config.toml$HOME/Library/Application Support/discordo/config.toml%AppData%/discordo/config.tomlDiscordo uses the default configuration if a configuration file is not found in the aforementioned path; however, the default configuration file is not written to the path. The default configuration can be found here.
[!IMPORTANT] Automated user accounts or "self-bots" are against Discord's Terms of Service. I am not responsible for any loss caused by using "self-bots" or Discordo.
Copyright (C) 2025-present ayn2op
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for the full license text.