Getǣl — Read-only macOS home directory disk usage cartography & APFS telemetry service
README.md

Getǣl #

Getǣl[1] is a strictly read-only cross-platform[2] Rust web service that scans, caches, live-monitors, and visualizes disk usage across your home directory[3] alongside volume/disk capacity and Time Machine local snapshot telemetry if you are on macOS.

Note

This project was created by AI. Gemini Neon created the plan from the initial request, Gemini Hydrogen implemented the code, and Gemini Neon fixed the bugs discovered by the user.

Getǣl Web Interface Overview

Quick Start & Compilation #

I'll add binary install instructions here once I've tested them for macOS/Win/Linux.

Prerequisites for compilation: recent Rust toolchain (cargo), and recent (>24) Node.js / npm (used during compilation to build the embedded web UI). You'll also need to clone the git repo to somewhere convenient.

# 1. Build the release binary (automatically builds web/dist/ and embeds it)
cargo build --release

# 2. (Optional) Pre-populate the SQLite cache with a one-shot scan of ~
./target/release/getael scan

# 3. Start the read-only local server on http://127.0.0.1:6174 and open it in the default browser
./target/release/getael serve --open

Other useful CLI commands:

./target/release/getael status            # Check running service or local cache status
./target/release/getael serve --port 7174 # Override default port (6174)

Homebrew Tap (macOS) #

Install via the dedicated Tangled tap (zip.mu.social/homebrew-getael):

# Add the tap (explicit Git URL required for Tangled)
brew tap zip.mu.social/getael https://tangled.org/zip.mu.social/homebrew-getael

# Install getael (use --HEAD to build from source before a binary release is published)
brew install --HEAD getael

# Start the strictly read-only background service on http://127.0.0.1:6174
brew services start getael

To update Formula/getael.rb with SHA-256 checksums on a new release:

./scripts/update-homebrew-formula.sh v0.1.0 ./dist ../homebrew-getael/Formula/getael.rb

Nix (Reproducible Builds & Dev Shell) #

With Nix flakes enabled:

# Run directly without installing
nix run git+https://tangled.org/zip.mu.social/getael

# Install into your user profile
nix profile install git+https://tangled.org/zip.mu.social/getael

# Enter a development shell with Rust (cargo, rustc, rustfmt, clippy), Node.js/npm, and SQLite
nix develop

Highlights #

  • Strictly Read-Only: Never modifies, moves, deletes, or thins any user file or Time Machine snapshot. Writes only to its own cache (~/Library/Caches/getael/), config, and logs. Every HTTP route is GET-only.
  • Native macOS APFS Telemetry:
    • Always-visible mounted volume gauge separating Home (~), Other APFS Container Volumes, Purgeable Pool (NSURLVolumeAvailableCapacityForImportantUsageKey), and Strictly Free Space.
    • Dedicated Time Machine Local Snapshots telemetry module & ledger (diskutil apfs listSnapshots -plist) showing snapshot count, timeline, purgeable status, shrink-lock warnings, and XID churn sparkline.
  • Fast Startup Scan + Persistent Cache + Live FSEvents:
    • Serves cached per-directory sizes immediately on startup while running a full scan of ~ (including hidden files) in the background.
    • Physical allocated bytes (st_blocks * 512) by default — honoring APFS sparse files, hardlink deduplication, same-device mount boundaries, and iCloud dataless files — with instant UI toggle to Logical size.
    • Keeps sizes current in near real time via Apple FSEvents with 2 s coalescing and O(depth) ancestor delta propagation pushed to connected browsers over SSE.
  • Eight Interactive Visualization Lenses:
    1. Cell Map — Weighted Voronoi Treemap
    2. Topography — Van Wijk 3D-Cushioned Treemap
    3. Astrolabe — Zoomable Radial Sunburst
    4. Strata — Icicle / Flame Cross-Section
    5. Fossils & Dust — Age × Size Log-Scatter Plot
    6. Block Tapestry — Hilbert Space-Filling Curve
    7. Storage River — Alluvial / Sankey Flow Diagram
    8. Constellations — Zoomable Circle Packing
  • Single Local Binary & macOS Service: Embeds the offline web UI via rust-embed, listens on plain HTTP http://127.0.0.1:6174 (Kaprekar's Constant), and ships a launchd LaunchAgent installer.

Storage Display Methods (8 Lenses) #

1. Cell Map — Weighted Voronoi Treemap #

Cell Map — Weighted Voronoi Treemap

2. Topography — Van Wijk 3D-Cushioned Treemap #

Topography — Van Wijk 3D-Cushioned Treemap

3. Astrolabe — Zoomable Radial Sunburst #

Astrolabe — Zoomable Radial Sunburst

4. Strata — Icicle / Flame Cross-Section #

Strata — Icicle / Flame Cross-Section

5. Fossils & Dust — Age × Size Log-Scatter Plot #

Fossils & Dust — Age × Size Log-Scatter Plot

6. Block Tapestry — Hilbert Space-Filling Curve #

Block Tapestry — Hilbert Space-Filling Curve

7. Storage River — Alluvial / Sankey Flow Diagram #

Storage River — Sankey Flow Diagram

8. Constellations — Zoomable Circle Packing #

Constellations — Zoomable Circle Packing

Project Documentation #

  • CONTEXT.md — Architecture, macOS APFS realities, module seams, caching engine, and read-only API contract
  • DESIGN.md — Precision Cartographic Instrument design system, color tokens, typography, and all eight Lenses
  • GLOSSARY.md — Canonical domain vocabulary
  • AGENTS.md — Agent rules, skills, quality bar, and Git worktree workflow
  • plans/ROADMAP.md — Ordered implementation roadmap for building Getǣl phase by phase

macOS Background Service (launchd) #

Install and load the user LaunchAgent (~/Library/LaunchAgents/local.getael.plist) with ProcessType = Background and LowPriorityBackgroundIO = true:

./target/release/getael service install --port 6174
./target/release/getael service status
./target/release/getael service uninstall

Logs are written to ~/Library/Logs/getael/ and the SQLite WAL cache is stored at ~/Library/Caches/getael/cache.sqlite3.

Full Disk Access (Optional) #

macOS TCC protects directories such as ~/Library/Mail, ~/Library/Messages, and ~/Library/Safari. Without Full Disk Access, Getǣl records these safely as PermissionDenied (NO ACCESS badge) without aborting the scan. To include them in your tally, grant Full Disk Access to your terminal or the getael binary in System Settings → Privacy & Security → Full Disk Access.

Troubleshooting #

  • Port 6174 already in use: Override with GETAEL_PORT=7174 getael serve or ~/.config/getael/config.toml (port = 7174).
  • Stale cache: Run getael scan to force a fresh full scan of ~ and reconcile SQLite.

  1. Old English for count, reckoning, tally ↩︎

  2. macOS, Linux, and Windows ↩︎

  3. ~, or %APPDATA% on Windows ↩︎