terminal discord client, mirroring for archival purposes
Go to file
Marcel Schramm 17efaa7880 Remove CI badges 2021-12-16 12:27:25 +01:00
.github Add snap deprecation to bug issue template 2020-10-12 16:56:56 +02:00
.vscode Add some debugging util 2020-10-25 12:38:24 +01:00
app Improve application startup and restart. Fixes #268 2020-10-25 15:37:24 +01:00
commands Fix #361 2020-10-26 19:38:58 +01:00
config Reaction rendering 2020-11-22 19:16:53 +01:00
discordutil Reaction rendering 2020-11-22 19:16:53 +01:00
femto Update to tcell v2.0.0 (#358) 2020-10-24 13:22:48 +02:00
fileopen Add catch-all handler for not further specified extensions. 2020-08-22 15:46:40 +02:00
logging Add --log option to add a logfile 2020-09-26 14:36:20 +02:00
readstate Readstate now treats temporarily muted correctly 2020-10-18 14:26:34 +02:00
scripting Improve docs for JS engine slightly 2020-10-13 17:07:10 +02:00
shortcuts Order of delete shortcuts in shortcut dialog was messed up. 2020-11-16 18:04:03 +01:00
syntax Fix small bugs, replace deprecated usages and sort imports 2020-07-04 11:56:06 +02:00
times Fix small bugs, replace deprecated usages and sort imports 2020-07-04 11:56:06 +02:00
tools Fix layout demo 2020-11-19 20:17:44 +01:00
tview move autocomplete into separate file and improve event forwarding 2020-11-19 20:17:31 +01:00
ui Reaction rendering 2020-11-22 19:16:53 +01:00
util Fix #335 2020-09-12 15:39:30 +02:00
vendor Vendor dependencies and run go mod tidy 2021-12-16 12:20:39 +01:00
version Refactor version checking slightly 2020-10-25 12:22:52 +01:00
.gitignore Add some debugging util 2020-10-25 12:38:24 +01:00
Dockerfile Add Dockerfile for building a Docker image 2020-08-22 11:58:16 +02:00
LICENSE Initial commit 2019-01-10 11:47:02 +01:00
README.md Remove CI badges 2021-12-16 12:27:25 +01:00
build_debug.sh Add some debugging util 2020-10-25 12:38:24 +01:00
cordless.json_template Add windows binaries for x86 for both scoop and github releases. Fixes #216 2019-12-10 21:11:21 +01:00
cordless.rb_template Add additionla step to build, that creates the homebrew file. 2019-06-13 13:37:01 +02:00
debug.sh Add some debugging util 2020-10-25 12:38:24 +01:00
flags_windows.go Attempt 2 at enabling UTF8 by default on new WT 2020-10-21 20:15:22 +02:00
go.mod Downgrade chroma, due to test failure with v8+ 2020-10-26 17:58:43 +01:00
go.sum Vendor dependencies and run go mod tidy 2021-12-16 12:20:39 +01:00
main.go Improve application startup and restart. Fixes #268 2020-10-25 15:37:24 +01:00
main_debug.go Usernames can now be displayed with their respective role colors 2020-07-15 23:54:47 +02:00
release.sh Improve docs of release scripts 2020-10-25 10:28:47 +01:00
version.go_template Add doc to version number 2020-10-25 11:38:53 +01:00

README.md

I AM CLOSING DOWN THE CORDLESS PROJECT

Hey, so I know this is somewhat of a bummer, but I got banned because of ToS violation today. This seemed to be connected to creating a new PM channel via the /users/@me endpoint. As that's basically a confirmation for what we've believed would never be enforced, I decided to not work on the cordless project anymore. I'll be taking down cordless in package managers in hope that no new users will install it anymore without knowing the risks. I believe that if you manage to build it yourself, you've probably read the README and are aware of the risks. I'll keep the repository up, but it'll be archived (read-only) and I have vendored the dependencies, meaning that you'll probably always be able to build the project from source as long as you have a compatible go compiler. And yes, you'll still be able to use existing binaries for as long as discord doesn't introduce any more breaking changes. However, be aware that the risk of getting a ban will only get higher with time!

Cordless

The discord server still exists and there's still some people talking, so feel free to check it out if you want to:

https://discord.gg/fxFqszu

Overview

WARNING: Third party clients are discouraged and against the Discord TOS. There have already been cordless users that got banned, including me (Bios-Marcel, the maker and maintainer)

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

Using prebuilt binaries

If you don't want to build the application yourself or use some kind of package management system, you can get the latest binaries for the three major systems in the release overview:

https://github.com/Bios-Marcel/cordless/releases/latest

Building from source

In order to execute the following commands, you need to install go 1.13 or higher. You can find golang packages at https://golang.org/doc/install. On top of that, you need to have git installed. It can be fund at https://git-scm.com/downloads.

UPDATES HAVE TO BE INSTALLED MANUALLY

Open a command line and execute the following commands:

git clone https://github.com/Bios-Marcel/cordless.git
cd cordless
go build

This will create an executable file called cordless or cordless.exe depending on whether you are on Windows or not. Move that file anywhere that your terminal can find it. I recommend adding a bin folder to your user home and adding it to your systems PATH variable. Please search the internet, using your favourite search engine, for how to set an environment variable in XXX in order to update your PATH variable correctly.

For updateing you simply have to delete the folder you downloaded last time and repeat the instructions.

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 need pngpaste in order to copy and paste images.

Login

YOUR PASSWORD IS NEVER SAVED LOCALLY.

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 in front of the token.

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

Currently captcha-code login isn't supported. Thanks for your SHIT-API, Google

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 servers

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.