SK-404

Doc no. SK-404DatasheetRev 2026.11Sheet 2.17 of 4

U5

fetch3d

System-info fetch for macOS with a rotating 3D Apple-logo relief, in one dependency-free C file.

Active

01

Block diagram

LogoASCII characters Height mapchars → depth Rotate + shadedonut.c style Terminaltruecolour · 256 sysctl · Machlive system specs
Fig. 1: Logo to height map to terminal
02

Characteristics

FootprintSingle dependency-free C file (fetch3d.c) built only against Xcode Command Line Tools (make)
3D shaderTurns the Apple logo silhouette into a height map rendered as a spinning, shaded 3D ASCII relief (donut.c projection)
Native APIsQueries OS, CPU, GPU, memory, swap, uptime, battery and display directly via macOS sysctl and Mach APIs
Colour modes6-band retro truecolour in iTerm2, Ghostty, kitty and WezTerm, with automatic 256-colour fallback in Terminal.app
FlagsSupports --speed, --size, --frames, --no-info, --no-color and --rotate-y
  • C
  • macOS
  • ASCII art
03

Overview & build notes

Inspired by Linux areofyl/fetch, fetch3d pairs a live donut.c-style 3D rotating Apple-logo height map with instant native macOS hardware telemetry.

Because all CPU core counts, GPU details, unified memory pressure, uptime and battery metrics come straight from C sysctl and Mach kernel interfaces with zero external libraries or slow shell sub-processes, startup and animation frames stay crisp.

Designed cleanly around ANSI terminal capabilities: truecolour shading renders in modern GPU terminals while cleanly degrading to 256 colours in stock Terminal.app.

04

Files & artifacts

KindFileDetailsSize
C sourcefetch3d.cHeight-map 3D renderer and native macOS sysctl/Mach system collector on GitHubGitHub
BuildMakefileMinimal Clang build rules requiring only Xcode Command Line ToolsGitHub
Scriptupdate.shHelper script to pull, rebuild and refresh the local binary on GitHubGitHub