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.4.0 # Ubuntu/Debian: target/deb/ost-desktop_0.4.0-1~<distro>_amd64.deb, teams-cli_…
sh desktop/packaging/build-rpm.sh --deps 0.4.0 # Fedora/openSUSE: target/rpm/RPMS/x86_64/ost-desktop-0.4.0-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.4.0 # target/appimage/OST-0.4.0-x86_64.AppImage
sh desktop/packaging/build-tarball.sh 0.4.0 target/appimage/OST-0.4.0-x86_64.AppImage # ost-0.4.0-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.4.0-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. The release
workflow uses the generator at a pinned commit, checked against its
SHA-256, with its Python dependencies installed by hash from
desktop/packaging/flatpak/cargo-generator-requirements.txt.
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 tests
node --test desktop/tests/*.test.mjs # the embedded-app host's JavaScript origin checksCI also runs cargo deny and cargo audit on the dependencies (RustSec
advisories, licenses, sources) and the JavaScript tests.
Two settings are read when OST is built, not when it runs:
OST_FEEDBACK_REPO=<owner/repo> points feedback at a fork's repository,
and OST_DOCS_BRANCH=<branch> the Help articles' GitHub links (defaults
RandyNorthrup/ost and main).
The 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 harness is compiled in
only with the test-harness cargo feature, which development and CI
builds turn on and release packages never do:
cargo build -p ost-desktop --features test-harnessA build without it (every release package, and a plain cargo build --release -p ost-desktop) refuses the harness flags and positional
capture paths at launch (unrecognized option, exit status 2), ignores
OST_QML_DIR, OST_CQF_ALWAYS and OST_VOICE_PROFILE_WAV, and its
script hooks (--cal-page-steps, --loop-steps) do nothing. CI checks
that a release build refuses them.
The flags are listed in docs/desktop.md. Among them:
-
--prejoin-camera-test: the camera handed from the pre-join preview to the call, twice (join, camera toggles, leave, join again), with a solo meeting it makes and deletes, or--join-url=<link>. -
--shared-files-test [--shots=<dir>]: read only; OneDrive's Shared rows, Browse files by People and the cloud file picker's Shared with you and People, to compare with Teams. -
--chatlist-churn-test=<n>: n chat-list updates in a row (a chat hidden, then shown again, every 100 ms) without touching the server, to measure memory and responsiveness during bursts;--chatlist-watchlogs the list's state. -
--menu-keys-test: every menu's keyboard (arrow keys, Home / End, typeahead, submenus, Esc, Tab) as real key events. -
--calls-app-test,--calls-history-test --shots=<dir>: the Calls app's dial pad, menus, delegation pane and history, captured; nothing is saved or called. -
--search-steps=<step>|<step>…: drives the title bar's search box (focus, type, pills, pickers, go-to) and captures each step. -
--accounts-cmd=<file>(orOST_ACCOUNTS_CMD=<file>): drives the account switcher and other accounts from commands appended to a file. -
--sign-out-test: signs out 15 s after signing in, as the profile menu does; OST restarts and removes the profile's web storage. Use a spare profile.
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 atest-harnessbuild 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. Both have tokens, cookies and token, code and signature parameters removed from every line before it is written. - After changing dependencies, regenerate the third-party notices shown in
Settings ▸ About:
just notices.
Sponsor OST · Donate with PayPal
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