123marvin123 / macchina

Basic system information fetcher, with a focus on performance and minimalism.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Macchina preview image

Crates.io Crates.io reposize loc

Table of Contents


About Macchina

Macchina lets you view basic system information, like your hostname, kernel, uptime, memory usage, and much more. It provides you with convenient features and customization options but doesn't lose sight of its two main priorities, minimalism and performance.

Macchina preview image


Benchmarks

Macchina is pretty fast, see for yourself!

  • Execution time is measured using hyperfine
  • Hiding elements with --hide significantly improves speed

🐧 Linux

Command Mean [ms] Min [ms] Max [ms] Relative
macchina 34.3 Β± 0.8 32.9 35.9 1.00
neofetch 369.0 Β± 3.3 362.9 376.1 10.77 Β± 0.26

Summary: macchina runs 10.77 Β± 0.26 times faster than neofetch

πŸ‘©πŸ½β€πŸ’» macOS

Command Mean [ms] Min [ms] Max [ms] Relative
macchina 5.0 Β± 0.2 4.7 5.9 1.00
neofetch 484.5 Β± 4.3 477.2 492.3 97.10 Β± 3.84

Summary: macchina runs 97.10 Β± 3.84 times faster than neofetch

🚩 NetBSD

Command Mean [ms] Min [ms] Max [ms] Relative
macchina 245.1 Β± 1.0 244.1 247.6 1.00
neofetch 1264.8 Β± 5.7 1258.0 1276.9 5.16 Β± 0.03

Summary: macchina runs 5.16 Β± 0.03 times faster than neofetch


Features

Themes

Theme preview

The themes wiki page contains a list of all the built-in themes that you can use.

Bars

Preview of bar argument

What it fetches

  • Host
    • Username
    • Hostname
  • Product
  • Kernel
  • Distribution
  • Desktop Environment
  • Window Manager
  • Package Count [1]
  • Shell
  • Terminal
  • Processor
    • Model
    • Thread count
  • Uptime
  • Memory Usage
  • Battery
    • Percentage
    • Status
  • Palette

Usage

Macchina comes packed with arguments that let you customize its behavior and styling.

The usage wiki page can tell you all about them and how they work.


Dependencies

🐧 Linux:

  • wmctrl
  • Gentoo Only: portage-utils

🚩 NetBSD:

  • wmctrl
  • ripgrep

The dependencies wiki page explains why these dependencies exist.


Installation

Macchina is available on:

  • AUR

    git clone https://aur.archlinux.org/macchina.git
    cd macchina
    makepkg -si
    
  • NetBSD

    pkgin install macchina
    
  • crates.io

    cargo install macchina
    

Platform Support

Platform Support
GNU/Linux Yes
NetBSD Yes
macOS Yes
Windows Partial

🌍 Contributors

Crates.io

Macchina, like many other open-source projects, would not be where it is right now without the help of its contributors, thank you all so much!

  • Support for NetBSD would not be possible without the help and testing of NetBSD/pkgsrc package maintainer pin
  • Support for macOS and Windows would not be possible without the help, testing and major contributions of 123marvin123

About

Basic system information fetcher, with a focus on performance and minimalism.

License:MIT License


Languages

Language:Rust 100.0%