gtkcord4 needs GTK4, gobject-introspection, and optionally libcanberra. If compiling, then the library headers are also required.
gtkcord4's CI automatically builds each release for Linux x86_64 and aarch64. See the Releases page for the binaries.
gtkcord4 is available in the following distributions:
gtkcord4 is available on Flathub:
You need Go 1.18+ for this step.
To compile from scratch, run
go install -v github.com/diamondburned/gtkcord4@latest
To log into gtkcord4, you need to get your user token:
- Open the Discord web app in your browser and log in.
- Press F12 to open the Inspector.
- Go to the Network tab then press F5 to refresh the page.
- In the 'Filter URLs' text box, search
discord api
. - Click on any HTTP message entry and inspect its message headers. Under
the 'Request Headers' section, search for the
Authorization
header. - Copy its value (the token) into the Token field, then click Login.
Warning
Logging in using username/email and password is strongly discouraged. This method is untested and may cause your account to be banned! Prefer using the token method above.
Note
Using an unofficial client at all is against Discord's Terms of Service and may cause your account to be banned! Use at your own risk!