Hi DEV! I've been building Rift for a while: an open source, self-hostable alternative to Discord.

Why I built it

When Discord announced the age verification changes (around 8–9 months ago), I went looking for a self-hostable alternative, and I couldn't find anything that came close in features. It was either P2P streaming, no group chats, or streaming and watching done on the CPU instead of the GPU, which loses frames, and so on. I've been building Rift since then, and I think it's now ready for everyone to try.

Notable features

  • End-to-end encrypted: messages, files, voice notes and calls are encrypted and signed on your device. The server only stores ciphertext and never holds a key that opens it, including for the person who runs it.
  • Easy to self-host: a Docker Compose stack (Postgres via Supabase, LiveKit for calls). A setup page generates every secret and gives you the first invite link. It's basically 2 commands to install, and 1 click for each update after that. A small VPS with ~4 GB RAM is enough to start.
  • Screen sharing built for games: encoding (streaming) and decoding (watching) are done fully on your GPU (NVENC, AMF, VAAPI/Quick Sync) in H264 or H265, up to 4K, or 120 fps at 1440p, with the game's sound.
  • Voice: noise suppression runs locally, up to the DPDFNet neural model. Push-to-talk and global mute/deafen keys work while a game has focus.
  • Everything else: bots in TypeScript or Rust, webhooks, roles and per-channel permissions, polls, pins, a soundboard, and a public directory you can opt into.

The stack

The app is Flutter with a Rust core for capture, encoding and audio. It runs on Windows, Linux, Android and the web; macOS is in progress. Everything is open source: the client is GPL-3.0, the servers AGPL-3.0, and the bot SDKs Apache-2.0.

Try it

To try it without setting anything up, there's a public server, the Rift Lobby. Open this link with the Rift app installed: https://joinrift.app/join#https://lobby.joinrift.app#cY2KkGZvAS

It's small and shared, so the limits are lower than on your own server. It's fine for a quick test, but for the best experience I highly recommend setting up your own server: it's quick and easy.

The web app works, but has limits: streams mostly go out as VP9, which runs on the CPU, and noise suppression is Standard only (no RNNoise or DPDFNet). For now, the best way to try every feature is the native app on Windows or Linux.

I'd love feedback, especially from people who self-host or have tried to move a group off Discord.