🔗Package Maintainers
This guide covers building and packaging Boxxy Terminal for Linux distributions (Nix, Arch AUR, Fedora/RPM, Debian/APT, Gentoo, etc.). You can also reference our official Nix package definition in flake.nix and nix/package.nix.
🔗Continuous Release Model
Boxxy follows a =continuous development and release model=. Fixes, UI improvements, and AI provider updates land frequently on main.
Because upstream moves quickly, distro packages should stay up to date with recent releases so users don't run into stale provider integrations or miss important fixes.
🔗Build Requirements
- Toolchain: =Rust 2024 (v1.98+)= and
pkg-config - GTK Stack: =GLib 2.76+=, =GTK 4.22+=, =Libadwaita 1.9+=, and =GtkSourceView 5=
- Media: =GStreamer= (
gstreamer,gst-plugins-base,gst-plugins-good,gst-libav)
🔗Building & Disabling Self-Updates
When Boxxy is distributed through a package manager, updates are the package manager's responsibility — the built-in self-updater must be disabled at compile time with the disable-self-update feature:
GIT_HASH=<short-commit-hash> \
cargo build --release -p boxxy-app -p boxxy-agent --features disable-self-update
disable-self-update: Compiles out the in-app updater UI and GitHub version-check requests across both binaries, and automatically classifies the installation asdistro(no runtime flags needed).GIT_HASH: When building from a source tarball without a.gitdirectory, pass the short commit hash viaGIT_HASHso Preferences → About,boxxy-terminal +version, the daemon version handshake, and the What's New dialog report the exact build commit.
🔗Installing Binaries & Desktop Files
Build and install both boxxy-terminal and boxxy-agent into the same directory (for example, /usr/bin/boxxy-terminal and /usr/bin/boxxy-agent). On native installs, boxxy-terminal locates boxxy-agent beside its own executable.
Install the desktop metadata and icon:
install -Dm755 target/release/boxxy-terminal "$PREFIX/bin/boxxy-terminal"
install -Dm755 target/release/boxxy-agent "$PREFIX/bin/boxxy-agent"
install -Dm644 flatpak/dev.boxxy.BoxxyTerminal.desktop \
"$PREFIX/share/applications/dev.boxxy.BoxxyTerminal.desktop"
install -Dm644 flatpak/dev.boxxy.BoxxyTerminal.metainfo.xml \
"$PREFIX/share/metainfo/dev.boxxy.BoxxyTerminal.metainfo.xml"
install -Dm644 resources/icons/dev.boxxy.BoxxyTerminal.png \
"$PREFIX/share/icons/hicolor/256x256/apps/dev.boxxy.BoxxyTerminal.png"🔗Shell Completions (Optional)
You can generate completion scripts for bash, zsh, fish, and nushell directly from the compiled binary:
boxxy-terminal +completions bash
boxxy-terminal +completions zsh
boxxy-terminal +completions fish
boxxy-terminal +completions nushell
🔗Telemetry
Boxxy includes a privacy-first, open-source Telemetry system (enable_telemetry: true by default). It collects zero PII and feeds the public Live Dashboard, including distro installation metrics. Users can disable it at any time in Preferences → About, which immediately stops exporting and purges any unsent local events.
We recommend keeping telemetry enabled by default so distro users are represented and issues surface faster. If your distribution's policy requires telemetry to be off by default, change enable_telemetry: false in Settings::default() inside crates/preferences/src/config.rs — this preserves the toggle in Preferences so users can still opt in if they choose.
🔗Boxxy News
Boxxy includes Boxxy News, a lightweight in-app announcement feed for release highlights and important notices.
- Zero tracking: Fetches public read-only Markdown posts without sending
install_id,session_id, or read/dismiss receipts. All read state stays local in SQLite. - Quiet first run: Existing posts sync silently on first launch with zero toast notifications.
- User-configurable: Users can toggle background checks anytime in Preferences → About.
Because Boxxy News has no tracking and helps keep users informed under our continuous release model, please leave it enabled by default. If your distribution enforces strict offline-by-default rules, the default lives in default_enable_broadcasts() in crates/preferences/src/config.rs.