Skip to content
Projetos

alxxrzfyr/maintainer-ubuntu

Ver no GitHub

Sobre

A native Rust app for secure, privacy-focused Ubuntu system monitoring and maintenance.

Segurança e privacidade

Como estes números são medidos

O que você pode fazer

  • Activity shows CPU, memory, disks, sensors, network traffic, and running processes. Visible readings refresh every two seconds by default and slow down while hidden.
  • Storage finds large files and duplicate groups in a folder you choose. Scans show progress, can be cancelled, and report skipped or unreadable paths. Review selected files before sending them to Trash or confirming permanent deletion. Duplicate scans leave the files in place.
  • Updates checks available APT updates and lets you review the exact package plan before applying it. The list marks security updates, desktop apps, and new dependencies. Transactions record receipts and support resuming eligible interrupted operations.
  • Health shows failed services, journal findings, hardware inventory, and optional S.M.A.R.T. details. Preview redacted diagnostic reports before copying, saving, or sharing them.

Crescimento medido de estrelas

em 24 h
0
em 7 dias
Coletando histórico
em 15 dias
Coletando histórico
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original
Maintainer logo

Maintainer

See what your system is doing. Review maintenance before you run it.

Maintainer is a native desktop app for Ubuntu-based Linux, including Linux Mint, Pop!_OS, elementary OS, and Zorin OS. Monitor resource use, find files taking up space, review APT updates, and investigate system health.

Quick Start · Features · Development · Documentation

Ubuntu 22.04+ Linux Mint Pop!_OS elementary OS Zorin OS Rust 1.89 License: MIT

Dark-mode walkthrough showing live system monitoring, a duplicate scan, security updates, a system health check, hardware inventory, and the monitoring refresh interval
Activity with live CPU and memory charts
Activity
Storage showing duplicate groups from a sample folder
Storage
Updates showing a list of security packages
Updates
Health showing detected graphics, firmware, and USB devices
Health

Maintainer 1.0.0 is the first release. Download the latest build from GitHub Releases, or build from source as described under Development.

Why Maintainer

  • Review before anything runs. Updates show the exact APT plan and approval is bound to it. File and process actions keep the identity of what you reviewed, so a swapped path or recycled PID is rejected.
  • A small, fixed privileged surface. The app runs as you. Privileged work goes through a D-Bus helper with a fixed operation list, validated parameters and Polkit authorization. It never runs arbitrary commands.
  • Private by construction. No telemetry, no cloud account, no live-metric persistence. Diagnostic reports redact usernames, hostnames, addresses and serial numbers, and you preview them before sharing.
  • Native and light. Pure Rust with iced: no WebView, Electron or embedded browser. Idle memory and CPU have numeric budgets in AGENTS.md.
  • Honest about what it knows. Missing data is never shown as zero or success. Each optional integration reports available, unavailable with a reason, or permission required.


Quick Start

Use Ubuntu 22.04 or newer, or an Ubuntu-based derivative, with an X11 or Wayland desktop session and sudo access for package installation. APT installs the runtime dependencies. You can use the app without a cloud account.

  1. Download the .deb from Releases. Choose amd64 for 64-bit Intel or AMD or arm64 for 64-bit ARM. Run dpkg --print-architecture if you are unsure.

  2. From the directory containing the download, replace VERSION and ARCH with the values in its filename and run:

    sudo apt install ./maintainer_VERSION-1_ARCH.deb
    maintainer
    

    You can also open Maintainer from the application menu. Run the app as your normal user. The Home page shows your system overview, and Polkit prompts for authorization when an operation requires it.

Remove the app

sudo apt remove maintainer
# Also remove system configuration. Data in your home directory remains.
sudo apt purge maintainer

Features

  • Activity shows CPU, memory, disks, sensors, network traffic, and running processes. Visible readings refresh every two seconds by default and slow down while hidden.
  • Storage finds large files and duplicate groups in a folder you choose. Scans show progress, can be cancelled, and report skipped or unreadable paths. Review selected files before sending them to Trash or confirming permanent deletion. Duplicate scans leave the files in place.
  • Updates checks available APT updates and lets you review the exact package plan before applying it. The list marks security updates, desktop apps, and new dependencies. Transactions record receipts and support resuming eligible interrupted operations.
  • Health shows failed services, journal findings, hardware inventory, and optional S.M.A.R.T. details. Preview redacted diagnostic reports before copying, saving, or sharing them.

