Live data from Hacker News

Revolt: Open-source alternative to Discord

revolt.chat

161–170 of 413 posts

Re: Revolt: Open-source alternative to Discord

#161

This might be a dumb question but curious what the issues are with discord? Im a little concerned since I just finally got convinced to start using it.

There's nothing wrong with it per se, in fact Discord is very good software, but it being a for-profit company using closed-source code comes with the usual privacy and free-software concerns. For example here's a post on reddit about some privacy concerns with discord: https://old.reddit.com/r/privacy/comments/eiicah/trawling_th...

Re: Revolt: Open-source alternative to Discord

#162
post #89

Earlier quoted context omitted.

Also, only the backend is written in Rust. The desktop client is an Electron app: https://github.com/revoltchat/desktop

Hi, one of the developers here, we use electron because its hard for our small amount of devs (there are about 4) of us to maintain multiple clients, this is the same reason we use the same web client for mobile.

it'll be neat to see if ya'll end up near slack or discord levels of resource consumption, or whether you are slimmer/leaner. is this at all a concern of the team? is chat data all kept in memory or does some of it get stored/loaded on demand, in service worker caches or indexeddb or sqlite or other?

on my 4gb, 6 year old daily driver i dont find electron apps to be difficult. personally i dont think it's that worthwhile to try to appease the vast ranks of anti-electron anti-web zealots (i doubt any of them would ever be satisfied no matter how many gains were made). but it would be interesting to hear of folks adopting more advanced techniques to keep resource consumption down.

Re: Revolt: Open-source alternative to Discord

#163

Earlier quoted context omitted.

Hi, one of the developers here, we use electron because its hard for our small amount of devs (there are about 4) of us to maintain multiple clients, this is the same reason we use the same web client for mobile.

Did you consider Qt or some other cross-platform native option? There was just recently a HN article [1] on the topic of cross-platform development and UX, with a few alternatives proposed. I think some teams just reach for the Electron tool by default now, instead of weighing each alternative and then choosing it with eyes open. Maybe your team did examine the pros and cons, but it seems the overall software industr…

It reads as though there's some confusion between "simplistic" with "simple". Electron is the simple answer, and "simplistic" is frequently used to try to shit on that. (Its implementation is complex. So is Qt's. But nobody cares about that for either, because it's done.) Qt's definition of "cross-platform" is functionally limited to "Windows, Mac, and Linux" unless you want to do way more work for a way worse result. That's not simple at all.

Qt runs in a web browser via WebAssembly but building an application that way--I mean, if you want that to work, good luck, but it's a presumptuous ask to make of a developer. If you want to have a client somebody can log into via Chrome or Firefox? Hi, now we have two codebases that aren't sharing logic.

Qt also doesn't work well on iOS or Android. Attempts have been made. They're not viable without significant work that "Qt is cross platform" elides, and you're probably forking your entire codebase for what you can actually salvage. And when you've built a Qt application, there's a whole lot less that's reasonably sharable when you eject out of it on those platforms (because you will), as opposed to the large amounts you can effectively share between React and React Native (see also the web-hosted option above).

Re: Revolt: Open-source alternative to Discord

#164
post #143

Earlier quoted context omitted.

written in Rust! don't forget to `curl https://sh.rustup.rs | sh`! Footnote: As the Rust community continues to bash everyone over the head about how safe it is while completely fucking up the 101 shit we've all been saying not to do for over 20 years, I'm going to continue to treat it how it smells.

You can of course install from your package manager [1][2][3][4]. If you're not going to install from your trusted source then I'm not sure curl https:// ... | bash is really worse than downloading and double clicking a msi/dmg/deb/rpm. Especially if you're not going to verify that or verify it using keys downloaded from the same https host. [1] Homebrew - https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/.…

>You can of course install from your package manager

Debian 11 was released a couple weeks ago and the rustc it ships with is already so out of date (7 months old, gasp!) software written for modern rust versions can't be compiled with it. And this isn't a Debian only problem.

Re: Revolt: Open-source alternative to Discord

#165

Earlier quoted context omitted.

My question, maybe a bit more meta - is why not instead work on features for matrix and a client like element? As if the world needs yet another slack-like. xkcd_15_competing_standards.png

Contributing is hard. U have to follow 3rd party rules.

Unless they plan for their repo to have zero contrib policy and open merge rights, they will also have to follow rules and force people to follow their (third party) rules.

Sometimes it's worthwhile to consider that the "third party rules" you don't want to abide, are there for good reason.

Furthermore, sometimes the underlying reason for those rules is something you can hack on and open up.

"Oh we won't ever support feature X because of legacy arch Y so no PRs for feature X please". Well, perhaps you can solve legacy arch Y and help everyone at a more fundamental level.

Re: Revolt: Open-source alternative to Discord

#166

Earlier quoted context omitted.

I would strongly urge you to consider migrating to an alternative database, given MongoDB's SSPL license that is difficult to comply with.

What are the best nosql databases? half of our devs dont like sql much (ive tried to make them use orms too, didnt work)

I'd probably recommend ScyllaDB for NoSQL. It's a replacement for Cassandra (which it's mostly compatible with) which is more or less the de facto standard for large NoSQL deployments at big companies, but it's written in C++ rather than Java so it's even faster (and has more consistent latency) and easier to deploy. And it's been around long enough at this point that it's established and not likely to just disappear.

It's a shame your devs don't like SQL. It's probably my most useful developer skill. Saves so much time elsewhere. Having said that, a messaging app that you really want to scale HUGE (like Discord or Facebook Messenger huge) is one place where the NoSQL solutions are justified.

Re: Revolt: Open-source alternative to Discord

#167

Earlier quoted context omitted.

My question, maybe a bit more meta - is why not instead work on features for matrix and a client like element? As if the world needs yet another slack-like. xkcd_15_competing_standards.png

It's in their FAQ[0] as well. But seems to boil down to because they wanted it. And there's nothing wrong with that. [0]: https://developers.revolt.chat/faq/why_new

That is some of the weakest reasoning I've ever read, but... I guess I can't stop them.

Re: Revolt: Open-source alternative to Discord

#168
post #79

Earlier quoted context omitted.

Their FAQ on “Why no federation?” is relevant: https://developers.revolt.chat/faq/federation

"Federation and Discord-style protocols are inherently incompatible" Really? I wonder how Rocket.Chat federation overcame this "inherent incompatibility" https://docs.rocket.chat/guides/administration/administratio...

Just look at the screenshot on the RocketChat page. "Use on a production system is not recommended at this time" And looking at how buggy RocketChat is without federation I trust them not to use it.

Most of their features is just PR. For example they do advertise E2E while it has the same amount of warnings and not even a doc page https://docs.rocket.chat/guides/administration/administratio...

Re: Revolt: Open-source alternative to Discord

#170
post #68

From what I've seen, the quality of the experience is astounding. Well done! To the Revolt developers: I believe your "Verify your Revolt account" email contains a link that can only be clicked once. I've heard that gmail (and other email clients) automatically visit the links of email, so that may cause some problems.

I've heard that too. But I am using gmail and had no trouble registering.
Post reply on HN