Ei kuvausta

Ohkthx 401c0635cf feat: add config flag to specify different path (#292) 3 vuotta sitten
.github 79d3baf0d8 Update preview 3 vuotta sitten
internal 401c0635cf feat: add config flag to specify different path (#292) 3 vuotta sitten
man 401c0635cf feat: add config flag to specify different path (#292) 3 vuotta sitten
pkg 2f76dcb84e Add test cases for markdown package 3 vuotta sitten
.gitignore 7ef0f71b7b feat: implement keybindings for opening and downloading attachments (#137) 4 vuotta sitten
LICENSE 74d731a0e1 Update license and module path 3 vuotta sitten
README.md 401c0635cf feat: add config flag to specify different path (#292) 3 vuotta sitten
attachment_image.go 5466aa84b1 Create MainFlex struct 3 vuotta sitten
go.mod 73fba28bd7 build: upgrade deps to latest 3 vuotta sitten
go.sum 73fba28bd7 build: upgrade deps to latest 3 vuotta sitten
guilds_tree.go bd5c5f0e96 Sort channels from newest to oldest 3 vuotta sitten
main.go 401c0635cf feat: add config flag to specify different path (#292) 3 vuotta sitten
main_flex.go a4152d4928 feat: toggle guilds tree using keybinding (#297) 3 vuotta sitten
message_input.go c452178438 refactor: remove impossible condition 3 vuotta sitten
messages_text.go 5466aa84b1 Create MainFlex struct 3 vuotta sitten
state.go 652083ad94 Assign to discordState directly from openState func 3 vuotta sitten

README.md

Discordo · ci Go Report Card license discord

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
go build .

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

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.
  • 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.

Optionally, you can specify an alternative configuration file location with the config command-line flag to the executable (eg: --config OPTIONAL/PATH/HERE.yml).

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.