Skip to content

xnqs/turbofetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Turbofetch: Lightning fast and sleek fetch script for Linux ⚡

image preview

This project started as a way to learn how to pipe command output into a C string. And, of course, growing tired of Neofetch's slowness. Not to mention the absolute behemoth that is Screenfetch (who even uses that anymore?). The ending result, I'd say, is pretty nice.

The main objective of Turbofetch is to look very nice and sleek, while also being able to load ultra-fast. And, just that it accomplishes.

Turbofetch is also very customizable. You can change its colours in the main.c file, and even edit it to use a custom logo if you wish.

Building

The building process is very simple:

gcc main.c -o turbofetch -O2 -lpthread -lpci
sudo mv turbofetch /usr/bin/

Performance

Neofetch loaded in about 0.180s. That's pretty slow! We can do better than that, right?

Using Minifetch, we get results that are a lot better than those of Neofetch, loading in about 0.056s. That's very good, but we can do even better, while fetching additional information!

Using Turbofetch, we get results even better than those of Minifetch! It loads in about 0.001s!!! That's quite literally instant.

Conclusion

I'm sure that my code is still heavily unoptimized, and that I still have a lot to optimize, but for now, this is a decent solution to my first world problems.

About

Lightning fast and sleek fetch script for Linux ⚡

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages