Nav apraksta

ayn2op a0ec15de60 Revert "refactor: wrap state in *ningen.State" 1 gadu atpakaļ
.github d76a7db668 Change CI os label name 2 gadi atpakaļ
cmd a0ec15de60 Revert "refactor: wrap state in *ningen.State" 1 gadu atpakaļ
internal f9c28440d2 Remove markdown test 2 gadi atpakaļ
pkg affce8159c refactor: use go 1.23 iterators 1 gadu atpakaļ
.gitignore 7ef0f71b7b feat: implement keybindings for opening and downloading attachments (#137) 4 gadi atpakaļ
LICENSE 74d731a0e1 Update license and module path 3 gadi atpakaļ
README.md 017b9ca2eb docs(README): add instructions to install using Scoop (thanks @vvirtues) (#409) 1 gadu atpakaļ
go.mod a0ec15de60 Revert "refactor: wrap state in *ningen.State" 1 gadu atpakaļ
go.sum a0ec15de60 Revert "refactor: wrap state in *ningen.State" 1 gadu atpakaļ
main.go d465ede6d8 Implement vi interface (#372) 2 gadi atpakaļ

README.md

Discordo · ci Go Report Card license

Discordo is a lightweight, secure, and feature-rich Discord terminal client. Heavily work-in-progress, expect breaking changes.

Preview

  • Lightweight
  • Secure
  • Configurable
  • Cross-platform
  • Minimalistic
  • Feature-rich

Installation

Prebuilt binaries

You can download and install a prebuilt binary here for Windows, macOS, or Linux.

Package managers

  • Arch Linux: yay -S discordo-git
  • FreeBSD: pkg install discordo or via the ports system make -C /usr/ports/net-im/discordo install clean.
  • NixOS: nix-shell -p discordo

  • Windows (Scoop):

    scoop bucket add vvxrtues https://github.com/vvirtues/bucket
    scoop install discordo
    

Building from source

git clone https://github.com/ayn2op/discordo
cd discordo
go build .

Linux clipboard support

  • xclip or xsel for X11 (apt install xclip)
  • wl-clipboard for Wayland (apt install wl-clipboard)

Usage

  1. Run the discordo executable with no arguments.

If you are logging in using an authentication token, provide the token command-line flag to the executable (eg: --token "OTI2MDU5NTQxNDE2Nzc5ODA2.Yc2KKA.2iZ-5JxgxG-9Ub8GHzBSn-NJjNg"). The token is stored securely in the default OS-specific keyring.

  1. Enter your email and password and click on the "Login" button to continue.

Configuration

The configuration file allows you to configure and customize the behavior, keybindings, and theme of the application.

  • Unix: $XDG_CONFIG_HOME/discordo/config.toml or $HOME/.config/discordo/config.toml
  • Darwin: $HOME/Library/Application Support/discordo/config.toml
  • Windows: %AppData%/discordo/config.toml

    mouse = true
    
    timestamps = false
    timestamps_before_author = false
    timestamps_format = "3:04PM"
    
    messages_limit = 50
    editor = "default"
    
    [keys]
    focus_guilds_tree = "Ctrl+G"
    focus_messages_text = "Ctrl+T"
    focus_message_input = "Ctrl+P"
    toggle_guild_tree = "Ctrl+B"
    select_previous = "Rune[k]"
    select_next = "Rune[j]"
    select_first = "Rune[g]"
    select_last = "Rune[G]"
    
    [keys.guilds_tree]
    select_current = "Enter"
    
    [keys.messages_text]
    select_reply = "Rune[s]"
    reply = "Rune[r]"
    reply_mention = "Rune[R]"
    delete = "Rune[d]"
    yank = "Rune[y]"
    open = "Rune[o]"
    
    [keys.message_input]
    send = "Enter"
    editor = "Ctrl+E"
    cancel = "Esc"
    
    [theme]
    border = true
    border_color = "default"
    border_padding = [0, 0, 1, 1]
    title_color = "default"
    background_color = "default"
    
    [theme.guilds_tree]
    auto_expand_folders = true
    graphics = true
    
    [theme.messages_text]
    author_color = "aqua"
    reply_indicator = "╭ "
    

Disclaimer

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.