Stoat

Open source

Stoat's backend repository holds the Rust services and libraries behind the Stoat chat service, built on MongoDB and Redis.

Open-source alternative to

GitHub stars
3.5k
Last 30 days
+74(+2%)
Last commit
yesterday
Repository age
5 years
Version
v0.16.4
Licence
Custom
Self-hosted
Yes

About Stoat

This repository contains the services and libraries that power Stoat, a chat service whose earlier names in the repository topics are Revolt and Revolt Chat. The code is Rust, and the topics list MongoDB and Redis. The README organises it as a set of crates: core libraries for configuration, database, S3 and encryption routines, API models, permission logic, user presence and error types, plus several runnable servers.

The runnable parts are delta, a REST API server, and bonfire, a WebSocket events server. Services include january, a proxy server, gifbox, a Tenor proxy, and autumn, a file server. Two daemons handle background work: crond cleans up timed data and pushd sends push notifications. Building requires Rust 1.86.0 or higher.

The README is mainly a development guide. It asks for mise, Docker and Git, with mold optional and a Nix flake available, and it lists the local ports used by MongoDB, Redis, MinIO, Maildev, RabbitMQ and Grafana. A default Revolt.toml suits development, and a Revolt.overrides.toml file changes settings. The web client lives in a separate for-web repository, and a developer site covers contributing and building bots or apps.

Key features

  • REST API server and WebSocket events server
  • File server and timed data clean-up daemon
  • Push notification daemon
  • Proxy service for Tenor GIFs
  • Nix flake for a ready-made dev shell
  • Optional Sentry error reporting per service

Good fit for

  • Contribute to the Stoat backend
  • Run the services locally for development
  • Build bots or apps against the API
Tags
chat
rust
mongodb
redis
backend
websocket
revolt

Stoat: questions and answers

What is Stoat used for?
Stoat's backend repository holds the Rust services and libraries behind the Stoat chat service, built on MongoDB and Redis. It is a good fit for contribute to the Stoat backend, run the services locally for development and build bots or apps against the API.
Is Stoat open source?
Yes. Stoat is open source under a custom licence. Its source code is on GitHub at stoatchat/stoatchat and is written mainly in Rust.
Is Stoat free?
Yes. Stoat is open source, so the software itself is free to use under the terms of its own licence.
Can I self-host Stoat?
Yes. Stoat can be self-hosted on your own server or infrastructure.
What is Stoat an alternative to?
Stoat is an open-source alternative to Discord, Slack and TeamSpeak. Other open-source alternatives to Discord include Sharkord, Chatto and Element.
Is Stoat actively maintained?
Yes. The most recent commit to Stoat was on 11 November 2026, and the latest release is v0.16.4, published on 11 November 2026. The project has 3.5k stars on GitHub, with 74 added in the last 30 days.

Open-source alternatives to Stoat

See all

SaaS alternatives to Stoat

See all