Remix.run Logo
Ratty – A terminal emulator with inline 3D graphics(ratty-term.org)
124 points by orhunp_ 2 hours ago | 31 comments
noelwelsh 17 minutes ago | parent | next [-]

I like this. No reason the terminal should only support text. Data science notebooks show one way the terminal can evolve. Lots of interesting stuff happening in this space, with Kitty probably being the most aggressive innovator here [1]. I'm not sure there is an overall vision, though.

[1]: https://sw.kovidgoyal.net/kitty/protocol-extensions/

alias_neo 9 minutes ago | parent | next [-]

I wonder if something like this could work for thumbnails in the terminal; I prefer to browse my filesystem from a terminal rather than the point and click file manager typically, and it would be really useful if I could have a grid-style `ls` with terminal based renders of the 3d models (thinking STL/STEP, 3D printing) in that directory. Bonus points if I could preview/rotate the model to inspect it.

bcjdjsndon 10 minutes ago | parent | prev [-]

Terry A Davis already did this. It was as crazy then as it is now

pjmlp 38 minutes ago | parent | prev | next [-]

UNIX still trying to catch up with Xerox workstations in the REPL experience, or general Lisp machines for that matter.

Inline graphics from 1981,

https://youtu.be/o4-YnLpLgtk?t=376

pocksuppet 37 minutes ago | parent [-]

Or TempleOS.

Onavo 33 minutes ago | parent [-]

That was a work of art. Also Oberon.

sigseg1v an hour ago | parent | prev | next [-]

Seems... really good?!

Questions:

- rendering capabilities of this seem like it should also be able to handle 2d well, or am I mistaken? every solution I see for getting high quality 2d images or rasterization in terminal is all pretty bad. Could this do better than other solutions or is there a fundamental limit being hit somewhere?

- What happens with ssh given that this is gpu accelerated?

berkes 29 minutes ago | parent [-]

There are quite a few GPU powered terminal emulators around already.

Is that what you're looking for?

amelius an hour ago | parent | prev | next [-]

Terminal is slowly becoming a full featured web browser.

iugtmkbdfil834 an hour ago | parent | next [-]

Always has been meme incoming. Also, more seriously, the purpose of a tool is to do a job. The question becomes whether this tool can be made useful. I.. honestly don't know, but I will be finding out soon:D

shevy-java 39 minutes ago | parent | prev [-]

And rightfully so! \o/

iugtmkbdfil834 an hour ago | parent | prev | next [-]

Rip Terry. May you never be forgotten.

edit: But your spirit lives on ( based on the project:D )

pelagicAustral 2 hours ago | parent | prev | next [-]

Can I really render a 3D rat on my terminal? If I can then I'm sold.

sevenzero an hour ago | parent [-]

This is exactly what I thought as well.

darkwater 15 minutes ago | parent | prev | next [-]

What would happen when you use `cat` in Ratty then?

silon42 an hour ago | parent | prev | next [-]

IMO, next crazy step is for terminal to just have wayland or X11 protocol ? (/s or not?)

mohamedkoubaa 28 minutes ago | parent | prev | next [-]

Emojis in a terminal are a step too far for me. This is just... Indulgent.

basilikum an hour ago | parent | prev | next [-]

This looks a lot like it'd qualify for a ShowHN. Add "ShowHN: " to the beginning of the title and it should show up in /show

voidUpdate an hour ago | parent | prev | next [-]

I was going to comment how it reminded me of TempleOS and the author should look into that, but the accompanying blog post explains how it was inspired by it https://blog.orhun.dev/introducing-ratty/

2ndorderthought an hour ago | parent | prev | next [-]

I actually see some use cases for this. It's one of those should be nonsense projects that somehow isn't.

panzi 37 minutes ago | parent [-]

What use cases do you see?

drob518 24 minutes ago | parent | next [-]

Yea, gotta be honest here; I’m struggling to see many use cases here other than 3d graphs. I really don’t need a spinning 3d rat cursor.

2ndorderthought 23 minutes ago | parent | prev | next [-]

Checking 3d models in a directory inside my terminal to see what's what without opening an application and clicking 100 times.

avaer 23 minutes ago | parent | prev [-]

Game development.

neomantra an hour ago | parent | prev | next [-]

Dude, I spent the last week implementing Kitty Graphics and Clipboard protocols in ghostty-web in the Canvas render.

Then I added WebGL and WebGPU renderers [1], including support for Kitty.

Then I see this this project on a Monday morning... so now I have to implement Ratty Graphics Protocol?!?! [2]. Really fun project!

[1] https://github.com/NimbleMarkets/ghostty-web/tree/nm-webgpu [2] https://github.com/orhun/ratty/blob/main/protocols/graphics....

nickcageinacage 28 minutes ago | parent | prev | next [-]

so cool. well done

shevy-java 40 minutes ago | parent | prev | next [-]

This is a great idea. I always wanted KDE konsole to e. g. show images inlined as is. This is possible via magick six:-, but I wanted this to be natively. I want the terminal to be able to work with any data and display it in any way. No need to simulate the 1980s era anymore (except for backwards/legacy support). So great idea here really.

berkes 27 minutes ago | parent | next [-]

Kitty and several other terminal emulators, have built in graphics display already. IIRC, this is called the kitty protocol, but I might be mistaken.

anthk 13 minutes ago | parent | prev [-]

I did that with Sixels, no Rust needed, no 3D crap, no ad-hoc addons, just old vt340 support in XTerm.

That's how I read images under a remote pubnix with tut using a Mastodon account over plain SSH.

Chafa and XTerm. It works.

iugtmkbdfil834 an hour ago | parent | prev | next [-]

Dude. Congrats. You actually made a compelling argument to put rust on my machine:P

Lucasoato an hour ago | parent | prev [-]

Imagine this with VR dev environments!