livefetch
- 12 Devlogs
- 55 Total hours
A TUI system information tool with live-updating modules for Linux and macOS.
A TUI system information tool with live-updating modules for Linux and macOS.
As a prize for your great work, look out for a bonus prize in the mail :)
First i completed all information on linux, but it isn’t much to show. Livefetch on Linux now works like on macOS.
But as macOS got a homebrew tap I though Linux needed it’s own. I found a tool called “nfpm” that with one configuration can build packages for multiple distros, really recommend it!
But maintaining multiple package repositories looked like a lot of work so I then programmed my own shell script that takes the latest version of livefetch and publish it to all repositories.
Took some work but it is now easier for anyone to install livefetch. In the image you can see livefetch being installed with apt on debian.
– WilGulf
I have been working on some small improvments that togther can add up and make livefetch a bit easier to understand and use.
The help message has been updated and improved. Then i have this new option that prints the available modules for your system. I have also been working on the README to be up to date and more useful.
I have also been working on getting livefetch to the aur, but the website hasn’t been working for me. Trying to register a account on the aur just gives me a 503 error. I hope that gets fixed so next ship can be installed using yay.
–WilGulf
– WilGulf
I didn’t have access to my linux machine, so I needed to work on something else. And this is a large update for livefetch.
Livefetch now has a –spin-logo true option that spins the logo around it’s y-axis. It took a while to get the math right and place all the ascii characters at the right place and right Z-level.
Sometimes the logo disappeard, sometimes the color was wrong, sometimes the logo didn’t even show.
But now the spinning works, at least for the logos I have tested it with.
–WilGulf
Now you may notice the devblogs are much closer, why? Well getting system info on linux is so much easier when it is just reading a file.
But now I have come to the final task, GPU and display info. The way of getting that info is different from every GPU manufacturer, and from what I seen for Nvidia you have to use their tool to do it, but that isnt garanteed to be install on a linux system with a Nvidia card.
I guess if fastfetch could do it then so should I.
–WilGulf
First of, we got some memory bars on linux. Yes now livefetch can display your linux systems ram and swap, even disks!
Now lets address the elephant in the room, the logo. The logo isn’t actually predetermined, now I have livefetch parsing the /etc/os-release to get the distro and use it’s logos. For the parsing I had to learn some new C string functions and try my way to get the os name out of the file, but i got there in the end!
–WilGulf
I know I said the info was done, but here comes more.
Using many of apples APIs we now can get the GPU model, battery and display stats.
Livefetch also supports homebrew as the package manager you can install livefetch on your own system with, but also livefetch can track the amount of packages installed with homebrew.
Hope to soon ship!
–WilGulf
When larping a linux distro you always need fastfetch/neofetch open. But the problem with those are that the info displayed gets outdated, after just a minute the ram usage could be completely wrong.
This fastfetch like project shows the info live and that darker line looping through is what updates the info.
Now both the info and logo shown is just a test and not real system information. This is just for testing.
In the background there is a config read when starting the program that determines the logo and if that darker line should be shown.
Later comes actually implementing a way to get that information on all the different operating systems.
–WilGulf