Systema - System + "ma" (latin for "from") - getting info from system
A fast and lightweight system information fetch tool written in Zig.
- Fast & Lightweight: Built with Zig for high performance.
- System Information: Displays key system details:
- Username @ Hostname
- System / OS
- Kernel version
- Desktop Environment
- CPU information
- Shell
- Uptime
- Memory usage
- Storage usage (Root partition)
- Terminal Colors
- Customization:
- Custom ASCII logo support (embedded or from file)
- Configurable colors for logo, icons, and labels
- Adjustable layout (logo usage, gaps)
- Zig: Version 0.15.2 or later
- Linux: Currently supports Linux systems (LibC required)
-
Clone the repository:
git clone https://github.com/yourusername/systema.git cd systema -
Build deeply optimized release:
zig build -Doptimize=ReleaseFast
-
Run the binary:
./zig-out/bin/systema
The project includes a flake.nix for Nix users.
nix build
./result/bin/systemaor run directly:
nix runAdd the following to your flake.nix:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systema.url = "github:alvaro17f/systema";
};
outputs = { self, nixpkgs, systema, ... }: {
nixosConfigurations.yourhostname = nixpkgs.lib.nixosSystem {
modules = [
{
environment.systemPackages = [
systema.packages.${pkgs.system}.default
];
}
];
};
};
}systema [options]| Flag | Description |
|---|---|
-h, --help |
Print help message and exit |
-v, --version |
Print version information |
--logo-path=<path> |
Path to a custom ASCII logo file |
--logo-gap=<number> |
Set gap between logo and information (default: 3) |
--logo-color=<color> |
Set the color of the logo |
--icons-color=<color> |
Set the color of the icons |
--labels-color=<color> |
Set the color of the labels |
