暫無描述

ayntgl fcd52c361e fix: load configuration file if token is not provided (#199) 3 年之前
.github 6d589a5e99 ci: update go & actions' version (#197) 3 年之前
config c6393e2a1f feat(ui): support tab to focus next widget & back tab (Shift + Tab) to focus previous widget (#196) 3 年之前
ui c6393e2a1f feat(ui): support tab to focus next widget & back tab (Shift + Tab) to focus previous widget (#196) 3 年之前
.gitignore 7ef0f71b7b feat: implement keybindings for opening and downloading attachments (#137) 4 年之前
LICENSE badcf70953 Update LICENSE copyright holder name 4 年之前
Makefile a7b314cf32 build(Makefile): add -buildmode=pie to go build flags 4 年之前
README.md fcd52c361e fix: load configuration file if token is not provided (#199) 3 年之前
go.mod fcd52c361e fix: load configuration file if token is not provided (#199) 3 年之前
go.sum fcd52c361e fix: load configuration file if token is not provided (#199) 3 年之前
main.go fcd52c361e fix: load configuration file if token is not provided (#199) 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

Building from source

git clone https://github.com/ayntgl/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 to log in using email and password. If you are using a token to log in, set the token flag to the token that you want to log in with.
  • Note: If you are logging in with a bot account, prefix the token with Bot (eg: discordo --token "Bot OTI2MDU5NTQxNDE2Nzc5ODA2.Yc2KKA.2iZ-5JxgxG-9Ub8GHzBSn-NJjNg"). Furthermore, it is strongly recommended to change the user agent for HTTP requests from the configuration file if you are using a bot account to log in since the default user agent is that of a browser.
  1. If you are logging in with your email and password, enter your email and password (first-time login) and click on the "Login" button to continue.
  • Note: Your email and password are not stored locally. 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.lua on Unix, $HOME/Library/Application Support/discordo/config.lua on Darwin, and %AppData%/discordo/config.lua on Windows. You can configure the default configuration directory path using the config command-line flag (eg: `discordo --config $HOME/my-custom-dir).

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.