بدون توضیح

ayn2op 433da8cd68 Rename configuration fields and UI widgets 3 سال پیش
.github b54dc12d31 Remove -buildmode=pie flag 3 سال پیش
config 433da8cd68 Rename configuration fields and UI widgets 3 سال پیش
discordmd 02a8dbd740 Segregate markdown utilities to discordmd package 3 سال پیش
ui 433da8cd68 Rename configuration fields and UI widgets 3 سال پیش
.gitignore 7ef0f71b7b feat: implement keybindings for opening and downloading attachments (#137) 4 سال پیش
LICENSE 74d731a0e1 Update license and module path 3 سال پیش
Makefile b54dc12d31 Remove -buildmode=pie flag 3 سال پیش
README.md e25ed227be log.txt -> logs.txt 3 سال پیش
go.mod 3c8b6624ca Upgrade dependencies to latest 3 سال پیش
go.sum 3c8b6624ca Upgrade dependencies to latest 3 سال پیش
main.go 433da8cd68 Rename configuration fields and UI widgets 3 سال پیش
out.log 433da8cd68 Rename configuration fields and UI widgets 3 سال پیش

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

Table of Contents

Features

  • 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 (thanks to Alyxia Sother for maintaining the AUR package).
  • FreeBSD: pkg install discordo or via the ports system make -C /usr/ports/net-im/discordo install clean.

Building from source

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

# optional
sudo mv ./discordo /usr/local/bin

Linux clipboard support

  • xclip or xsel for X11.
    • Ubuntu: apt install xclip
    • Arch Linux: pacman -S xclip
    • Fedora: dnf install xclip
  • wl-clipboard for Wayland.
    • Ubuntu: apt install wl-clipboard
    • Arch Linux: pacman -S wl-clipboard
    • Fedora: dnf 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.
  • Most of the Discord third-party clients store the token in a configuration file unencrypted. Discordo securely stores the token in the default OS-specific keyring.

Configuration

A default configuration file is created on first start-up at $HOME/.config/discordo/config.yml on Unix, $HOME/Library/Application Support/discordo/config.yml on Darwin, and %AppData%/discordo/config.yml on Windows.

Similarly, a log file is created on first start-up at $HOME/.cache/discordo/logs.txt on Unix, $HOME/Library/Caches/discordo/logs.txt on Darwin, and %LocalAppData%/discordo/logs.txt on Windows.

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.