News for hackers. Stuff that matters.
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by dale_glass on Tuesday April 16, 2024 @07:01AM (#40050547)
And kitty has icat, which just has image support: https://sw.kovidgoyal.net/kitty/kittens/icat/

I'm really confused about how is it that we're in 2024, Linux is open source from top to bottom, and we're still messing around with rendering images in ASCII.

I really wish there was some interest in doing a modern, graphical console. UTF8, antialiasing, graphics, the works.

Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by exitb on Tuesday April 16, 2024 @08:04AM (#40050936)
I have a feeling that we'd end up regretting it. It would get abused in all the unnecessary ways. Kind of like the magic Docker outputs, with output previews and multiple progress bars that break into a horrible mess the moment they hit a log file, instead of a terminal.
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by hnlmorg on Tuesday April 16, 2024 @07:59AM (#40050903)
I’m working on exactly that :)
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by lambdaba on Tuesday April 16, 2024 @08:43AM (#40051230)
On behalf of the entire console user community, thank you!
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by eptcyka on Tuesday April 16, 2024 @07:02AM (#40050553)
X is literally that.
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by mxuribe on Tuesday April 16, 2024 @07:06AM (#40050579)
Would you kindly clarify? Did you mean Xterm?
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by Tmpod on Tuesday April 16, 2024 @03:35PM (#40056228)
I believe they meant X.org, the graphical stack used by most graphical Linux systems.
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by baq on Tuesday April 16, 2024 @07:07AM (#40050585)
> modern

um.

I guess the rest applies, but...

Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by IshKebab on Tuesday April 16, 2024 @10:19AM (#40052262)
It's not though. You have to fiddle around with ports and servers and environment variables.

But a drawing API is clearly not the way modern graphics works best. What would be really cool is a terminal that supported low latency streaming video. Then you can do proper GUI apps using any rendering system they want and it will properly integrate with ssh.

Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by ranger_danger on Tuesday April 16, 2024 @12:41PM (#40054180)
Xsixel
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by IshKebab on Wednesday April 17, 2024 @11:20AM (#40065953)
> You have to fiddle around with ports and servers and environment variables.
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by ranger_danger on Tuesday April 16, 2024 @12:43PM (#40054216)
Most new-age terminal emulators do have image support and more are getting support every day, even Windows Terminal is working on it.

However this brings up the philosophical debate of just how close you're becoming to a real window manager or display server in the first place.

Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by pwdisswordfishc on Tuesday April 16, 2024 @01:22PM (#40054700)
TermKit?
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by godelski on Tuesday April 16, 2024 @04:35PM (#40056846)
Kitty is fine, but there is a big issue with tmux and the dev seems to think it is about tiling and not about using remote machines.[0] Sure, I tile because it is there and I don't have control of the terminal I'll use on the other end, but the main draw is I gotta work on machines I'm connecting to with ssh. I think there's a lot of us still needing tools like this (and mosh) but little support. Looks like people were trying to help the dev but there was communication breakdown. I'm all for making sure things are done right and not just accepting hacky solutions, but there has to end up being a solution.

I'd honestly just love to have a minimal terminal like foot[1], but that's wayland only and wayland support is still very mixed. And who knows when ghostty will come out[2]. But I also need linux + mac support and I think a lot of people do (and no wayland to mac port?). Too many terminals are far too bloated. And boy... do I not need this bullshit[3]

[0] https://github.com/kovidgoyal/kitty/issues/391

[1] https://codeberg.org/dnkl/foot

[2] https://mitchellh.com/ghostty

[3] https://github.com/warpdotdev/Warp/issues/900

Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by 20after4 on Wednesday April 17, 2024 @08:20PM (#40071617)
Re:Show HN: a Rust based CLI tool 'imgcatr' for displaying i... by godelski on Thursday April 18, 2024 @12:01AM (#40072829)
Thanks. I had actually recently stumbled upon wez and missed this part. I see that I can also build it from source (and from git) which meets a lot of my goals. I'll have to play around with this.