~mugman/blog

a blog about tildes

Neofetch on Tilde

November 03, 2021 — ~mugman

What it is

I have made a simple web version of Neofetch, just for Tilde. You can check it out here. It uses Python (as you probably could tell by the file extension) along with a locally downloaded version of neofetch.

How it was made

I chose Python due to some functions it has on files and other objects, making it easier for me to work with. I started by pulling the neofetch bash script from its GitHub page, and made a simple python script to grab the output and store it. Then I removed the color codes using python replace, awk, sed, and a few other tools. Once I tested it and it was ready, I split the logo from the other information, and put the information into a table. I used a <pre> to preserve whitespace.

[This blog may or may not be work in progress]

tags: tilde, website, neofetch