/cordless

The Discord terminal client you never knew you wanted.

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Cordless

Overview

WARNING: Third party clients are discouraged and against the Discord TOS.

Cordless is a custom Discord client that aims to have a low memory footprint and be aimed at power-users.

The application only uses the official Discord API and doesn't send data to third parties. However, this application is not an official product by Discord Inc.

Demo Screenshot

Installation

Building from source

In order to execute the following command, you need to install go 1.13 or higher. You can find golang packages at (https://golang.org/doc/install).

UPDATES HAVE TO BE INSTALLED MANUALLY

Make sure $GOPATH/bin is in your systems PATH variable, since the binary will be put into that folder. Afterwards install or update cordless via the command:

go get -u github.com/Bios-Marcel/cordless

Note:

  • X11 users need xclip in order to copy and paste.
  • Wayland users need wl-clipboard in order to copy and paste.
  • Mac OS users probably want pngpaste in order to copy and paste.

Installing on Linux

Snap

Currently I can't release new snap versions due to a bug!

Run (Might require sudo):

snap install cordless

Snap will automatically install updates.

Arch based Linux distributions

On Arch based distributions, you can use the AUR package to install cordless:

$ git clone https://aur.archlinux.org/cordless-git.git
$ cd cordless-git
$ makepkg -sric

or use your favourite AUR helper.

Installing on Windows

In order to install the latest version on Windows, you first need to install scoop.

After installing scoop, run the following:

This adds the bucket (repository) that contains cordless to your local scoop installation, allowing you to install any package it contains. Afterwards it installs cordless for your current windows user.

scoop bucket add biosmarcel https://github.com/Bios-Marcel/scoopbucket.git
scoop install cordless

Updates can be installed via:

scoop update cordless

Installing on macOS

Use Homebrew to install cordless on macOS:

brew tap Bios-Marcel/cordless
brew install cordless

If you don't install via cordless via brew, then you should have to get pngpaste in order to be able to paste image data.

Login

Logging in works via the UI on first startup of the application.

If you are logging in with a bot token, you have to prepend Bot (yes, with the space) in front of the token. Pasting only works via your terminals normal pasting shortcut.

YOUR PASSWORD IS NEVER SAVED LOCALLY.

If you need to find out how to retrieve your token, check the wiki.

Currently captcha-code login isn't supported.

Quick overview - Navigation (switching between boxes / containers)

Shortcut Action
Alt + S Sets the focus on the servers (guilds) container
Alt + C Sets the focus on the channels container
Alt + T Sets the focus on the messages container
Alt + M Sets the focus on the messages input field
Alt + U Sets the focus on the users container
Alt + P Opens the direct messages container
Alt + . Toggles the internal console view

Further shortcuts / key-bindings can be found in the manual on the internal console with the command manual.

If any of the default commands don't work for you, open the keyboard shortcut changer via Ctrl + K.

Extending Cordless via the scripting interface

Check the wiki

Troubleshooting

If you happen to encounter a crash or a bug, please submit a bug report via the projects GitHub issue tracker. Bugs reported via Discord will probably be forgotten or overseen.

For general problems faced by cordless users, check out the wiki at: https://github.com/Bios-Marcel/cordless/wiki/Troubleshooting

If you need help or have questions that you don't want to create an issue for, just join our Discord server: https://discord.gg/fxFqszu

FAQ

In order to find answers to common questions, check out the FAQ in the wiki:

https://github.com/Bios-Marcel/cordless/wiki/FAQ

This project isn't for you, if

  • You like fancy GUI
  • You want to see images, videos and whatnot inside of the application itself
  • You need the voice/video calling features
  • You need to manage or moderate server

Contributing

All kinds of contributions are welcome. Whether it's correcting typos, fixing bugs, adding features or whatever else might be good for the project. If you want to contribute code, please create a new branch and commit only changes relevant to your planned pull request onto that branch. This will help to isolate new changes and make merging those into master easier.

If you encounter any issues, whether it's bugs or the lack of certain features, don't hesitate to create a new GitHub issue.

If there are specific issues you want to be solved quickly, you can set a bounty on those via IssueHunt. The full 100% of the bounty goes to whoever solves the issue, no matter whether that's me or someone else.

If none of those ways of contributing are your kind of thing, feel free to donate something via Liberapay. It may not directly have an impact on the project, but it will surely motivate me to keep working on this project, as it shows that people care about it. Also, who doesn't like money???

For those who don't want to use paypal, but still want to donate, here's my ETH wallet public key: 0x49939106563a9de8a777Cf5394149423b1dFd970

Similar projects

Here is a list of similar projects:

Hit me up if you have a similar project, and I'll gladly add it to the list.

Credits

Big thanks to JetBrains for providing the cordless project with free licenses!

This project was mainly inspired by Southclaws Cordless, which he sadly didn't develop any further.