Learn how to quickly get started with the Revolt stack and contribute to the project.
If you are not a developer, please see the How To Help section on the home page.
You may be tempted to skip steps, but please go in order so you definitely do not miss anything.
1. Read before continuing
The current contribution guidelines are here.
Please make sure to read and commit to these before starting to make any changes.
2. Consider Alternative Toolchains
Before you continue, this guide is meant for running the full stack locally which may be quite demanding and is not applicable to most developers. You may want to:
- Compile and run individual components from source.
If you are looking to contribute to the client, please clone and work with revite on its own.
- Or use revolt/self-hosted to spin up a local testing environment.
3. System Requirements
The Revolt stack is quite small, fragmented and easy to run which comes at the cost of a pretty demanding development environment. Below are a few recommendations if you want to get started:
A modern multi-core CPU for Rust compilation - Ryzens are great for this job.
About 30GB of free disk space to ensure everything can be installed and built.
You may want to run
cargo cleanin project folders frequently if you do not have much.
At minimum 16GB of free memory:
500MBto run the Revolt stack
12GBto run Visual Studio Code (includes rust-analyzer)
2GBto run Chromium (conservative estimate)
These do not apply if you're just working on Revite (the web app) and/or Revolt Desktop.
You'll probably be fine with 2GB of free memory or less.
Keep in mind, the free memory recommendation is specifically about free memory, you should have more to buffer for any applications you use such as: Communications, Browser, Music Player, etc.
If you have around
24GB and especially around
16GB of memory, you should be using Linux with swap enabled or else you'll find yourself running out frequently.
Ideal machines for working with the full stack have
32GB or more of memory to buffer for the stack and other apps.
You need to have these tools installed and ready to go.
- Node.js (LTS recommended)
- npm (bundled with Node.js) or Yarn (preferred; Classic (1.x))
- Rust (in some cases, you may need the Nightly toolchain)
If working with the web app, please use and test your changes on:
- A Chromium browser (e.g. Chrome or Edge)
- A WebKit browser (e.g. Safari or Epiphany)
To get started, first install the stack CLI.
# For npm users
npm i -g revolt-stack
# For yarn users
yarn global add revolt-stack
Now create a new folder where you want to install Revolt into.
Finally, initialise everything:
Working with Revolt
You can now open a VSCode workspace at the root of the directory you just installed the project to.
To run Revolt, simply open a terminal inside of any project folder or the root directory and run:
You can now access Revite (the web client) at http://local.revolt.chat:3001.