Qtcord - A lightweight, native Discord client for Windows and Linux
Posted by GreatRedditorThracc@reddit | Python | View on Reddit | 23 comments
Ever noticed that the normal Discord client is bloated and takes too long to load for quick conversations? Well, here's the solution. Qtcord is a very lightweight Discord client written by the open source community and me.
Shoutout to randomusername-a for optimizing the backend and improving the UI of this project!
How Qtcord works.
Qtcord uses Python Requests to send and retrieve data from the Discord API.
I reverse engineered some of the requests with the browser devtools network tab. The rest were implemented from documentation/tutorials that various people wrote online, including the actual Discord API docs!
For the GUI, I chose PySide6 because it is very easy to use, especially with Qt Designer. This saved me time hardcoding the UI.
Target Audience
Qtcord is designed for people who don't need the extra features and ads from Discord.
Why is Qtcord different?
Qtcord is different because it is native. For example, the normal Discord client takes around 500 MiB of RAM. Qtcord only takes 138 MiB of RAM.
Downloads and Source
You can get builds of Qtcord here.
Please give my source code repository for Qtcord a star if it's interesting! 🌟
RiverHe1ghts@reddit
Opened once for me, and wont open again. I don't know why
GreatRedditorThracc@reddit (OP)
Make sure that Discord didn't lock you out of your account. Afterwards, please try deleting Qtcord's app data folder.
If you're on Windows, go to C:\Users\YourUser\AppData\Local\Qtcord and delete discordauth.txt.
If you're on Linux, go to \~/.config/Qtcord and delete discordauth.txt.
RiverHe1ghts@reddit
No they did not.
Oh, I didn't know QTCord installed. Or maybe I got the wrong version? It was an executable in a folder, that's all
GreatRedditorThracc@reddit (OP)
Oh ok. It didn't install, but it probably left behind some data at C:\Users[INSERT YOUR USERNAME HERE]\AppData\Local\Qtcord. Could you check there in file explorer and delete discordauth.txt and try logging into Qtcord again?
__PaxPajeetana__@reddit
nice
GreatRedditorThracc@reddit (OP)
Thanks!
__PaxPajeetana__@reddit
are you still developing it?
GreatRedditorThracc@reddit (OP)
Not super much right now, but I'm open to pull requests!
__PaxPajeetana__@reddit
it should work for a while right?
GreatRedditorThracc@reddit (OP)
Yeah, I still do maintenance on it every once in a while. I'll probably make a new release when it gets too old
__PaxPajeetana__@reddit
thanks, I am liking it so far.
QSpBRUH@reddit
I don't know whether you copied this or something else, but really this is revolutionary! I saw the github repository and it's pretty good! From your github releases, it's on v0.0.21? nice! Keep it up!
Here is my tip: You can put this project on Hacktoberfest if you are looking for more contributors! It's free and it will likely end on Oct 31, so be sure to utilize it before that date!
Good luck!
GreatRedditorThracc@reddit (OP)
Really? I’ll check that out!
QSpBRUH@reddit
Nice! Also Hacktoberfest might not guarantee contributors but it increases the chances and I also once got one or two contributors from hacktoberfest
VovaViliReddit@reddit
I'd probably seriously consider using something like this if it was written with native Qt C++ bindings.
GreatRedditorThracc@reddit (OP)
I was thinking of this, but it’s too much work to rewrite the whole thing
VovaViliReddit@reddit
That's literally me with all my PySide projects lol.
GreatRedditorThracc@reddit (OP)
Lol! Such a familiar experience!
shinitakunai@reddit
I like it but be careful, as far as I know it is against the TOS to create your own client and they may sue you. (Not sure if still applies, I stopped making discord bots 3 years ago but I remember automating user input without bot accounts was forbidden)
GreatRedditorThracc@reddit (OP)
You can get sued!?
Amgadoz@reddit
Been using vencord on linux, will give this a try.
GreatRedditorThracc@reddit (OP)
Thanks! Please be careful with it though! I’d test it with a junk account though.
GreatRedditorThracc@reddit (OP)
Whew! It took a really long time to get this properly posted because of all the requirements. Well, I just ended up copying someone else's template loosely.