Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/info-mono/diyfetch

๐Ÿงฐ๐Ÿ“  The ultimate fetch tool template
https://github.com/info-mono/diyfetch

cli fetch gum shell-script system-fetch terminal tutorial

Last synced: about 2 months ago
JSON representation

๐Ÿงฐ๐Ÿ“  The ultimate fetch tool template

Awesome Lists containing this project

README

        




## ๐Ÿ’ก About

**DIYfetch** it the shell script template for writing adaptive fetch tool utilizing
[Gum's join command](https://github.com/charmbracelet/gum#join).

## ๐Ÿš€ Setup

### ๐Ÿงพ Dependencies

- [POSIX compliance shell (`sh`, `bash`, `zsh`, ...)](https://wikipedia.org/wiki/Unix_shell)
- [Gum](https://github.com/charmbracelet/gum) ([installation guide](https://github.com/charmbracelet/gum#installation))

### ๐Ÿ“ฅ Download

Download the [`diyfetch`](https://github.com/info-mono/diyfetch/blob/main/diyfetch) file:

```sh
curl https://raw.githubusercontent.com/info-mono/diyfetch/main/diyfetch > ~/.local/bin/diyfetch
chmod +x ~/.local/bin/diyfetch
```

> **Note** feel free to change the file name to what ever you want.

### โš™๏ธ Customize

Open the fetch script with your favorite editor then add, delete and change whatever you prefer.
The script contain detailed guide to customize it.

### โŒจ๏ธ Usage

Finally, run the fetch script in the terminal:

```sh
diyfetch
```

## ๐Ÿ–ผ๏ธ Showcases

Here are some examples, you can find their script in [`examples/`](examples).

### [Insert Name](examples/insertname)

This example is inspired by [Insert Name from Neofetch themes](https://github.com/Chick2D/neofetch-themes#insert-name).




### [Idlifetch](examples/idlifetch)

This example is inspired by [Idlifetch from Neofetch themes](https://github.com/Chick2D/neofetch-themes#idlifetch).




### [Ozozfetch](examples/ozozfetch)

This example is inspired by [Ozozfetch from Neofetch themes](https://github.com/Chick2D/neofetch-themes#ozozfetch).




### [Fm6000](examples/fm6000)

This example is inspired by [Fetch-master 6000](https://github.com/anhsirk0/fetch-master-6000).




### [Laundryfetch](examples/laundryfetch)

A tiny fetch I make to celebrate my No.1 victory at the local game jam.

> I buy a smart washing machine for mommy with the prize money.




### [Timefetch](examples/timefetch)

Why stop at system informations. You can fetch a bunch of time related information as well!




> **Note**

> Requirements: [`figlet`](https://www.figlet.org).

### [Weatherfetch](examples/weatherfetch)

This example utilize [`wttr.in`'s API](https://github.com/chubin/wttr.in#json-output)
with [Wego's ansi arts](https://github.com/schachmat/wego).




> **Note**

> Requirements: [`jq`](https://stedolan.github.io/jq).

### [Pokefetch](examples/pokefetch)

Poke~~dex~~ fetch! This example utilize [PokeAPI](https://pokeapi.co)
and [Pokemon colorscripts](https://gitlab.com/phoneybadger/pokemon-colorscripts).








> **Note**

> Requirements: [`jq`](https://stedolan.github.io/jq).

## ๐Ÿ’Œ Credits

Special thanks to:
- [**Neofetch Themes**](https://github.com/Chick2D/neofetch-themes) by [Chick Chan](https://github.com/Chick2D)
- [**Neofetch**](https://github.com/dylanaraps/neofetch) by [Dylan](https://github.com/dylanaraps)
- [**Pfetch**](https://github.com/dylanaraps/pfetch) also by [Dylan](https://github.com/dylanaraps)
- [**Ufetch**](https://gitlab.com/jschx/ufetch) by [Jschx](https://gitlab.com/jschx)
- [**Pure sh bible**](https://github.com/dylanaraps/pure-sh-bible) also by [Dylan](https://github.com/dylanaraps)
- [**ShellCheck**](https://www.shellcheck.net) also by [Vidar Holen](https://github.com/koalaman)

๐Ÿฅš


Made with <3 by NNB