Repository navigation
Building from source
OST is a Cargo workspace with three crates:
| Crate | Folder | What it is |
|---|---|---|
teams-cli |
repository root (src/) |
The engine (sign-in, chats, Trouter push, calling and media) and the terminal client teams-cli
|
ost-desktop |
desktop/ |
The desktop app: Rust backend (CXX-Qt) and Qt Quick / QML front end |
ost-vfx |
vfx/ |
Video effects (background blur and replacement) |
- Rust stable, edition 2024 (Rust 1.85 or newer). Install it with rustup.
-
Qt 6.9 or newer (OST is developed on 6.10 and 6.11) with Qt Quick,
Qt Quick Controls, Qt Quick Shapes, Effects and Dialogs, Qt SVG,
Qt Multimedia, Qt WebEngine and the shader tools (
qt6-shadertools;qt6-shader-bakeron Debian and Ubuntu). - A C++ compiler and CMake (CXX-Qt builds the C++ side).
- FFmpeg's libraries (libavcodec, libavformat, libavfilter, libavutil, libswscale): editing recorded video clips and playing video backgrounds.
- ALSA development files and PipeWire development files plus clang (audio, screen sharing).
- NASM (OpenH264 is built from source for video).
-
OpenSSL, the WebRTC audio processing library
(
webrtc-audio-processing-1: echo cancellation and noise suppression in calls) and pkg-config.
sudo pacman -S --needed base-devel rustup cmake nasm clang \
qt6-base qt6-declarative qt6-svg qt6-multimedia qt6-webengine qt6-shadertools \
ffmpeg alsa-lib pipewire xdg-desktop-portal openssl webrtc-audio-processing-1 pkgconf
rustup default stablesudo apt install build-essential cmake nasm clang \
qt6-base-dev qt6-declarative-dev qml6-module-qtquick-controls \
qml6-module-qtquick-window qml6-module-qtquick-shapes qml6-module-qtquick-effects \
qml6-module-qtquick-dialogs libqt6svg6 qml6-module-qtmultimedia \
qt6-webengine-dev qml6-module-qtwebengine qt6-shader-baker \
libavfilter-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev \
libasound2-dev libpipewire-0.3-dev xdg-desktop-portal \
libssl-dev libwebrtc-audio-processing-dev pkg-configUbuntu's own Qt must be 6.9 or newer (Ubuntu 25.10 and later).
git clone https://github.com/RandyNorthrup/ost.git
cd ost
cargo build --release -p ost-desktop # the desktop app: target/release/ost-desktop
cargo build --release --bin teams-cli # the terminal client: target/release/teams-cliThe C++ parts are heavy. On a machine with little memory, keep the build parallelism low:
cargo build -j 2 --release -p ost-desktopEvery release's packages are built by .github/workflows/release.yml when a
vX.Y.Z tag is pushed. Each is built in a container of the distribution
it is for. You can run the same scripts yourself on that distribution
(--deps first installs the build dependencies, as root):
sh desktop/packaging/build-deb.sh --deps 0.2.1 # Ubuntu/Debian: target/deb/ost-desktop_0.2.1-1~<distro>_amd64.deb, teams-cli_…
sh desktop/packaging/build-rpm.sh --deps 0.2.1 # Fedora/openSUSE: target/rpm/RPMS/x86_64/ost-desktop-0.2.1-1.<dist>.x86_64.rpm, teams-cli-…The Debian packaging is in desktop/packaging/debian and the RPM spec is
desktop/packaging/rpm/ost-desktop.spec. Both use the distribution's Rust,
Qt, FFmpeg, PipeWire, OpenSSL and webrtc-audio-processing.
CARGO_TARGET_DIR keeps the build between runs, and JOBS caps the
compile jobs.
cargo build --release -p ost-desktop
cargo build --release --bin teams-cli --features audio
sh desktop/packaging/build-appimage.sh 0.2.1 # target/appimage/OST-0.2.1-x86_64.AppImage
sh desktop/packaging/build-tarball.sh 0.2.1 target/appimage/OST-0.2.1-x86_64.AppImage # ost-0.2.1-linux-x86_64.tar.gzIt downloads linuxdeploy, its Qt plugin and appimagetool on first use, and needs LayerShellQt installed. The AppImage runs on systems with your build machine's glibc or newer; OST's releases are built on Ubuntu 26.04.
desktop/packaging/flatpak/io.github.RandyNorthrup.ost.yml builds the
checkout it sits in on the KDE runtime:
flatpak-builder --user --install-deps-from=flathub --repo=repo --force-clean build desktop/packaging/flatpak/io.github.RandyNorthrup.ost.yml
flatpak build-bundle repo OST-0.2.1-x86_64.flatpak io.github.RandyNorthrup.ost --runtime-repo=https://dl.flathub.org/repo/flathub.flatpakrepodesktop/packaging/flatpak/cargo-sources.json must match Cargo.lock.
Regenerate it with flatpak-builder-tools' flatpak-cargo-generator.py Cargo.lock -o desktop/packaging/flatpak/cargo-sources.json.
desktop/packaging/install-user.sh # uses target/release/ost-desktop
desktop/packaging/install-user.sh path/to/ost-desktop # or a binary you nameIt installs into your home folder only: ~/.local/bin/ost-desktop, the
menu entry ~/.local/share/applications/io.github.RandyNorthrup.ost.desktop,
the icon ~/.local/share/icons/hicolor/256x256/apps/io.github.RandyNorthrup.ost.png
and the AppStream metainfo.
For Bluetooth headset buttons, see Bluetooth headsets.
cargo test --workspace # unit tests of the engine, desktop backend and video effects
just check # rustfmt check, clippy, and compile the testsThe desktop app is also its own end-to-end test driver: run with a PNG path as its first argument and a test flag, it drives itself against a test account, captures pictures and quits. The flags are listed in docs/desktop.md. Tests that talk to Teams act for real (they send messages, schedule meetings), so never run them on your own account.
-
OST_QML_DIR=desktop/qmlmakes a debug build load the QML from your checkout instead of the compiled-in copy, so QML edits need only a restart. -
RUST_LOG=infologs the engine and backend to stderr. The app always writes its own log to~/.local/state/ost/ost-desktop.log. - After changing dependencies, regenerate the third-party notices shown in
Settings ▸ About:
just notices.
Get started
Feature tour
Chat and channels
Meetings and calls
- Calendar
- Calls and meetings
- Calls and voicemail
- Meetings
- Meeting controls
- Sharing and presenting
- Captions and transcripts
- Breakout rooms
- Town halls and webinars
- Meeting recaps
- Video effects and clips
- Room mode
Apps and files
You and settings
Reference
- Keyboard shortcuts
- Configuration and environment variables
- Bluetooth headsets
- Translations
- Privacy and data
- Differences from Teams
Help