• Stars
    star
    638
  • Rank 70,537 (Top 2 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created almost 4 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace.

UwUFetch

A meme system info tool for (almost) all your Linux/Unix-based systems, based on the nyan/UwU trend on r/linuxmasterrace.

Contributing

All kinds of contributions are welcome, but before contributing please read CONTRIBUTING.md.

Currently supported distros

Full support (Both ASCII art + images are provided for the given distribution)

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.

Partial support (Either no ASCII art, or no image is provided)

Dewepyn, FemboyOWOS, KDE NeOwOn, nixOwOs, xuwulinux, Wocky Linuwu; Plus FweeBSD, OwOpenBSD, macOwOS and iOwOS; Plus WinyandOwOws.

Building and installation

Build and Run

Requisites

Via package manager

Arch (Official Repos)

uwufetch

From the AUR

uwufetch-git

From Pacstall

pacstall -I uwufetch

From source

Build requisites:

  • Make
  • A C compiler
    • A iOS patched SDK (if you build UwUfetch under iOS device)

To install UwUfetch from the source, type these commands in the terminal:

git clone https://github.com/TheDarkBug/uwufetch.git
cd uwufetch
make build # add "CFLAGS+=-D__IPHONE__" if you are building for iOS
sudo make install

To uninstall:

cd uwufetch
sudo make uninstall

Available Make targets

make build              # builds uwufetch and libfetch
make lib                # builds only libfetch
make debug              # use for debug
make install            # installs uwufetch (needs root permissons)
make uninstall          # uninstalls uwufetch (needs root permissons)
make clean              # removes all build output
make man                # compiles man page
make man_debug          # compiles man page and shows 'man' output

Images and copyright info

How to use images

Notice: images are currently disabled under iOS due to lack of a one command in UwUfetch code

First of all, you will need viu, which you can install by following the guide.

viu supports kitty and iTerm'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.

LibFetch

How to use

The first thing needed is to compile the library (same instructions as the simple binary). Now you can use the library just as in the example:

superfetch.c

#include <fetch.h>
#include <stdio.h>

int main() {
    printf("%s\n", get_info().cpu_model);
}

And then compile and run with

$ gcc superfetch.c -lfetch -o superfetch
$ ./superfetch

Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz

Issues

MOWODEL showing To Be Filled By O.E.M.

This happens when your computer hasn't had any OEM info filled in (habitually by the manufacturer). 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 [.config/uwufetch/config] and add host=false.

For copyright and logos info

See COPYRIGHT.md.

License

This program is provided under the GPL-3.0 License.