What does HackerNews think of up?

Ultimate Plumber is a tool for writing Linux pipes with instant live preview

Language: Go

#12 in Linux
This fx rewrite is very exciting. I'll have to try it. I thought of fx as a wrapper around jq, that allowed quick iteration over building jq scripts. Sort of an Ultimate Plumber [1] but only for jq. It looks like it is now more like a JavaScript processor plus an interactive viewer.

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

As an alternative allowing the use of any shell command/pipeline on the results interactively, see also: https://github.com/akavel/up
https://paweldu.dev/posts/fzf-live-repl/

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'

https://github.com/akavel/up is another tool that can be used to make most of commands interactive
Do you have some tricks for how you handle filtering through logs? Or some ideas if there could be a tool that could help you or mitigate your most critical issue[s]?

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.

Could someone let me know if https://github.com/akavel/up works ok with it? (on Linux or Mac or WSL) I'd be grateful for feedback!
You might like to also check out https://github.com/akavel/up when in need for some more complex filtering with live preview
> https://github.com/akavel/up

Holy shit, this is awesome. Thanks for sharing!

I like https://github.com/akavel/up as this works on the command line and helps building fast pipes not only with jq, but also with every other text wrangling tool. But I wish it would be a little bit more polished.
I think it will be on topic if I let myself take this occasion to once again plug in a short public service announcement of an open-source tool I built, that helps interactively build Unix/Linux pipelines, dubbed "The Ultimate Plumber":

https://github.com/akavel/up/

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!

This doesn't have the debugger but it allows for a repl interface for awk https://paweldu.dev/posts/fzf-live-repl/

edit: There's also https://github.com/akavel/up which could possibly be used in combination with fzf

I usually resort to making a bash script with a bunch of intermediate files at each step so I can see what’s happening.

Here’s a tool I’ve seen around but never had a big need for: https://github.com/akavel/up

You may also like to have a look at https://github.com/akavel/up as an alternative. It now executes the command only after Enter is pressed (though originally I also went with execution on every keypress). By default it runs shell commands/pipelines, but you can change the contents of SHELL env. variable to write raw ruby, awk, or else.
Location: EU (Kraków, Poland)

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.

Location: EU (Kraków, Poland)

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.

up - https://github.com/akavel/up

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.