An open API service indexing awesome lists of open source software.

https://github.com/mnk400/nfo

Minimal fetch program with some customizable ASCII art.
https://github.com/mnk400/nfo

bash fetch linux macos shell

Last synced: about 2 months ago
JSON representation

Minimal fetch program with some customizable ASCII art.

Awesome Lists containing this project

README

          

nfo

> Minimal fetch program with customizable ASCII art.

![](https://i.imgur.com/JyIAXzR.png)

## What is this

A small system fetch tool, written in Bash. Picks up the usual suspects — OS, kernel, uptime,
memory, CPU, disk, battery — and prints them next to a chunk of ASCII art. macOS and Linux.

The output is fully configurable: pick an art style, pick a tint, and reorder or drop any of
the info lines from a single function in your config.

## Install

Homebrew:

```bash
brew install mnk400/tap/nfo
```

Manual:

```bash
cp nfo ~/.local/bin/nfo
mkdir -p ~/.config/nfo
cp -r config.conf art ~/.config/nfo/
chmod +x ~/.local/bin/nfo
```

Make sure `~/.local/bin` is in your `PATH`.

## Uninstall

```bash
brew uninstall nfo
# or, for manual installs:
rm ~/.local/bin/nfo && rm -rf ~/.config/nfo
```

## Quick start

```bash
nfo
```

Config lives at `~/.config/nfo/config.conf`. To change what shows up, edit the `print_out()`
function:

```bash
print_out() {
nfo art
nfo host
nfo os
nfo up_time
nfo total_memory
nfo cpu
nfo battery
nfo colors
}
```

## Documentation

- [Configuration](./docs/configuration.md) — options, `print_out()`, available entries
- [Development](./docs/development.md) — dev mode, tests