What does HackerNews think of up?
Ultimate Plumber is a tool for writing Linux pipes with instant live preview
Someone mention Visidata[2]? VisiData is also a TUI that is great on tabular data, and it can work with json. If your JSON is mostly tabular in nature, Visidata does a great job at showing that data and allowing you to explore it. A lot of json I deal with is tabular-like data. There is a great tutorial [3], that can help you get your bearings with Visidata. Once you understand those basics you might want to look at this thread [4] for what commands you can use with json.
[1] Ultimate Plumber: https://github.com/akavel/up
[2] Visidata: https://github.com/saulpw/visidata
[3] "Intro to VisiData Tutorial": https://jsvine.github.io/intro-to-visidata/ by Jeremy Singer-Vine
[4] "Is it possible to "flatten" structured data (like JSON?)": https://github.com/saulpw/visidata/discussions/1605
Previous discussion here: https://news.ycombinator.com/item?id=20455857
Also featured in that thread: https://github.com/akavel/up
For example: echo '' | fzf --print-query --preview 'grep -R {q} . 2> /dev/null'
HN discussion: https://news.ycombinator.com/item?id=26644110
I found filtering through longs a major pain even for a fully sighted person like me, so I wrote a tool to help me with that, but it's fully in a "TUI" paradigm (i.e. curses-like), so I presume it wouldn't help you much (https://github.com/akavel/up). No promises, given that the tool as is scratched my itch, but I am honestly curious if something similar could reduce your PITA, including whether this specific tool could be made useful for you through some minimal effort on my side.
Holy shit, this is awesome. Thanks for sharing!
I've also recently seen it being described in shorter words as a "sticky REPL for shell". Hope you like it, and it makes your life easier!
edit: There's also https://github.com/akavel/up which could possibly be used in combination with fzf
Here’s a tool I’ve seen around but never had a big need for: https://github.com/akavel/up
Remote: OK
Willing to relocate: No
Technologies — languages: Go / Golang (expert), C & C++ (strong experience, but currently preferring read-only use), Lua, Nim, Elm, SQL (PostgreSQL, MSSQL, SQLite), Nix, some x86 Assembly, some C#, basic JS/HTML/CSS, basic Rust, basic Python, basic OCaml, & more (polyglot programmer)
Technologies — other: Docker, Linux & bash, Windows & WinAPI & (D)COM, Git, Ansible & SaltStack, distributed systems (incl. networking, concurrency/parallelism), binary protocols / formats, & more
Résumé/CV: on demand; basic overview: https://www.linkedin.com/in/mateuszczaplinski/
GitHub FOSS projects: https://github.com/akavel (HN Top 1 achievement: https://github.com/akavel/up)
Email: [email protected] (other contact: https://keybase.io/akavel)
Please don't contact me with offers related to: Ads, FinTech, Gambling, User tracking, Bitcoin.
--
Go language expert (contributor), polyglot, backend/full-stack. Longtime experience with C & C++ (first languages) — I understand them well, however prefer not to write in them unless absolutely necessary (because UB etc.) Career-long experience with distributed systems, concurrency/parallelism. The domain I'm working in is important to me, I especially like / am motivated doing stuff that helps people / improves their lives / advances the wellbeing of humanity (can be indirectly).
Possibility of part-time (4/5) employment is a plus.
Remote: OK
Willing to relocate: No
Technologies — languages: Go / Golang (expert), C & C++ (strong experience, but currently preferring read-only use), Lua, Nim, Elm, SQL (PostgreSQL, MSSQL, SQLite), Nix, some x86 Assembly, some C#, basic JS/HTML/CSS, basic Rust, basic Python, basic OCaml, & more (polyglot programmer)
Technologies — other: Docker, Linux & bash, Windows & WinAPI & (D)COM, Git, Ansible & SaltStack, distributed systems (incl. networking, concurrency/parallelism), binary protocols / formats, & more
Résumé/CV: on demand; basic overview: https://www.linkedin.com/in/mateuszczaplinski/
GitHub FOSS projects: https://github.com/akavel (HN Top 1 achievement: https://github.com/akavel/up)
Email: [email protected] (other contact: https://keybase.io/akavel)
Please don't contact me with offers related to: Ads, FinTech, Gambling, User tracking, Bitcoin.
--
Go language expert (contributor). Longtime experience with C & C++ (first languages) — I understand them well, however prefer not to write in them unless absolutely necessary (because UB etc.) Experience with distributed systems, concurrency/parallelism. The domain I'm working in is important to me, I especially like / am motivated doing stuff that helps people / improves their lives / advances the wellbeing of humanity (can be indirectly).
Possibility of part-time (4/5) employment is a plus.
Ultimate Plumber is a tool for writing Linux pipes with instant live preview
It's a new CLI tool I've recently written, and it reached a Top 1 position on HN just after the public release. It works with other classic CLI tools by boosting the speed with which they can be composed together. It's especially useful for quick exploration of logs, CSV files, and other text files or pipelines.