2 unstable releases
| 0.2.0 | Dec 4, 2025 |
|---|---|
| 0.0.6 | Dec 11, 2024 |
#57 in Operating systems
30KB
681 lines
Overview
OxiFetch is a Rust program that displays key system information, such as operating system details, uptime, CPU specs, memory usage, and more. The output includes an ASCII art logo and provides a quick overview of your machine's current status.
Features
- Operating System and Kernel: Displays OS type and kernel version.
- Distribution Name: Identifies the Linux distribution from
/etc/os-release. - Uptime: Shows system uptime in hours and minutes.
- CPU Information: Lists the number of CPU cores, their speed in MHz, and CPU type.
- Memory Usage: Reports available and total memory in GB.
- Hostname: Displays the system's hostname.
- Shell and Terminal Emulator: Identifies the user's current shell and terminal emulator.
- GPU Information: Displays the GPU type and vendor information.
- Desktop Manager: Reports the desktop manager in use (e.g., GDM, LightDM).
- Desktop Environment: Identifies the desktop environment (e.g., GNOME, KDE Plasma).
- ASCII Art Logo: Presents an ASCII logo at the start of the output.
Requirements
- Rust: Make sure Rust is installed. Get it from rust-lang.org.
Installation
-
Clone the repo:
git clone https://github.com/AK1R4S4T0H/OxiFetch cd oxifetch/OxiFetch -
Build the program:
chmod +x install.sh ./install.sh -
Run the program:
oxifetch
Settings
Created By: AK1R4S4T0H
Usage: oxifetch [OPTION]
If run with No Options, then All Options will be used
Options:
-t, --os-type Print the OS type.
-k, --os-release Print the OS release.
-c, --cpu-num Print the number of CPU cores.
-s, --cpu-speed Print the CPU speed in MHz.
-m, --mem-info Print memory information.
-hn, --hostname Print the hostname.
-u, --uptime Print system uptime.
-l, --shell Print the current shell.
-g, --gpu Print GPU information.
-term, --terminal Print the terminal name.
-d, --desktop Print the desktop environment.
-h, --help Show this help message.
--check Show Version Info
Example Output
██████╗ ██╗ ██╗██╗███████╗███████╗████████╗ ██████╗██╗ ██╗
██╔═══██╗╚██╗██╔╝██║██╔════╝██╔════╝╚══██╔══╝██╔════╝██║ ██║
██║ ██║ ╚███╔╝ ██║█████╗ █████╗ ██║ ██║ ███████║
██║ ██║ ██╔██╗ ██║██╔══╝ ██╔══╝ ██║ ██║ ██╔══██║
╚██████╔╝██╔╝ ██╗██║██║ ███████╗ ██║ ╚██████╗██║ ██║
╚═════╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚══════╝ ╚═╝ ╚═════╝╚═╝ ╚═╝
OS: Linux
Kernel: 5.4.0-72-generic
Distro: Ubuntu 20.04.2 LTS
Desktop Environment: KDE |
Desktop Manager: plasma
Uptime: 1 hour, 25 minutes
CPU Cores: 4
CPU Speed: 2600 MHz
CPU Type: AMD FX(tm)-6100 Six-Core Processor |
GPU: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti]
Memory: 3.45 GB / 8.00 GB
Hostname: my-machine
Shell: /bin/bash
Terminal: gnome-terminal
Dependencies
~2.1–3.5MB
~60K SLoC
