2021-03-05 10:49:09 +01:00
# UwUFetch
2021-01-18 21:19:20 +01:00
2021-06-09 17:16:36 +02:00
A meme system info tool for (almost) all your Linux/Unix-based systems, based on the nyan/UwU trend on r/linuxmasterrace.
2021-01-18 21:19:20 +01:00
## Currently supported distros
2021-04-15 09:28:57 +02:00
2021-06-09 17:16:36 +02:00
### Full support (Both ASCII art + images are provided for the given distribution)
2021-04-15 09:28:57 +02:00
2021-10-26 09:41:00 +02:00
AmogOwOS, Nyalpine, Nyarch Linuwu, ArcOwO, Nyartix Linuwu, Debinyan, endevaOwO, Fedowa, GentOwO, GnUwU gUwUix, Miwint, Myanjawo, OwOpenSUSE, Pop OwOs, RaspNyan, Swackwawe, sOwOlus, UwUntu, and OwOid; Plus Nyandroid.
2021-01-18 21:19:20 +01:00
2021-06-09 17:16:36 +02:00
### Partial support (Either no ASCII art, or no image is provided)
2021-04-15 09:28:57 +02:00
2021-11-06 00:34:53 +01:00
KDE NeOwOn, nixOwOs, xuwulinux; Plus FweeBSD, OwOpenBSD, macOwOS and iOwOS; Plus WinyandOwOws.
2021-01-18 21:19:20 +01:00
## Building and installation
2021-06-09 17:16:36 +02:00
### Requisites
2021-03-16 09:10:54 +01:00
2021-08-28 14:19:56 +02:00
- [freecolor ](http://www.rkeene.org/oss/freecolor/ ) to get ram usage on FreeBSD.
2021-03-16 09:13:29 +01:00
2021-10-30 18:32:51 +02:00
- [xwininfo ](https://github.com/freedesktop/xorg-xwininfo ) to get screen resolution.
2021-08-28 14:19:56 +02:00
- [viu ](https://github.com/atanunq/viu ) (optional) to use images instead of ascii art (see [How to use images ](#how-to-use-images ) below).
2021-03-16 09:10:54 +01:00
2021-08-28 14:19:56 +02:00
- [lshw ](https://github.com/lyonel/lshw ) (optional) for better accuracy on GPU info.
2021-07-24 12:44:54 +02:00
2021-06-09 17:16:36 +02:00
### Via package manager
2021-03-07 22:44:51 +01:00
2021-11-25 00:35:37 +01:00
From the AUR
2021-03-12 11:17:35 +01:00
[![uwufetch ](https://img.shields.io/aur/version/uwufetch?color=1793d1&label=uwufetch&logo=arch-linux&style=for-the-badge )](https://aur.archlinux.org/packages/uwufetch/)
2021-03-13 21:37:27 +01:00
2021-03-12 11:17:35 +01:00
[![uwufetch-git ](https://img.shields.io/aur/version/uwufetch-git?color=1793d1&label=uwufetch-git&logo=arch-linux&style=for-the-badge )](https://aur.archlinux.org/packages/uwufetch-git/)
2021-03-07 22:44:51 +01:00
2021-11-25 00:35:37 +01:00
From [Pacstall ](https://github.com/pacstall/pacstall#installing )
```bash
pacstall -I uwufetch
```
2021-06-09 17:16:36 +02:00
### From source
2021-03-07 22:44:51 +01:00
2021-06-09 17:16:36 +02:00
Build requisites:
2021-04-15 09:28:57 +02:00
2021-06-09 17:16:36 +02:00
- Make
- A C compiler
2021-11-06 00:34:53 +01:00
- A iOS patched SDK (if you build UwUfetch under iOS device)
2021-04-12 13:16:45 +02:00
2021-03-09 06:00:41 +01:00
To install UwUfetch from the source, type these commands in the terminal:
2021-03-07 22:44:51 +01:00
2021-01-18 21:19:20 +01:00
```shell
2021-03-05 10:49:09 +01:00
git clone https://github.com/TheDarkBug/uwufetch.git
cd uwufetch
2021-12-06 15:25:25 +01:00
make build # add "CFLAGS+=-D__IPHONE__" if you are building for iOS
2021-06-09 17:16:36 +02:00
sudo make install # for termux, use `make termux`
2021-01-18 21:19:20 +01:00
```
2021-03-06 21:17:29 +01:00
To uninstall:
2021-03-07 22:44:51 +01:00
2021-01-18 21:19:20 +01:00
```shell
2021-03-05 10:49:09 +01:00
cd uwufetch
2021-03-13 21:37:27 +01:00
sudo make uninstall
2021-01-18 21:19:20 +01:00
```
2021-03-07 22:44:51 +01:00
2021-06-09 17:16:36 +02:00
#### Available Make targets
2021-03-07 22:44:51 +01:00
```shell
2021-04-28 02:25:55 +02:00
make build # builds uwufetch
2021-03-07 22:44:51 +01:00
make debug # use for debug
2021-03-13 21:37:27 +01:00
make install # installs uwufetch (needs root permissons)
make uninstall # uninstalls uwufetch (needs root permissons)
2021-03-07 22:44:51 +01:00
make termux # build and install for termux
make termux_uninstall # uninstall for termux
```
2021-04-02 15:56:57 +02:00
## Images and copyright info
2021-03-07 16:59:26 +01:00
2021-04-02 17:46:58 +02:00
### How to use images
2021-04-15 09:28:57 +02:00
2021-11-06 00:34:53 +01:00
Notice: images are currently disabled under iOS due to lack of a one command in UwUfetch code
2021-06-09 17:16:36 +02:00
First of all, you will need `viu` , which you can install by following the [guide ](https://github.com/atanunq/viu#installation ).
`viu` supports [kitty ](https://github.com/kovidgoyal/kitty ) and [iTerm ](https://iterm2.com/ )'s image protocols.
If not supported by the current terminal, `viu` uses the fallback Unicode half-block mode (images will look "blocky"), that is the case in many terminal emulators (gnome-terminal, Konsole, etc.). See also: [viu's README ](https://github.com/atanunq/viu#description ).
2021-01-18 21:19:20 +01:00
2021-12-26 15:32:21 +01:00
## Issues
### `MOWODEL` showing `To Be Filled By O.E.M.`
This happen when your computer hasn't had any [OEM info filled in ](https://www.investopedia.com/terms/o/oem.asp ) (Habitually, by the original company you could have buy your preconfigured computer from, or from which company prepared it).
While you could fill it yourself with your own custom info too, you can also disable the part of uwufetch which display this line.
Edit [`uwufetch.c` ](https://github.com/TheDarkBug/uwufetch/blob/main/uwufetch.c ) and search for the line `if (config_flags->show_host)` .
Once found, simply comment it out using `//` until the next `if` statement.
For example :
```C
// if (config_flags->show_host)
// responsively_printf(print_buf, "%s%s%sMOWODEL %s%s",
// MOVE_CURSOR, NORMAL, BOLD, NORMAL,
// user_info->model);
if (config_flags->show_kernel)
```
Then, build your edited uwufetch executable as normal.
2021-04-02 17:46:58 +02:00
### For copyright and logos info
2021-04-15 09:28:57 +02:00
2021-08-28 14:19:56 +02:00
See [COPYRIGHT.md ](/res/COPYRIGHT.md ).
2021-04-02 15:56:57 +02:00
2021-01-18 21:19:20 +01:00
## License
2021-03-07 22:44:51 +01:00
2021-08-28 14:19:56 +02:00
This program is provided under the [GPL-3.0 License ](/LICENSE ).
2021-04-07 17:43:00 +02:00
2021-06-09 17:16:36 +02:00
## Contributing
2021-04-07 17:43:00 +02:00
2021-08-28 14:19:56 +02:00
All kinds of contributions are welcome, but before contributing please read [CONTRIBUTING.md ](/CONTRIBUTING.md ).