Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
/ uwufetch Public archive

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

License

Notifications You must be signed in to change notification settings

ad-oliviero/uwufetch

Repository files navigation

Archive

On 23th of April 2024, I archived this repository. Additional details in #257

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.

NOTE:

Every contribution should be pushed to development.

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.