Home

Awesome

<h1 align="center">Deprecated</h1> <p align="center"> 6cord has been deprecated in favor of [gtkcord3](https://github.com/diamondburned/gtkcord3). Important bugs may not be fixed, but PRs are still welcomed. </p> <h1 align="center">6cord</h1> <p align="center"> <a href="https://liberapay.com/diamondburned/donate"> <img align="center" alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"> </a> <img src="https://gitlab.com/diamondburned/6cord/raw/master/_screenshots/latest.png" /> <img src="https://u.cubeupload.com/diamondburned/MCz9fP.png" /> </p>

Installation

Method 1. (recommended, precompiled binaries)

Linux Linux (no dbus) Linux (arm64) Windows

Only do this if the CI passed (a green tick in the commit bar)

Method 2. (building from source)

git clone https://gitlab.com/diamondburned/6cord
cd 6cord && go build
./6cord

# Optional
mkdir -p ~/bin/
mv ./6cord ~/bin/
echo PATH="$HOME/bin:$PATH" >> ~/.bashrc && . ~/.bashrc # or any shellrc

Method 3. (package manager)

# Arch Linux, using your favourite AUR helper:
yay install 6cord
# Alternatively you can install '6cord-git'
# which is the latest development version.

# FreeBSD:
pkg install 6cord

# Void Linux:
xbps-install 6cord

# Alpine Linux (in the testing repo):
apk add 6cord

Getting the token

This is possible from both the web client and the Electron client.

  1. Hit <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd>
  2. Switch to the Network tab
  3. Find Discord API requests. This is usually called messages, ack, typing, etc
  4. Search for the Authorization header. This is the token.

Running 6cord with the token

./6cord -t "TOKEN_HERE"

Additional things

Quirks

Additional keybinds

command-prefix

Color support

6cord runs in 256 color mode most of the time. To force true color, run:

TERM=xterm-truecolor ./6cord`

(xterm-truecolor is known to break a lot of applications including htop, only use it with 6cord)

To limit 6cord to strictly 16 colors, run:

TERM=xterm-basic ./6cord

To run 6cord in monochrome mode:

TERM=xterm ./6cord

Supported Image backends

Currently, Xorg is the only supported image backend. SIXEL support proved itself to be challenging with how tcell and tview call redraws. There is no Kitty terminal implementation in Golang that is available as a library yet (termui has a PR with Kitty support). There are things in my priority list right now. That said, PRs are welcomed.

Screenshots

<p align="center"> <img src="https://gitlab.com/diamondburned/6cord/raw/master/_screenshots/guildview.png" /> <img src="https://gitlab.com/diamondburned/6cord/raw/master/_screenshots/img.png" /> <img src="https://gitlab.com/diamondburned/6cord/raw/master/_screenshots/clean.png" /> <img src="https://gitlab.com/diamondburned/6cord/raw/master/_screenshots/mentions.png" /> <img src="https://gitlab.com/diamondburned/6cord/raw/master/_screenshots/commands.png" /> <img src="https://gitlab.com/diamondburned/6cord/raw/master/_screenshots/highlight.png" /> <img src="https://gitlab.com/diamondburned/6cord/raw/master/_screenshots/reactions.png" /> </p>

Credits