File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ```` md
12# newofetch
2- small program in c which shows ur system info
3+
4+ Minimal, fast system information tool written in C.
5+ A simple Linux CLI utility inspired by neofetch, focused on speed and zero dependencies.
6+
7+ ## Features
8+
9+ - OS and kernel info
10+ - Hostname and user
11+ - Uptime
12+ - CPU detection
13+ - GPU detection (via ` /sys ` )
14+ - RAM usage
15+ - Disk usage
16+ - Installed package count (dpkg / pacman / rpm)
17+ - Shell and terminal detection
18+
19+ No external tools required. Pure C.
20+
21+ ## Build
22+
23+ Requirements:
24+ - Linux
25+ - gcc
26+
27+ Compile:
28+
29+ ``` bash
30+ gcc -O2 newofetch.c -o newofetch
31+ ````
32+
33+ Run:
34+
35+ ` ` ` bash
36+ ./newofetch
37+ ` ` `
38+
39+ # # Example output
40+
41+ ```
42+ User: matt@heropc
43+ OS: Arch Linux
44+ Kernel: Linux 6.7.4
45+ Uptime: 1d 3h 12m
46+ CPU: Intel i5-2400
47+ GPU: amdgpu
48+ RAM: 3.21 / 7.78 GiB
49+ Disk (/): 54.12 / 223.57 GiB
50+ Packages: 812 (pacman)
51+ Shell: /bin/bash
52+ Terminal: xterm-256color
53+ ```
54+
55+ ## Roadmap
56+
57+ * colors
58+ * CLI flags
59+ * distro logos
60+ * config file
61+ * package managers expansion
62+ * performance improvements
63+
64+ ## Why
65+
66+ This project exists as a lightweight alternative and as a learning project for low-level Linux system inspection in C.
67+
68+ ## License
69+
70+ This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
71+
72+ ```
73+ ```
You can’t perform that action at this time.
0 commit comments