Description
Stoat is an open-source, user-first chat platform. This repository is its backend, the set of Rust services and libraries that power the Stoat service. The project is organized as crates. The core crates provide configuration, the database layer, S3 and encryption file handling, the API models, permission logic, user presence, result types and a coalescing service. The service crates include a REST API server called delta, a WebSocket events server called bonfire, a proxy called january, a Tenor proxy called gifbox, and a file server called autumn. Two daemons handle timed data clean-up and push notifications. The README states the minimum supported Rust version is 1.86.0. To work on the code, you install mise, Docker and Git, with mold as an optional faster linker, or use the Nix flake. The development environment runs MongoDB, Redis, MinIO, RabbitMQ, a mail catcher and a Grafana observability stack, each on a listed port, and the project includes a development guide for contributors. The source is public on GitHub.…
Highlights
- REST API and WebSocket event servers
- File server and Tenor proxy
- Push notification and clean-up daemons
- Development environment with Docker and mise
- Written in Rust
Ratings & Reviews
No ratings yet
Be the first to rate Stoat.
People also visit
Stoat FAQ
What is Stoat?
An open-source chat platform. This repository holds its backend services and libraries.
What does the backend need?
Rust 1.86.0 or later, plus Docker for the development services, according to the README.
Which services run locally?
MongoDB, Redis, MinIO, Maildev, RabbitMQ and a Grafana LGTM stack, with listed ports.
How do I start developing?
Install mise, Docker and Git, then follow the development guide. The repository also has a Nix flake for dev shells.
Is it free?
Yes. It is open source and the code is on GitHub.
Where is the file storage?
The files crate handles S3 storage and encryption, and the autumn service runs as the file server.
What are the best Stoat alternatives?
Popular alternatives to Stoat include Tinode, Let's Chat and CoffeeChat. See all Stoat alternatives