dylanaraps / Pfetch
Licence: mit
🐧 A pretty system information tool written in POSIX sh.
Stars: ✭ 816
Programming Languages
shell
77523 projects
Labels
Projects that are alternatives of or similar to Pfetch
Hardinfo
System profiler and benchmark tool for Linux systems
Stars: ✭ 385 (-52.82%)
Mutual labels: system-information
Embox
Modular and configurable OS for embedded applications
Stars: ✭ 576 (-29.41%)
Mutual labels: posix
Coursebook
Open Source Introductory Systems Programming Textbook for the University of Illinois
Stars: ✭ 437 (-46.45%)
Mutual labels: posix
Cpp Cheat
MOVING TO: https://github.com/cirosantilli/linux-kernel-module-cheat#userland-content SEE README. C, C++, POSIX and Linux system programming minimal examples. Asserts used wherever possible. Hello worlds for cool third party libraries and build systems. Cheatsheets, tutorials and mini-projects.
Stars: ✭ 474 (-41.91%)
Mutual labels: posix
Sh
A shell parser, formatter, and interpreter with bash support; includes shfmt
Stars: ✭ 4,343 (+432.23%)
Mutual labels: posix
Tmux Mem Cpu Load
CPU, RAM, and load monitor for use with tmux
Stars: ✭ 746 (-8.58%)
Mutual labels: system-information
Tinydir
Lightweight, portable and easy to integrate C directory and file reader
Stars: ✭ 575 (-29.53%)
Mutual labels: posix
Plibsys
Highly portable C system library: threads and synchronization primitives, sockets (TCP, UDP, SCTP), IPv4 and IPv6, IPC, hash functions (MD5, SHA-1, SHA-2, SHA-3, GOST), binary trees (RB, AVL) and more. Native code performance.
Stars: ✭ 402 (-50.74%)
Mutual labels: posix
Modernish
Modernish is a library for writing robust, portable, readable, and powerful programs for POSIX-based shells and utilities.
Stars: ✭ 586 (-28.19%)
Mutual labels: posix
Lizardfs
LizardFS is an Open Source Distributed File System licensed under GPLv3.
Stars: ✭ 793 (-2.82%)
Mutual labels: posix
Acme.sh
A pure Unix shell script implementing ACME client protocol
Stars: ✭ 24,723 (+2929.78%)
Mutual labels: posix
pfetch
A pretty system information tool written in POSIX sh
The goal of this project is to implement a simple system
information tool in POSIX sh
using features built into
the language itself (where possible).
The source code is highly documented and I hope it will
act as a learning resource for POSIX sh
and simple
information detection across various different operating
systems.
If anything in the source code is unclear or is lacking in its explanation, open an issue. Sometimes you get too close to something and you fail to see the "bigger picture"!
OS support
-
Linux
- Alpine Linux, Arch Linux, Arco Linux, Artix Linux, CentOS, Dahlia, Debian, Elementary, Fedora, Gentoo, Guix, Hyperbola, instantOS, KISS Linux, Linux Lite, Linux Mint, Mageia, Manjaro, MX Linux, NixOS, OpenSUSE, Parabola, Pop!_OS, PureOS, Slackware, Ubuntu and Void Linux.
- All other distributions are supported with a generic penguin logo.
- Android
-
BSD
- DragonflyBSD, FreeBSD, NetBSD and OpenBSD.
-
Windows
- Windows subsystem for Linux.
- Haiku
- MacOS
- Minix
- Solaris
- IRIX
Configuration
pfetch
is configured through environment variables.
# Which information to display.
# NOTE: If 'ascii' will be used, it must come first.
# Default: first example below
# Valid: space separated string
#
# OFF by default: shell editor wm de palette
PF_INFO="ascii title os host kernel uptime pkgs memory"
# Example: Only ASCII.
PF_INFO="ascii"
# Example: Only Information.
PF_INFO="title os host kernel uptime pkgs memory"
# A file to source before running pfetch.
# Default: unset
# Valid: A shell script
PF_SOURCE=""
# Separator between info name and info data.
# Default: unset
# Valid: string
PF_SEP=":"
# Enable/Disable colors in output:
# Default: 1
# Valid: 1 (enabled), 0 (disabled)
PF_COLOR=1
# Color of info names:
# Default: unset (auto)
# Valid: 0-9
PF_COL1=4
# Color of info data:
# Default: unset (auto)
# Valid: 0-9
PF_COL2=7
# Color of title data:
# Default: unset (auto)
# Valid: 0-9
PF_COL3=1
# Alignment padding.
# Default: unset (auto)
# Valid: int
PF_ALIGN=""
# Which ascii art to use.
# Default: unset (auto)
# Valid: string
PF_ASCII="openbsd"
# The below environment variables control more
# than just 'pfetch' and can be passed using
# 'HOSTNAME=cool_pc pfetch' to restrict their
# usage solely to 'pfetch'.
# Which user to display.
USER=""
# Which hostname to display.
HOSTNAME=""
# Which editor to display.
EDITOR=""
# Which shell to display.
SHELL=""
# Which desktop environment to display.
XDG_CURRENT_DESKTOP=""
Credit
-
ufetch: Lots of ASCII logos.
- Contrary to the belief of a certain youtuber,
pfetch
shares zero code withufetch
. Only some of the ASCII logos were used.
- Contrary to the belief of a certain youtuber,
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].