Twig - A terminal-first JSON & YAML explorer

Hi all,

Does anyone else spend way too much time staring at 1,000-line YAML or JSON files trying to figure out where exactly a specific key lives in the hierarchy?

I work with complex workload definitions where the nesting determines logic (like serial vs. parallel execution). Trying to visualize this in a standard editor was a headache, and I didn’t want to use online formatters because the data contains sensitive info. Existing CLI tools usually have a steep learning curve just to “look” at data.

I wanted an experience that felt like navigating a file system, so I built Twig.

It’s a TUI that creates a mental model of your data using Miller Columns (similar to the macOS file browser). You can quickly drill down into paths without getting lost in brackets and indentation.

Check it out here: https://twig.wtf/
Source Code: GitHub - workdone0/twig: Terminal-based JSON & YAML viewer (TUI) for exploring and searching large files — fast, interactive, and privacy-first.

It’s built with Python and Textual. I’d love for you to try it out and let me know what you think. Stars are always welcome if you like it!

5 Likes

Very cool! We’d love to feature twig on forklore.in :slight_smile: Please create an issue? - forklore/GET_FEATURED.md at develop · fossunited/forklore · GitHub

Thanks Ansh, I have created an issue: [MAINT] Shubham Kumar · Issue #200 · fossunited/forklore · GitHub

1 Like