wouter173 / afetch

Simple system info written in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom version of afetch

made by me wouter de bruijn

afetch

Fast and simple system info (for UNIX based operating systems) written in POSIX compliant C99, that can be configured at compile time by editing the config.h file. It uses the C Preprocessor to implement config options at compile time.

afetch is a command line tool to display basic system information. The goal is to be highly configurable, extremely fast and work with no dependencies apart from the POSIX header files.

Requirements

Package count supported

  • Alpine
  • Arch
  • ArchBang
  • Arco
  • Artix
  • Debian
  • DragonflyBSD
  • Elementary OS
  • EndeavourOS
  • Fedora (slow due to package manager)
  • FreeBSD
  • Gentoo
  • Parabola
  • Manjaro
  • NetBSD
  • NixOS
  • OpenBSD
  • OpenSUSE Leap (slow due to package manager)
  • OpenSUSE Tumbleweed (slow due to package manager)
  • Pop!_OS
  • Slackware
  • Solus
  • Ubuntu
  • Void
  • macOS (Homebrew)

If your OS isn't in the list above, you'll still be able to build and run the program as long as you're either using Linux, or another UNIX based operating system with the necessary header files.

Please request your distro if you want it added

If on Linux, please show me the contents of the /etc/os-release file.

gif

Manual

I have provided a manual for configuration in the afetch.1 file. You can view it by running mandoc src/afetch.1 | less, or man afetch if you've already ran make install.

Configuration options

  • Support for one custom shell command (replaces the package count)
  • Custom colours
  • Custom artwork
  • Edit headings for info rows
  • Force lowercase text (unstable)
  • Show path to shell
  • Select text colour
  • Colour blocks

To do

  • Optimise
  • Add support for more distros
  • Improve some logos by changing artwork and making it multicoloured

Thanks

A Disclaimer

I'm not very good at using git, and this is my first project using the git CLI, so there'll be a stupid amount of commits, and other commits with very minor changes to one or two files.

About

Simple system info written in C

License:GNU General Public License v3.0


Languages

Language:C 88.9%Language:Roff 9.1%Language:Makefile 1.9%