Why I made it?

Every self-hosted option feels like an island. You run a server for your friends, and that’s all there is. You need a new account on every server you wanna join, you can’t DM someone who isn’t on your server, and there’s no way to find other communities. So most people go back to Discord, because that’s where everyone is.

What Rift does differently?

Every server on Rift is self-hosted but you can choose to list it in the Server Browser. That way people can just search for a server and join it with a single click, just like discord. There is even a Bot directory where u can search and add public bots to your Server. Best part if you dont want your server found, dont list it (listing is opt-in), no one will know your server exists even me, but people u choose can still join it with a single invite link. It’s that simple.

How does that work?

Well the first time you sign up in the app, an identity is made. The app then does some magic and signs in to each server with a separate key just for that server, so no password goes to any server and two servers can’t even tell it’s the same person.

Hosting a server takes 2 simple commands. From there you can list it in the Server Browser and grow it into a big community. So you could be chatting in a 50k-member community one minute and switch to your own server the next, just like on Discord. The difference is that your server is yours. Your data stays with you, streaming in the highest quality costs nothing, and the only limits on things like file uploads are the ones you set.

Basically, it’s Discord, but every server is self-hosted.

Now a few features:

  • Stream upto 4k60fps or 1440p120fps on windows and Linux (yup 120fps, I have tested it, its smoooooth).
  • Everything is end-to-end encrypted by default: DMs, text channels, files, voice calls and streams. It’s all encrypted on your device before it leaves, and messages are signed too.
  • Noise suppression using the best open source models.
  • The usual stuff you need: Roles, per channel permissions, soundboard, replies, reactions, pins, polls, webhooks, bots.
  • Something fun I added, voice clipping like the last minute of your call and then quickly trim it to something stupid your friend said, all inside the app and directly add it to soundboard to play it back to them. We use it way too much, probably the best feature I added that made my friends switch from Discord. Believe me it was very difficult to make them switch.
  • Oh and you can just share the audio of a running app as well, without the video. Like if you want everyone to listen to your music.

Apps are available for Windows, Linux, Android (on Playstore) and the web. MacOS is coming soon, I am currently testing it. Everything works now but ironing out any obvious bugs before releasing it.

Somthing Linux users will appreciate because I am one and I really missed this in discord: When you stream just an app, you can choose to share the sound of only that app on wayland :D

What it doesn’t have yet:

  • A Huge ecosystem like Discord already has.
  • Message search and threads.
  • An iPhone app. The app is in Flutter, so its basically same code, but I dont have an Apple Developer account, and I am not buying one unless I have a few people who really want it.
  • A signed Windows installer, so SmartScreen will warn you - its that scary popup that says oh this might be malicious, are u sure about this?
  • Users. Your friends probably aren’t on it yet, and its a pain in the a__ to convince them to switch I KNOW. But you know tell them, you can do 1440p120fps streams, and lots of soundboard clips of each other’s funny moments and they might finally change their mind (after 3 friggin’ months)

Tech Stack: Flutter and Rust for the app, the server is Supabase and LiveKit in Docker

The last best part, it’s all open source and free.

Site: https://joinrift.app/

Code: https://github.com/awais-amjed/rift

Hosting Docs: https://docs.joinrift.app/

Now the AI Disclosure: The code is AI assisted, but I have been a Full Stack developer for around 5 years now, and I review and test everything myself.

I’d love feedback, questions, issues and contributions from everyone, especially from anyone who tries hosting it.

If you wanna try it without setting up your own server, I have a server on a small VPS for people to test, but its on a 6 dollar VPS so dont expect the best experience from it. it’s also the only server you will find currently listed publically in the server browser.

Rift Lobby: https://joinrift.app/join#https://lobby.joinrift.app#cY2KkGZvAS

I have been working on this for around 9 months, so please consider giving the repo a star on Github if you like it. Thanks.

  • awaisamjed@lemmy.mlOP
    link
    fedilink
    arrow-up
    2
    ·
    11 hours ago

    It’s actually not federated. Your app is what connects to each server you’ve joined, directly. Your account is a secret that lives on your device, and the app derives a separate key from it for each server to sign in with. So it’s less like a network of servers and more like one keyring that opens many separate doors.

    The only shared piece is a small optional central service, for the server browser, finding friends by name, and Central DMs (separate from a server’s own DMs) with people you don’t share a server with yet. A server’s messages never go through it, and Central DMs are also E2E encrypted, so it can’t read those either.