terminal discord client, mirroring for archival purposes
Go to file
Marcel Schramm 6b3fdb31fd
Bump scoop package to version 2019-11-19
2019-11-19 19:26:27 +01:00
.builds Adjust all CI service files to run tests using the race flag 2019-08-30 23:30:11 +02:00
.circleci Update go image to 1.12 2019-07-07 12:35:11 +02:00
.github Remove github workflows, I ain't paying for that ;) [skip ci] 2019-11-16 22:54:49 +01:00
app Remove config.GetConfig() 2019-11-14 20:59:32 +01:00
commands Generation of TOTP secret now uses crypto/rand instead of math/rand and is unit-tested 2019-11-16 22:49:06 +01:00
config Make bottombar optional and enabled by default 2019-11-15 22:46:14 +01:00
discordutil Move FindEmojiInGuild into util file 2019-11-08 21:13:15 +01:00
readstate Seperate IsChannelMuted into seperate methods for private and guild channels. 2019-11-02 12:51:11 +01:00
scripting Javascript engine now uses locking and avoids unnecessary duplicated calls to otto-vms. Fixes #190 2019-10-26 16:38:46 +02:00
shortcuts change cli focus input shortcut to ctrl-t 2019-11-17 16:00:43 +01:00
snap Notifications in future snap packages will now work. Fixes #56 2019-07-20 00:54:37 +02:00
syntax Make code highlighting look less agressive 2019-04-20 13:13:29 +02:00
times Remove config.GetConfig() 2019-11-14 20:59:32 +01:00
tools * Implement enabling / disabling of two factor authentication 2019-11-03 01:17:45 +01:00
ui Generation of TOTP secret now uses crypto/rand instead of math/rand and is unit-tested 2019-11-16 22:49:06 +01:00
util Generation of TOTP secret now uses crypto/rand instead of math/rand and is unit-tested 2019-11-16 22:49:06 +01:00
version Bump cordless versionnumber to version 2019-11-19 2019-11-19 19:26:03 +01:00
.gitignore Extend gitignore 2019-07-20 19:28:29 +02:00
.travis.yml Adjust all CI service files to run tests using the race flag 2019-08-30 23:30:11 +02:00
LICENSE Initial commit 2019-01-10 11:47:02 +01:00
README.md Update build notes[skip ci] 2019-11-17 17:06:19 +01:00
appveyor.yml Race condition testing doesn't seem to work on windows currently 2019-08-30 23:52:38 +02:00
cordless.json Bump scoop package to version 2019-11-19 2019-11-19 19:26:27 +01:00
cordless.json_template Add small utility script for releasing a new version of cordless. 2019-03-20 00:15:57 +01:00
cordless.rb_template Add additionla step to build, that creates the homebrew file. 2019-06-13 13:37:01 +02:00
flags_windows.go * Move shortcut dialog into util class 2019-10-29 19:21:00 +01:00
go.mod Update goclipimg again 2019-11-17 19:09:01 +01:00
go.sum Update goclipimg again 2019-11-17 19:09:01 +01:00
main.go * Move shortcut dialog into util class 2019-10-29 19:21:00 +01:00
release.sh Fix releasescript, the version numbers were given incorrectly 2019-10-12 16:00:55 +02:00
version.go_template gofmt -s version template [skip ci] 2019-10-06 14:57:04 +02:00

README.md

Cordless

OS linux darwin windows freebsd
Build-Status CircleCI Build Status Build status builds.sr.ht status

codecov Discord

Overview

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

WARNING: Self-bots are discouraged and against Discords TOS.

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

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

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

Demo Screenshot

Credits

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

How to install it

Installing on Linux

Snap

On linux the recommended way of installation is the snap.

Simply 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:

Manually:
$ git clone https://aur.archlinux.org/cordless-git.git
$ cd cordless-git
$ makepkg -sric
With AUR Helpers:
yay:
$ yay -Syu cordless-git

or

$ yay -S cordless-git
trizen:
$ trizen -S cordless-git
pacaur
$ pacuar -S cordless-git

Installing on Windows

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

After installing scoop, run the following:

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

This adds the bucket (repository) to your local index, allowing you to install any package from that bucket.

Install cordless via

scoop install cordless

In order to install updates, run:

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 homebrew, then you should get pngpaste, since it's what allows you to paste images.

Building it from source

In order to execute this command you need to have go 1.12 or a more recent version installed.

UPDATES HAVE TO BE INSTALLED MANUALLY

First you have to grab the code via:

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.

In order to execute the application, simply run the executable, which lies at $GOPATH/bin/cordless. In order to be able to run this from your terminal, $GOPATH/bin has to be in your PATH variable.

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.

THIS APPLICATION NEVER SAVES YOUR ACTUAL PASSWORD LOCALLY.

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

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

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

Why should or shouldn't you use this project

Reasons to use it:

  • Your PC is not very powerful
  • You're on a mobile device and value your battery life
  • You want to reduce your bandwidth usage
  • You just like terminal applications

Reasons not to use it:

  • You like fancy GUI
  • You want to see images, videos and whatnot inside of the application itself
  • You need the voice/video calling features (This might soon change!)
  • You need to administrate a server (no administration features yet)

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.

Troubleshooting

If you happen to encounter a crash or a bug, please submit a bug report via the projects GitHub issue tracker.

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. feel free to hit me up on Discord: Marcel#7299. Alternatively, just join the public Cordless server linked at the top of the Readme.