4 ms·
Jless – a command-line JSON viewer
- 1vuio0pswjnm7 3y agoNeat idea, but it's a huge binary for what it does. Maybe it's written in Go or Rust. No way to disable color. NO_COLOR variable has no effect. I cobbled together a primitive JSON print utility for use in pipelines and as a static binary it's still only 90K. Even Nudelman's less(1) is only 199K.
- mihaitodor 3y agoSounds like a good opportunity to raise a bunch of issues about this. It's written in Rust and I see it takes 3MB on my Macbook, which I don't think is all that much to be honest, but I'm sure there is room for improvement.
- 1vuio0pswjnm7 3y agoWhat about computers with far less resouces than a Macbook, e.g., SBC.
- mihaitodor 3y agoI'm sure the maintainer would be more than happy to have the binary optimised. It looks like a passion project after all. Feel free to raise an issue.
- Shawnj2 3y agoWhat’s the benefit of this over a CLI text editor with json support?