Ask HN: Is there any interest in a native Qt/C++ Discord client?

36 points
1/21/1970
5 days ago
by txtsd

Comments


petcat

I advise not to waste any time/tokens building clients for 3rd party commercial platforms even if they claim to allow it (Discord doesn't and will ban you).

Twitter, Reddit, etc. are all infamous rug-pullers that should have taught everyone this lesson permanently.

2 days ago

mike_strings872

I built QuickMailBites in Flutter for similar reasons — wanted a native desktop email client that wasn't Electron. Flutter for desktop on Linux is actually quite solid now, and the performance difference from Electron is noticeable. The main limitation I hit was just the ecosystem — fewer desktop-focused libraries than Qt has. But for CRUD-heavy apps (like an email client) it works great.

an hour ago

KomoD

Well FYI that's against Discord's TOS, you risk getting banned if you use a third-party client.

There's already clients like dissent, dorion, abaddon and previously ripcord (RIP my fav)

2 days ago

Scaled

I got my account verification locked for this and I wasn't even using third party clients. Discord and their AI moderation is rubbish.

2 days ago

txtsd

While I can't argue against the risk, all these third party clients continue to be allowed to exist.

Ripcord and discordo were my favorites amongst the alternatives.

kind is the missing Qt FOSS alternative.

2 days ago

eqvinox

Aside from the risk, I don't understand why you would put your time into it. They can change their stance any minute and your work is just down the drain. I guess you could do it for learning and experience? idk...

> kind is the missing Qt FOSS alternative.

Nah. What's missing is an alternative to discord itself, with enough pull behind it.

a day ago

txtsd

I can't argue with that. kind is the practical solution, not the ideal one.

a day ago

oAlbe

Instead of making it work with Discord, built it around xmpp with as many of the same niceties that discord offers and get yourself a working alternative on an open, powerful protocol, fully FOSS.

People want to get away from closed, centralised applications. The sentiment is the strongest it's ever been. But they don't have compelling and working enough alternatives to do so.

a day ago

cube00

>While I can't argue against the risk, all these third party clients continue to be allowed to exist.

Reddit allowed it for a while too until they smelt sweet IPO money.

All it takes is some revenue generating idea that the third party client doesn't support and it's curtains.

2 days ago

crimsonnoodle58

As others have said, you are only risking being banned. You would be better off putting that effort towards a discord alternative with all the same features that people can move to.

With their recent hostilities regarding age verification [1], there has been a lot of interest in alternatives.

The only problem is people are used to all the features discord provides, and alternatives [2] currently are nowhere near feature parity.

[1] https://discord.com/press-releases/discord-launches-teen-by-...

[2] https://www.teamspeak.com/

2 days ago

ai_slop_hater

I can already tell it's vibe coded because you listed all those "production" features like exponential back-off and rate limiting.

2 days ago

wqaatwt

> you listed

That seems like an assumption in this case

2 days ago

kill-ux

[flagged]

2 days ago

kill-ux

[flagged]

2 days ago

rubymamis

Sounds good to me! If you ever need some architectural help I'd be happy to.

I have a lot of experience with Qt and QML, I've created a block editor[1] and an LLM chat client[2] and many other projects.

[1] https://rubymamistvalove.com/block-editor

[2] https://www.get-vox.com/

4 days ago

txtsd

Thanks, I'm using Qt Widgets to make this though.

And I made a website for it shortly after I made this post:

https://kind.ihavea.quest

4 days ago

blablabla123

Would be nice. I used Swiftcord while I was still on Mac. It missed vital features but still better than another Electron monstrosity...

2 days ago

jeroenhd

There are already a bunch of these. gtkcord (disset) comes to mind for an open-source native client: https://github.com/diamondburned/dissent

They seem to be most popular with the open source crowd. I think you could gain traction with the "normal" users by also including many of the gaming features that other native clients lack (game streaming, voice/video chat, soundboards, the lot). Also maybe consider actually supporting all of Discord's chat features, even the ones you don't personally use; things like forums, image boards, announcement channels, and all the other less-obvious Discord features are rarely implemented by third party clients and make for a pretty limited experience if you're in a server that uses them.

I don't think most people on Discord really care about the 2 second throbber on startup or the 500MiB of RAM that Discord wastes when all other applications on the system do the same. Discord isn't the fastest application and it's wasting resources, but it's not too slow. However, the same way Kunlun Tech Co., Ltd. has managed to sell Opera as a "gamer" browser with a non-insignificant market share, I think you could get traction by highlighting the performance aspects such a streamlined client permits.

FWIW Discord's TOS do not allow for third-party clients, and they have banned people using them (though usually only because the clients interacted with the APIs regarding friends, because those can be abused by spambots and scammers).

> So are Nitro features

I'd tread very carefully with supporting Nitro features in a custom client. If their API has endpoints for them I think you may be in the clear, but if there's even a remote chance that you'll be giving free users paid features, Discord will take notice quickly. Part of Discord's income is derived from spamming people with Discord Nitro promotions. If your alternative clients will get big enough without these, they'll probably notice.

2 days ago

txtsd

Thank you for your input.

Everything you listed will be worked on after initial release. It's in the works.

Nitro features will be for Nitro users only, except things that non Nitro users can see anyway.

a day ago

feznyng

You could maybe rearchitect the backend to be provider-agnostic and sell this as a native client for users of Discord, Matrix, Zulip, Stoat, etc. That way you can capture a larger market and you're fine even if Discord kicks you out for ToS violations. Although, I suspect there's a bunch of complexity in papering over each platform especially when you factor in voice/streaming.

a day ago

jjmarr

Discord bans 3rd party clients, but that doesn't mean there's no audience.

The reason why Discord is so strict is because the platform was super insecure back in 2015 and third party clients could ban people/destroy servers/etc.

That isn't true anymore yet the ban is still in place.

a day ago

hazard

I'm always a bit confused by "written in X" as a feature. Rust devs are the worst about this, but not the only offenders.

The language is not a feature!

I'm a C++ programmer, and even I don't care what language the applications I use are written in.

"Fast" is a feature, not that it's in C++

a day ago

bombcar

It's a way of signaling a feature via implication - if it's built in X which is known for Y, it must be Y.

a day ago

kelvinjps10

What the imply it's that it won't be a slow app built with electron.

a day ago

PacificSpecific

I would as a Windows user if it works as advertised. The official client has been going downhill. I have to restart it about once a day because it gets into some weird stuck state where it struggles to load chat rooms.

a day ago

mentos

I think Discord performs great

As an Unreal game dev what I’ve wanted to remake in QT is the Epic Games Launcher.

I think Epic may be underway on this now but if you did a good enough job I feel like there may still be a window to pitch them on acquiring your work.

2 days ago

pitzips

Similar to what you're describing, Ripcord was being developed ~5 years back. https://cancel.fm/ripcord

a day ago

Karsteski

You are literally just lying? There is approximately nothing in this repo: https://github.com/txtsd/kind

Too many posts on HN now are just nasty liars like this OP looking to bullshit others.

2 days ago

txtsd

I haven't pushed the code yet. I was waiting until the quality is sufficient per my standards. It should be pushed within 2 hours from now.

EDIT: Code is live.

a day ago

jcelerier

I used to use ripcord which was exactly this

a day ago

samlinnfer

IRC client?

2 days ago

txtsd

Eventually!

a day ago

Uptrenda

That all sounds good and all but I feel like this would be a major engineering effort for a centralised system that seems particularly vulnerable to regulation right now. A good example of that is Discord "servers" with NSWF channels now require you to submit your ID to Discord for verification to join the channel. As almost all servers have main channels marked NSFW (they need to because servers can be closed if NSFW content gets posted in regular channels) it effectively makes Discord require an ID.

Now, I don't know about you but I already gave more than enough info when I signed up for an Internet account. Discord and similar chat apps like this are going to end up having to do this stuff because they're essentially businesses. On the other hand, I feel if you were to build a Discord-like layer on top of IRC it would be genuinely quite interesting. But maybe not original (people I think have done this already.) You could see if their solution were as usable as Discords. Make it so no /commands were needed and host a system to spin up rooms and discover them with the same mechanics as Discord.

2 days ago

txtsd

I share your concerns. kind is not the ideal solution. All my communities are on discord though, so it is the practical solution until a replacement for discord completely does away with the need to use it in the first place.

a day ago

squigz

Why would I switch to a client that doesn't have voice chat, one of the primary use-cases for Discord?

2 days ago

embedding-shape

Not everyone uses software the same way. I've had Discord and used it on at least on a weekly basis since 2017-2018 sometime, and can't remember I've used the voice chat a single time since then, I couldn't even tell you where to find it in the UI unless I'd look it up.

2 days ago

txtsd

Voice will be implemented once all the text features are up to my standards. You can check it out then. No pressure right now.

a day ago

sourcegrift

Make your own server, discord is not open

2 days ago

Jeffrin-dev

[flagged]

19 hours ago

kill-ux

[dead]

2 days ago

idkwhy

[flagged]

21 hours ago