kantord/headson
head/tail for structured data - summarize/preview JSON/YAML and source code
Structure-aware parsing preserves the JSON/YAML tree shape even under truncation, while source code mode uses indentation heuristics to extract representative lines while keeping them atomic. Available as both a Rust CLI and Python library, it supports multi-file workflows with git-aware ordering, grep-style filtering to guarantee match visibility, and strict byte/character budgets that can be applied per-file or globally across directories.
244 stars and 195 monthly downloads.
Stars
244
Forks
5
Language
Rust
License
MIT
Category
Last pushed
Feb 08, 2026
Monthly downloads
195
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/kantord/headson"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.