Onefetch: Ideal Fetch CLI Tool for Git Developers

Onefetch: Ideal Fetch CLI Tool for Git Developers

Onefetch: Ideal Fetch CLI Tool for Git Developers

Yesterday, Friday, October 18, 2024, as usual in many of the Linux communities within social networks and instant messaging applications, it was celebrated A new and fun Desktop Friday. And as usual, your server, who is writing to you today, participates publicly in X (formerly Twitter) and his personal Telegram channel/group. However, yesterday I was very struck by a screenshot shared by a GNU/Linux user who did not show the technical information of his hardware and operating system on his terminal, but the technical information of a Git repository that he had installed on his computer. So, after some research, I have learned about and tested the Fetch CLI Tool that today I come to share and teach you, which is called «Onefetch».

Also, this Fetch seems to me a very interesting alternative, especially for those professional users and self-taught GNU/Linux Distros who are constantly engaged in developing programs and applications using Git, and they see the celebration of Desktop Fridays as an opportunity to show others a little technical information about what they develop. While avoiding showing sensitive technical information about their computer. So without further ado, today we will cover the essential information about Onefetch so that you can try it and use it if it is useful, necessary and even fun for you.

Pfetch, Screenfetch, Neofetch and Fastfetch: Useful CLI tools

Pfetch, Screenfetch, Neofetch and Fastfetch: Useful CLI tools

But, before starting this interesting and useful post about this new alternative Fetch CLI tool called «Onefetch», which is also available for free for Linux and Windows, we recommend you explore the previous related post with many other similar apps, by the time you finish reading this:

In a direct, brief and easy-to-understand way, we can describe a "Fecth" program or application as those whose purpose or objective is to display on the terminal screens a small informative summary about the current technical characteristics of the computer and the operating system where it is running. Therefore, it is often used to be programmed when the terminals (consoles) of the different operating systems are running, in such a way as to immediately know the most essential and vital information to have a quick diagnosis of where we are going to work.

Pfetch, Screenfetch, Neofetch and Fastfetch: Useful CLI tools
Related article:
Pfetch, Screenfetch, Neofetch and Fastfetch: Useful CLI tools

Onefetch: A Git Feedback CLI Tool Written in Rust

Onefetch: A Git Feedback CLI Tool Written in Rust

What is Onefetch?

According to GitHub official website from «Onefetch», its developers describe and promote this tool in quite some detail as follows:

Onefetch is a command-line Git information tool written in Rust that displays project information and code statistics for a local Git repository directly in your terminal. The tool works without an internet connection. By default, repository information is displayed along with the dominant language logo, but this can be configured to use a specific image, on supported terminals, a text input, or nothing at all.

Furthermore, it is important to highlight that this program It is able to automatically detect open source licenses of developments indicated and provide the user with valuable information such as code distribution. Also, on pending changes, number of dependencies (per package manager), the main contributors (by number of commits), the size occupied on disk, the creation date, the lines of code implemented, among other relevant data.

While, in his Official website, they only indicate and offer information (in the form of an ASCII preview) about all the programming languages ​​supported by that CLI tool. However, and as expected, the same It is also available on the Ubuntu Software Store, both for obtaining information about the project and for its installation.

How to install it on Ubuntu, Debian and other derived GNU/Linux Distros?

How to install it on Ubuntu, Debian and other derived GNU/Linux Distros?

As we stated immediately above, «Onefetch» ​​on Ubuntu can be installed easily and quickly using the Snap packageHowever, it can be easily installed on other GNU/Linux Distros based on Ubuntu and Debian with simply Download the installer file in .deb format from the following link, or by installing the package using the Official PPA repository from the developer in the usual way:

sudo add-apt-repository ppa:o2sh/onefetch
sudo apt-get update
sudo apt-get install onefetch

In my particular case, and since I use my own personal MX Linux respin, I have installed «Onefetch» using the PPA repository by changing the detected Bookworm repository to the Noble repository. While, to test its effectiveness, I have downloaded precisely the Git repository of «Onefetch» ​​to see how it works when running it with the following command:

onefetch /home/sysadmin/onefetch/

The result is as follows:

CLI Terminal Screenshot

Themes for Neofetch: Customize your Linux Terminal easily
Related article:
How to customize Linux Neofetch using existing Themes?

Summary 2023 - 2024

Summary

In summary, now that you know one more Fetch CLI tool, we hope that if you are a passionate participant of Desktop Fridays, you will use it from time to time. «Onefetch». So that while you have fun participating, you also take advantage of disseminate technical information about a Git project you are working on or in which you are participating or simply want to support with dissemination. And if Do you know of any other Fetch CLI tools that we haven't covered yet?, so we invite you to mention it via comments, to address it in a future publication for the knowledge and benefit of all our readers.

Lastly, remember to share this useful and fun post with others, and visit the beginning of our «site» in Spanish or other languages (adding 2 letters to the end of the URL, for example: ar, de, en, fr, ja, pt and ru, among many others). Additionally, we invite you to join our Official Telegram channel to read and share more news, guides and tutorials from our website.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.