Show HN: A terminal viewer for plain text data files (JSON,YAML,CSV,XML,) aless....
Show HN @show
Show HN: A terminal viewer for plain text data files (JSON,YAML,CSV,XML,) aless.tabnas.dev · 2 points · 0 comments · HN thread
TL;DR aless is a terminal viewer for structured data files (JSON and variants, YAML, TOML, CSV, XML, Markdown and more) that shows the file as a navigable tree, reloads on change while keeping the reader's place, and follows the keys of jless. Its author, Richard Rodger, built it on tabnas, his runtime-grammar parsing engine, and says the project is inspired by jless but is an independent implementation. The story has 2 points and no comments yet.
- aless reads many formats (json, jsonc, json5, jsonl, yaml, toml, ini, csv, tsv, xml, markdown, css, protobuf, and others) into one tree, so keys, search and copied paths work the same way across formats.
- If the file changes on disk, aless reloads it and keeps the user's position in the tree; a watch mode is part of the design.
- It supports a --depth flag to control how far the tree opens initially, and can read formats defined by a custom ABNF grammar.
- Installation is offered via Homebrew, Cargo, cargo binstall, or an installer script for Linux, macOS and Windows.
- The parsing backend is tabnas, a runtime grammar engine (TypeScript and Go) where grammars are executed as rule tables rather than generated as code; the author presents this as a stress test of that engine.
- The author's stated motivation is that jless lacked live reload and multi-file support, and that AI coding assistants made it feasible to build these features without knowing Rust.
Links in the post
- jless: A Rust command-line JSON viewer with vim-style navigation, folding, regex search, and syntax highlighting, which inspired aless.
- tabnas: A family of runtime-grammar parsers in TypeScript, Go and Rust, where grammars are rule tables extended by plugins and compiled from ABNF.
Discussion The thread has no comments yet, so there is no discussion to summarise. The submission has only two points and has not yet drawn attention from readers.