Skip to content

v0.2.0

Choose a tag to compare

@azislamayuda azislamayuda released this 21 Oct 23:20
· 26 commits to main since this release

zfetch v0.2.0

Automatic Distro Logos and GitHub Update Manager

zfetch v0.2.0 introduces automatic Linux distribution logo detection and a GitHub-based update manager, making the lightweight Rust-powered system information tool easier to use and maintain.

This release also improves the built-in ASCII logo database while preserving custom logo support, JSONC configuration, and the existing native system detection features.

What's New

Automatic Linux Distribution Logos

  • Automatically detects the Linux distribution using /etc/os-release.
  • Displays a recognizable ASCII logo for supported distributions.
  • Includes a compact, embedded ASCII logo database with support for Ubuntu, Debian, Linux Mint, Pop!_OS, Fedora, Arch Linux, and other distributions.
  • Uses distribution family information as a fallback when an exact match is unavailable.
  • Preserves custom ASCII logos configured through JSONC or --logo.
  • Supports disabling the logo with --no-logo.

GitHub Update Manager

  • Introduces zfetch --check-update to check the latest stable GitHub Release.
  • Introduces zfetch --update for an interactive update workflow.
  • Compares version numbers to determine whether an update is available.
  • Recognizes development builds newer than the latest public release.
  • Supports checksum verification for compatible Debian package updates.
  • Keeps network operations separate from normal system information display.

Improvements

  • Replaces placeholder distribution logos with recognizable ASCII artwork.
  • Maintains support for custom ASCII logos and logo alignment.
  • Improves update status messages and version comparison behavior.
  • Preserves existing JSONC configuration and native hardware detection.
  • Adds unit tests for logo selection and update management.

Installation

Download zfetch_0.2.0-1_amd64.deb from the release assets.

Install or upgrade using:

sudo apt install ./zfetch_0.2.0-1_amd64.deb

Verify the installation:

zfetch --version

Display system information:

zfetch

Check for updates:

zfetch --check-update

Compatibility

The provided Debian package targets Linux amd64 systems using Debian-compatible package management, including Ubuntu and Debian-based distributions.

This release has been built and tested on Ubuntu 26.04.1 LTS. Compatibility with other distributions and architectures has not been fully validated.

Validation

  • 43 unit tests passed.
  • cargo fmt, cargo check, and cargo clippy passed.
  • Optimized compact build completed successfully.
  • Automatic Ubuntu logo and custom ASCII logo behavior verified.
  • GitHub release checking and newer-local-version handling verified.

The interactive installation path for a newly available update has not yet been tested end-to-end.

License

zfetch is released under the MIT License. Third-party ASCII logo artwork retains its applicable license notices and attribution.

Source code: https://github.com/azislamayuda/zfetch