Macchina preview image

Crates.io Crates.io Say Thanks


About Macchina

Macchina is a fetching program. If you're interested in the library, check out libmacchina.

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

If you're ricing your desktop and would like a program to display your system information, or you want it to load as soon as you open your terminal, like I do, then Macchina has you covered.


Benchmarks

Macchina is pretty fast, see for yourself!

🐧 Linux

| Command | Mean [ms] | Min [ms] | Max [ms] | Relative | |:---|---:|---:|---:|---:| | macchina | 19.5 ± 0.7 | 18.6 | 21.5 | 1.00 | | neofetch | 375.6 ± 4.2 | 371.0 | 391.1 | 19.24 ± 0.70 |

Summary: macchina runs 19.24 ± 0.70 times faster than neofetch

🪟 Windows

| Command | Mean [ms] | Min [ms] | Max [ms] | Relative | |:---|---:|---:|---:|---:| | macchina | 9.0 ± 0.4 | 8.2 | 11.7 | 1.00 | | neofetch | 2207.7 ± 53.8 | 2127.1 | 2325.9 | 244.38 ± 13.43 |

Summary: macchina runs 244.38 ± 13.43 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 | 20.9 ± 2.0 | 19.3 | 30.9 | 1.00 | | neofetch | 380.6 ± 26.0 | 344.8 | 422.1 | 18.25 ± 2.16 |

Summary: macchina runs 18.25 ± 2.16 times faster than neofetch


Features

Themes

Theme preview

The themes wiki page contains a list of all the built-in themes that you can switch between using the --theme flag.

Bars

Preview of bar argument

Bars provide a way to visualize data, and each theme styles them differently. They can be enabled using the --bar flag.

What it fetches

Meet Doctor

Doctor flag preview

Macchina comes with a very special flag, allowing you to know why certain elements, for example, your operating system information might not be appearing. It can differentiate between errors, and warnings, and its comprehensive output should help you understand where the issue is coming from.

To use this feature, run macchina --doctor


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:

The dependencies wiki page explains why these dependencies exist.

Installation

Macchina's installation wiki page can help you install the program, and also lists multiple other ways you can do so. You might also prefer running the prebuilt binary that corresponds with your operating system.


Platform Support

| Platform | Support | | :-: | :-: | | GNU/Linux | Yes | | NetBSD | Yes | | macOS | Yes | | Windows | 80% |

🌍 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!