Phosphenius/angstromfetch
Archived
1
2
Fork
You've already forked angstromfetch
0
This repository has been archived on 2025年12月16日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C 88.9%
  • Assembly 5.1%
  • Makefile 4.8%
  • Shell 1.2%
2025年12月16日 02:31:50 +01:00
.forgejo doc: Size screenshots down. 2025年12月13日 22:43:37 +01:00
.guix/modules guix: Simplify package definition. 2025年12月14日 18:39:18 +01:00
arch chore: Add missing license headers. 2025年12月14日 18:44:46 +01:00
completion chore: Fix license header. 2025年12月13日 23:57:56 +01:00
LICENSES doc: Update README.md. 2025年12月13日 20:02:56 +01:00
src Release version 1.2.0. 2025年12月14日 18:48:35 +01:00
.clang-format
.editorconfig
.envrc
.gitattributes afetch: Rename back to angstromfetch. 2025年12月11日 21:58:28 +01:00
.gitignore afetch: Rename back to angstromfetch. 2025年12月11日 21:58:28 +01:00
.guix-authorizations
.guix-channel
angstromfetch.1 feat: Add bash completion. 2025年12月13日 23:02:52 +01:00
CHANGELOG.md Release version 1.2.0. 2025年12月14日 18:48:35 +01:00
channels.scm
configure feat: Add AARCH64 support. 2025年12月14日 17:26:56 +01:00
GNUmakefile feat: Add AARCH64 support. 2025年12月14日 17:26:56 +01:00
guix.scm afetch: Rename back to angstromfetch. 2025年12月11日 21:58:28 +01:00
manifest.scm
README.md chore: Add notice about the project being renamed. 2025年12月16日 02:31:50 +01:00
REUSE.toml doc: Update README.md. 2025年12月13日 20:02:56 +01:00

RENAMED TO https://codeberg.org/Phosphenius/yoctofetch

Ångströmfetch

REUSE status Blazingly Fast Made by Humans AUR License AUR package Guix packaged C powered

Blazingly fast, ultra-lightweight system fetch tool, written in (削除) Rust (削除ここまで) C with goto statements to fearlessly deliver lightning-fast performance.

Output of angstromfetch with the Arch Linux logo on a dark background Output of angstromfetch with the Guix System logo on a dark background Output of angstromfetch with the Guix System logo on a light background

Synopsis

Handcrafted on top of the LinuxTM UAPI, independent of any libc, angstromfetch is a very fast and tiny system fetch tool. It currently has a stripped weight of about 20kb and runs in ~200μs (yes, microseconds).

Despite its incredible performance, it still supports quite a few features:

  • Logos (currently only Guix and Arch—more to come)
  • The majority of common system information
  • Costumization via command line flags
    • Force a certain logo
    • Disable output of specific system information
    • Add padding at the bottom
  • NO_COLOR support

Supported platforms

Due to the freestanding C environment, the number of supported platforms is quite limited.

Currently the following are supported:

  • Linux ABI
    • x86_64
    • aarch64

Linux on arm (32bit) support might be added. It would also be nice to include the *BSDs, but they make it rather hard to write freestanding programs.

Installation

It can easily be installed on Guix with the following channel configuration:

 (channel
 (name 'angstromfetch)
 (url "https://codeberg.org/Phosphenius/angstromfetch.git")
 (branch "main")
 (introduction
 (make-channel-introduction
 "55cd6d8e0ebce77af9fda1a5b2b00ea004c7fb8c"
 (openpgp-fingerprint
 "E504 167C B345 F93E 11AE 341C 1CDA 78BC 7F6C F294"))))

The Arch Linux AUR offers a stable and a git variant:

Building from source is straightforward:

# git clone and cd to checkout
./configure
make
# optionally install
sudo make install

Benchmarks

Run with hyperfine on a laptop with AMD Ryzen 7 5825U CPU.

Fetch Mean (μs) Min (μs) Max (μs) Relative
angstromfetch 217.6 ± 37.7 164.5 678.2 1
microfetch 884.4 ± 85.8 645.3 1431.9 4.06 ± 0.81
macchina 3100 ± 300 2600 4800 14.19 ± 2.77
uwufetch 16800 ± 600 16100 20200 77.42 ± 13.75
fastfetch 33400 ± 1500 30200 37400 153.71 ± 27.48
pfetch 89100 ± 2800 84500 96400 409.27 ± 72.11
ufetch 101200 ± 3700 98200 114500 464.91 ± 82.37
screenfetch 243900 ± 3100 24000 25000 1120.85 ± 194.94
neofetch 288200 ± 13800 270200 309100 1324.64 ± 238.35

Licensing

All code is provided under the terms of the GPL-3.0-or-later license.