Skip to content

peachey2k2/0fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0fetch

tiny fetch tool written in x86 assembly

image

yea yea whatever, here are some bullet points:

  • fast (duh)
  • very small executable (less than 4KiB)
  • no libc or any libraries
  • 100% staticly linked
  • no heap allocations
  • nice cozy display
  • fast as fuck
  • very cool braille logo (it's kinda tuff)
  • did i mention fast?

Okay but why?

Aside from it being conceptually cool, I mainly made this just to fuck with @NotAShelf and @amaanq.

Basically raf (@NotAShelf) made his own fetcher (microfetch) and claims it's very small and fast. I initially started this as a rewrite of microfetch, but later on I changed a couple other things to my liking.

Also I like code golfing.

How do I install it???

# add these to your flake inputs:
_0fetch.url = "github:peachey2k2/0fetch";
_0fetch.inputs.nixpkgs.follows = "nixpkgs-unstable";

# and this to your overlays
_0fetch = inputs._0fetch.packages.${system}.default;

# and this to your packages
0fetch

# (you'll also want nerdfonts)

and if you're not using flakes, literally why???

Tip

you can use nix run github:peachey2k2/0fetch to run it once without installing

alternatively if you wanna try it in an inferior distro for some reason:

  1. clone the repo
  2. run make build (you'll need fasm)
  3. add it to your $PATH if you wanna (no logo cuz fuck you, just patch it smh)

But the benchmarks?????

image

#mogged #packwatch #ripbozo #RolledAndSmoked etc.

Want more stupid fancy tables? Go stare at microfetch's benchmarks.

But portability????????????

image

How do I customize???????????????

You don't. Just go use fastfetch like a normal person if you want that.

Or alternatively, write your own fetcher. Trust me it's not that hard.

About

tiny fetch tool written in x86 assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors