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

I've been building a third-party cross-platform Discord client called kind (kind is not discord) in C++ and Qt 6. No Electron, no web wrapper. A proper native app for Windows, macOS, and Linux.

The UI always loads instantly. On first load, things take as long to appear as Discord's network responses. On subsequent loads, everything comes from cache and is validated against REST in the background. It feels as fast as opening a plaintext file.

It's further along than I expected when I started. What's working right now: gateway with exponential backoff and reconnect, REST with per-route rate limiting, SQLite-backed cache with async reads/writes, full Discord permission resolution, and a composable block renderer that handles every Discord message type including embeds, attachments, reactions, stickers, and components. There's a full markdown parser, an async image cache with memory LRU and disk persistence, an unread and mute state system that survives restarts, and 370 passing unit and integration tests.

Voice is a post-launch problem. So are Nitro features.

Is there actually an audience for this outside of Linux power users? I know that's where the pain is most acute, but I'm genuinely curious whether Windows users would switch for the performance alone or whether the official client is good enough there that it doesn't matter.

23 points | by txtsd 3 days ago

16 comments

  • petcat 4 hours ago
    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.

  • crimsonnoodle58 3 hours ago
    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/

  • KomoD 12 hours ago
    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)

    • Scaled 4 hours ago
      I got my account verification locked for this and I wasn't even using third party clients. Discord and their AI moderation is rubbish.
    • txtsd 12 hours ago
      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.

      • cube00 3 hours ago
        >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.

  • ai_slop_hater 5 hours ago
    I can already tell it's vibe coded because you listed all those "production" features like exponential back-off and rate limiting.
    • wqaatwt 4 hours ago
      > you listed

      That seems like an assumption in this case

    • kill-ux 4 hours ago
      rate limiting?
  • feznyng 1 hour ago
    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.
  • pitzips 1 hour ago
    Similar to what you're describing, Ripcord was being developed ~5 years back. https://cancel.fm/ripcord
  • rubymamis 3 days ago
    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/

    • txtsd 2 days ago
      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

  • blablabla123 5 hours ago
    Would be nice. I used Swiftcord while I was still on Mac. It missed vital features but still better than another Electron monstrosity...
  • jeroenhd 4 hours ago
    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.

  • mentos 3 hours ago
    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.

  • Karsteski 4 hours ago
    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.

  • sourcegrift 3 hours ago
    Make your own server, discord is not open
  • samlinnfer 4 hours ago
    IRC client?
  • squigz 4 hours ago
    Why would I switch to a client that doesn't have voice chat, one of the primary use-cases for Discord?
    • embedding-shape 4 hours ago
      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.
  • Uptrenda 3 hours ago
    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.

  • kill-ux 4 hours ago
    [dead]