#vulkan #gpu #fetch #neofetch #ascii-art

bin+lib vkfetch-rs

vkfetch-rs is a fetch-program that displays basic information about your vulkan-compatible graphic card(s)!

12 releases

0.2.4 Feb 12, 2025
0.2.3 Feb 12, 2025
0.1.0 Apr 26, 2024
0.0.6 Apr 26, 2024

#974 in Command line utilities

Download history 7/week @ 2024-11-26 100/week @ 2024-12-03 104/week @ 2024-12-10 3/week @ 2024-12-17 1/week @ 2024-12-31 4/week @ 2025-01-07 1/week @ 2025-01-14 126/week @ 2025-02-04 432/week @ 2025-02-11

558 downloads per month

AGPL-3.0

48KB
1K SLoC

vkfetch

this is a rewrite of https://github.com/Wunkolo/vkfetch
I referenced the code and copied the ASCII art from it
thanks to wunkolo for writing the original
I rewrote it because I wanted to have vkfetch on an easy to access package manager and wanted to extend it
I believe we now have feature parity with the original vkfetch + some extra info not present in the original

installation

dependencies

nix

  environment.systemPackages = [
    pkgs.vulkan-loader
  ];
nix-shell -p vulkan-loader
nix-env -iA nixos.vulkan-loader

ubuntu

wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list http://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list
sudo apt update
sudo apt install vulkan-sdk

or

sudo apt update
sudo apt install vulkan-sdk

brew

brew install vulkan-loader

other distributions

check your own package managers or

https://vulkan.lunarg.com/sdk/home#linux

windows and mac

https://vulkan.lunarg.com/sdk/home#linux

vkfetch-rs

cargo install vkfetch-rs

build it from source

if you use nix then you can use my flake nix develop

git clone https://github.com/float3/vkfetch-rs
cd vkfetch-rs
cargo build

TODO

don't do ansi codes if stdout is a file

Dependencies

~5–10MB
~127K SLoC