Twig

Explorer for JSON, YAML and HAR files in the terminal and the browser

Image 1 of 1: Browser explorer with columns for a JSON file, a breadcrumb path and an inspector for the selected value

One Rust engine behind a terminal UI and a browser app: columns that follow a branch, key and value search, jump to a path, and copying paths or whole values. The TUI streams JSON into an SQLite node table instead of building the tree in memory; the web app runs locally in the tab.

Trade-offs

  • The TUI streams parse events into SQLite in batches of 1,024 rows instead of building the whole tree, but search is an SQLite substring scan, so broad searches on huge files take time.
  • The browser version never uploads a file, at the cost of hard limits: 20 MiB input, 250,000 nodes and 128 MiB of retained data; larger files belong in the TUI.
  • Native loads are cached keyed by a hash of the source, pruned after seven days or past 512 MiB; cached data is not encrypted.

Q&A3

Every load hashes the source, and only a completed cache matching its contents and schema version is reused; a changed source gets a new immutable generation, and failed builds are never published.

Reviews

Loading reviews

    More in JSON

    See all 5 →
    • PandiaDesktop JSON editor for multi-gigabyte files, with the document held in Rust
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • JDFDocument format in plain JSON that renders like a PDF and diffs in git
    • celqCommand-line JSON processor that speaks Common Expression Language
    • headsonhead and tail for structured data, within a strict byte budget

    More in Terminal UI

    See all 39 →
    • notmuttAsync terminal mail client built on notmuch, with undoable tag operations
    • MastuiMulti-column Mastodon client for the terminal
    • NerdlogMulti-host TUI log viewer with a timeline histogram and no central server
    • Localization Resource ManagerLocalization files from one binary, as a CLI, terminal UI, web UI or in VS Code
    • kernwatchTerminal dashboard for Linux kernel observability
    • KatesPerformance, chaos and security testing for Kafka on Kubernetes

    More in CLI tools

    See all 74 →
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
    • quiverDump, load, copy and stream MySQL, MariaDB and TiDB from one consistent snapshot
    • haxMinimalist terminal coding agent written in C
    • roam-codeLocal code index and checks that coding agents can query