Robrix is a Matrix chat client written in Rust to demonstrate the functionality of Project Robius, a framework for multi-platform application development in Rust.
▶️ Click here to see the Robrix project tracker!
⚠️ Robrix is a work-in-progress that doesn't yet support all Matrix chat features.
Note that only the first "Rooms" tab of the UI is in use.
Check out our most recent talks and presentations for more info:
The following table shows which host systems can currently be used to build Robrix for which target platforms. | Host OS | Target Platform | Builds? | Runs? |
---|---|---|---|---|
macOS | macOS | ✅ | ✅ | |
macOS | Android | ✅ | ✅ | |
macOS | iOS | ✅ | ✅ | |
Linux | Linux | ✅ | ✅ | |
Linux | Android | ✅ | ✅ | |
Windows | Windows | ✅ | ✅ | |
Windows | Android | ✅ | ✅ |
First, install Rust.
Then, install the required native libraries. For example, on Linux:
sudo apt-get install libsqlite3-dev libssl-dev
Then, on a standard desktop platform (macOS, Linux, Windows), simply run:
cargo run -- 'USERNAME' 'PASSWORD' ['HOMESERVER_URL']
HOMESERVER_URL
argument is optional and uses the "https://matrix-client.matrix.org/"
URL by default.Install the cargo-makepad
build tool:
cargo install --force --git https://github.com/makepad/makepad.git --branch rik cargo-makepad
Use cargo-makepad
to install the Android toolchain, with the full NDK:
cargo makepad android install-toolchain --full-ndk
Build and run Robrix using cargo-makepad
:
login.toml
file.cargo makepad android run -p robrix --release
These are generally sorted in order of priority. If you're interested in helping out with anything here, please reach out via a GitHub issue or on our Robius matrix channel.