Fx v36 - JSON terminal viewer

25 points by antonmedv


Hello Lobsters, I’m the author of a fx tool. I’ve been working hard past month to develop a new version of a fx with a lot of improvements and fixes. Please check them out.

alerque

I package fx for Arch Linux and it is a useful tool.

The gratuitous choice to use NSFW material in the v36 release notes was not appreciated. Thanks for cleaning it up; stay classy folks.

minus

jless is a good alternative to fx. I prefer its UX but I forgot exactly what’s different.

nathell

I love fx. It provides a significant boost to my quality of life when querying JSON-returning APIs from the command line (Vespa comes to mind). And because there are command-line tools for converting pretty much everything tree-shaped to JSON, you can interactively search it all in the terminal with fx.

Thanks a lot, Anton!

zmitchell

I use fx all the time for exploring information returned by Nix eg from “nix path-info”, “nix derivation show”, etc

antonmedv

As with all new releases, bugs maybe present. I did quite a bit of refactoring. So I will find all findings in next releases.

BTW, I learned what in Go string takes more memory than []byte. And those adds up quickly. Espessially on opening ~4GB JSON files.

ema-pe

Interesting! I currently use jless to view and explore JSON (actually JSONL) files ranging in size from 1MB to 1GB. Do you know of this other program and how your tool compares to it (aside from the Rust vs. Go languages)?