Skip to content

Building from Source

n1th1n-19 edited this page Nov 11, 2026 · 1 revision

Building from source

sudo apt install build-essential pkg-config libxkbcommon-dev libwayland-dev
git clone https://github.com/n1th1n-19/ember.git
cd ember
cargo run -p ember

The Rust version is pinned in rust-toolchain.toml; rustup installs it automatically.

Run Command
The app cargo run -p ember
The app on a page cargo run -p ember -- --page cpu
One applet's popup, for layout work cargo run -p ember -- --preview sound
An applet cargo run -p ember-applet -- sound (it only docks when started by the panel)
The service cargo run -p emberd
The widget cargo run -p ember-widget

Before a pull request

cargo fmt --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace

CI runs the same checks, and main only accepts changes that pass them.

Packages

packaging/build-deb.sh            # all .deb packages into target/debs/
./install.sh --deb target/debs    # install them

See also Architecture and the repo's CONTRIBUTING.md.

Clone this wiki locally