How to see beautiful Git project stats in your terminal


Summary

  • Onefetch provides code stats for git projects with ASCII art and detailed project info.
  • It can be easily downloaded for Linux, macOS, and Windows.
  • You can hide ASCII art and customize output fields to suit your preferences.

You may already know that checking a project’s status before you clone it with git is a good idea, but did you know there’s a convenient and attractive way of showing those stats right in your terminal? Meet Onefetch.

What is Onefetch?

My favorite modern replacement for Neofetch

Neofetch may have been discontinued, but it still inspires imitators and similar tools. Onefetch is a project summarizer, featuring ASCII art, a language breakdown, contributor info, and other details. Here’s an example showing onefetch running against its own repository:

The onefetch program showing a summary of the onefetch git repository.

The tool works with any git repository and generates output consisting of two parts:

  • On the left, you’ll see an ASCII art representation of the project’s main programming language.
  • On the right, you’ll see details about the project including how many branches and tags it has, who its main authors are, and how many lines of code it contains.

Setting up Onefetch is a breeze

Install it, run a few lines in your CLI, and enjoy the show

You can download a binary from Onefetch’s releases page for Linux, macOS, and Windows. There are also packages for various managers including Homebrew, pacman, and snap. Check out the full installation page for more details.

Basic Use of Onefetch

Once you’ve installed it, run onefetch directly from a repository’s root directory:

cd /path/to/repository
onefetch

Or by passing a repository path to the command:

onefetch /path/to/repository
The onefetch program showing summary stats for an httpserver project written in C.

Onefetch makes heavy use of color-coded output, so you won’t get good results piping it to other commands or redirecting it to a file.

Advanced Use of Onefetch

If you’re not a fan of the ASCII art that renders the main logo, you can hide it altogether with the –no-art option:

onefetch --no-art
The onefetch program showing statistics for the zed project without a logo.

There are some other nice visual settings you can use to tweak the output, including:

  • –no-color-palette to turn off the color palette that appears at the bottom
  • –nerd-fonts which produces nice icons alongside the languages
  • –no-title to hide the first line

In addition, you can configure the length of certain fields, like Authors, and turn off any that you don’t want to see using -d. Here’s a Go project with a heavily customized summary using the following command:

onefetch -d head license last-change churn version commits contributors url \
   --nerd-fonts --no-title --number-of-languages 10 --number-of-authors 10
Output from the onefetch command showing custom stats for a git project.


Use Onefetch to keep up with your projects and repos

Onefetch is a simple command that’s easy to install and use. It’s great to showcase your own projects or to quickly remind yourself what that project lingering on your hard drive is all about.



Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


After a four-year wait, Euphoria has returned to television, but season 3 is providing a major shake-up to its formula. Not only have four years passed in the real world, but the in-universe tale has moved forward, taking the cast of the Zendaya-led teen drama out of high school and into the trials of young adulthood. As such, the series faces a new challenge of whether it can keep up its momentum with this drastic new status quo.

While it remains to be seen how Euphoria can move past its teen drama roots, it’s an excellent time to dive into the celebrated and controversial series Skins. Let’s see how it handled the test of time, how it outshines Euphoria, and how it fell into similar trappings.

What is Skins?

Skins broke the teen drama mold

Created by Bryan Elsley and Jamie Brittain, Skins is Channel 4’s British drama series that premiered in 2007. Initially, the series first honed in on a group of teens enjoying their youth in the city of Bristol, caught between youthful revolt, partying, and the pressures of adulthood. The show walked a fine line between relatable comedy and serious drama. This combination of genres attracted a following.

Skins aired for seven seasons between 2007 and 2013, running for a final total of 61 episodes. The series was praised by critics and prominent industry voices—including Doctor Who’s Russell T. Davies and Black Mirror’s Charlie Brooker—for breaking the mold of what a teen drama could be. Even over a decade after its final episodes aired, its characters are still fondly remembered, finding new life through a thriving online fandom.


skins


Release Date

2007 – 2013-00-00

Network

E4

Showrunner

Jamie Brittain, Bryan Elsley

Writers

Jamie Brittain, Bryan Elsley



Skins was celebrated as a realistic depiction of teen life

The series was willing to show the highs and lows

Skins is part of a unique generation of teen-focused media released in the mid-2000s and 2010s. The series wasn’t a glossy depiction of youth culture; its cast comprised young people stumbling through life, making mistakes, or intentionally causing trouble. They were allowed to be flawed and even unlikable, which would resonate with the young target demographic at the time, who would find their struggles relatable.

