dylanaraps/pfetch ↗
Created Jan 4, 2021 · View the dylanaraps/pfetch repository page
🐧 A pretty system information tool written in POSIX sh.
An animated visualization of dylanaraps/pfetch's Git history from September 2019 to November 2020, built by 16 contributors. The codebase reached 358 lines, mostly Shell. The video runs 41 seconds.
Want this for your repo?
Render a free sample of any GitHub repo in seconds.
Contributors
16
Lines of Code
358
From
Sep 24, 2019
To
Nov 16, 2020
Advertisement
About dylanaraps/pfetch
pfetch is a lightweight system information display tool written in POSIX shell script. It shows system details like OS, kernel, uptime, and hardware information in a visually appealing format with ASCII art logos. The project prioritizes simplicity and portability by using only POSIX shell features where possible, avoiding external dependencies.
The tool supports an impressive range of operating systems including numerous Linux distributions, BSD variants, macOS, Windows Subsystem for Linux, Android, Haiku, Solaris, IRIX, Minix, and SerenityOS. For Linux specifically, it recognizes and displays custom logos for over thirty different distributions while gracefully falling back to a generic penguin logo for unrecognized systems.
The codebase is intentionally highly documented and serves as an educational resource for learning POSIX shell scripting and cross-platform system information detection. Configuration is handled through environment variables, making it easy to customize behavior without modifying the source code. The project explicitly aims to be a learning tool, with the creator encouraging users to open issues if any part of the implementation is unclear.
Advertisement