System data stays on your computer. Live metric history stays in memory, and Maintainer ships a patched SQLite for settings, history, and backup/recovery on every supported Ubuntu version.

Optional integrations

To use Install What it adds
Drive health udisks2 S.M.A.R.T. information for compatible drives. Authorization may be required.
Flatpak updates flatpak Available Flatpak updates.
Firmware updates fwupd Available firmware updates through fwupdmgr.
Network speed test curl A speed test that starts after you confirm it.
Wi-Fi details iw Additional wireless connection details.
Device names pciutils, usbutils Readable PCI and USB device names.

Maintainer explains when an integration is unavailable or requires permission.


How it works

Crate Responsibility
maintainer-app Native iced interface, presentation state, and background job dispatch.
maintainer-core System collectors, typed services, cancellable jobs, and SQLite persistence.
maintainer-helper Fixed privileged operations and a separately scoped package owner through D-Bus and Polkit.

Blocking work runs off the UI thread. Privileged operations validate the caller and operation parameters. File and process reviews retain the identity of the reviewed item through execution. See the threat model.


Development

From the repository root, install rustup and the build and verification packages. Rustup uses the compiler pinned in rust-toolchain.toml.

sudo apt update
sudo apt install -y build-essential \
  libpolkit-gobject-1-dev libxkbcommon-dev libxkbcommon-x11-dev \
  libfontconfig1-dev libwayland-dev \
  libxcb-shape0-dev libxcb-xfixes0-dev libglib2.0-bin pkg-config python3 \
  python3-apt xvfb xauth dbus-x11 desktop-file-utils appstream fakeroot dpkg-dev
cargo run --locked -p maintainer-app
cargo build --locked --workspace

The first command opens the GUI. Run it as a regular user. Privileged actions require the installed services.

Verify changes

cargo fmt --all -- --check
cargo clippy --locked --workspace --all-targets --all-features -- -D warnings
bash scripts/test-native.sh
/usr/bin/python3 -W error::ResourceWarning -m unittest discover -s tests/performance -p 'test_*.py'
/usr/bin/python3 -W error::ResourceWarning -m unittest discover -s tests/release -p 'test_*.py'
/usr/bin/python3 -W error::ResourceWarning -m unittest discover -s tests/package_transaction -p 'test_*.py'

The native test script includes ignored display and integration tests. For a focused persistence check, run cargo test --locked -p maintainer-core persistence::.

Build a candidate

Use a new output directory outside the checkout. The candidate gate runs three complete test passes, linting, builds, and package checks. Its manifest binds the verification to the exact checkout and package payloads.

python3 scripts/check-release-local.py build /tmp/maintainer-candidate-new
python3 scripts/check-release-local.py verify /tmp/maintainer-candidate-new

To build the release binaries and package them separately:

python3 scripts/build-release.py
EXPECTED_DEB_ARCH=$(dpkg --print-architecture) bash scripts/build-package.sh /tmp/maintainer-packages

The release wrapper checks for embedded local build paths. Use the release guide for CI, tagging, and publication.

Measure performance

Run from an unprivileged desktop session without concurrent builds or tests:

PERF_SKIP_XVFB=1 scripts/measure-performance.sh target/release/maintainer-app --matrix

See the performance rules for the measurement limits and release status for current evidence. Keep raw local output in ignored logs.


Troubleshooting

  • Authorization prompts: Check that the installed helper and package-owner services are present, your desktop Polkit agent is running, and systemctl is-active dbus reports active.
  • Graphics: Run ICED_BACKEND=tiny-skia maintainer to try software rendering. Use WGPU_BACKEND=gl or WGPU_BACKEND=vulkan to select a GPU backend. Record any override when measuring performance.
  • Missing hardware readings: S.M.A.R.T. needs UDisks2 and a compatible drive. Sensor readings depend on Linux hwmon support.

Documentation

Defects and feature requests are submitted through the GitHub Issues templates. Include the distribution, steps to reproduce, and relevant redacted output. Security vulnerabilities must be reported privately as described in SECURITY.md.


Contributing

Contributions are welcome. Contributors should read CONTRIBUTING.md and the contributor instructions before submitting a change. All participants are required to follow the Code of Conduct.


License

Copyright © 2026 Alex Berin. Released under the MIT License.

Explore projetos relacionados

Carregando…