With this clear recognition of what its audience was looking for, Skins became acclaimed for its willingness to dive into taboo and controversial subjects at the time. Alongside several storylines tackling queer themes, the series dared to depict a generation in conflict with those who came before, with the show’s adults either being unintentionally neglectful or outright malicious towards the young cast. As Skins was exploring teens transitioning between youth and adulthood, the show is a coming-of-age story that is willing to show every aspect these changes bring, for better or worse.

Skins spawned several stars

Several actors are now household names

The cast of Skins in a photo. Credit: Warner Home Video

While Euphoria can be credited with being the breakout show for several actors, Skins had no shortage of faces who would dominate both the big screen and television. Seasons 1 and 2’s cast not only featured Nicholas Hoult, Dev Patel, Joe Dempsie, and Hannah Murray long before they would star in highly celebrated projects such as Superman, The Green Knight, and Game of Thrones.

The show also featured small appearances by Get Out’s Daniel Kaluuya, who would pen several episodes for the series. Season 2 would continue to feature future stars in their breakout roles, such as 28 Years Later’s Jack O’Connell as the brash and loud hooligan Cook and The Gentlemen’s Kaya Scodelario, who transformed her season 1 character Effy Stonem into a compelling lead.

When paired with a supporting cast of several talented, established mainstays on British television, it is understandable why Skins provided a perfect chance to give these future stars the perfect breakout roles. Not only were the characters able to tap into the youthful rebelliousness and culture of the time in a way that made it highly relatable to audiences, but the stars behind these characters were able to show their skills against their older costars and prove themselves. As such, it is unsurprising that Skins‘ young leads would go on to bigger projects that would be recognized around the globe.

Skins avoided Euphoria’s production issue

Skins’s major cast shake-ups helped the series continue

The skins show 3. Credit: Warner Home Video

However, with a young cast who would gradually grow out of their roles, Skins was limited in the stories that it could tell while the audiences could still plausibly believe that the actors were the same age as their characters. While finding a cast who could believably play younger characters is hardly a new predicament, it is something that has become more scrutinized as time goes on. Even Euphoria has had to grapple with this issue, with season 3 featuring a time jump of several years to account for its cast outgrowing their high school roles in the gap between each season’s production.

Arguably, out of most teen dramas, Skins found the ideal way to handle this issue. Rather than following a single group of teens across seven seasons, the first six seasons can be divided into three distinct eras with their own unique casts. The final season explored what happened to several fan-favorite characters following their education. Not only did this compromise avoid any potential issues due to the cast’s ages, but it also broadened the scope of the kinds of stories that could be told due to its revolving cast.

Skins wasn’t without its own controversies

A young cast brought several difficulties

That’s not to say that Skins didn’t attract criticism. Due to the young ages of the cast at the time of filming and the situations they were placed in, the series understandably and rightfully received heavy scrutiny of how they were treated, alongside discussions of whether the series was guilty of glorifying unhealthy habits. These critiques weren’t limited to viewers and professional critics either, as several lead actors such as Scodalerio, April Pearson, and Dakota Blue Richards have spoken about their time on set through social media.

While Skins can be celebrated for its willingness to depict a gritty and relatable portrayal of growing up in the early 2000’s, it is important to acknowledge where things could have been handled better, especially as more of its stars open up about their time making the show. It is also important to acknowledge how these revelations can affect the show’s perception, either by those who grew up with the show or newcomers looking in. If you feel uncomfortable by the events depicted onscreen or feel sour towards the show due to the cast’s treatment, it may be best to avoid it.​​​​​​​

Where to stream Skins

The series has a lasting legacy

Effy in Skins. Credit: Channel 4

For better and worse, Skins represents a major moment in British television history. Between casting future stars in their breakout roles and giving audiences an unflinching depiction of teen life, the series is worth revisiting for these aspects. Furthermore, if you are familiar with Euphoria, it is also interesting to go into the series and compare how each show tackles similar themes, not only due to how times have changed between series but also through how a British cultural lens vs. a US lens works.


Furthermore, for US viewers, Skins is currently readily available to stream. The full series is available to Hulu subscribers, as well as those who pay for the Disney+ bundles that feature the service. If your excitement for Euphoria has been dimmed by the lengthy wait between seasons or you are just looking for an interesting show to compare it to, Skins still stands as the best option available.

hulu-poster.jpg

Subscription with ads

Yes, $10/month

Live TV

Yes, various plans available




Source link