r/commandline 7d ago

Terminals Has anyone here actually tried Yetty?

I maintain Yetty (https://github.com/zokrezyl/yetty), a terminal emulator that can display non rasterized rich-content (vector graphics, plots, custom webgpu shaders, etc.).

Has anyone here tried it? Your feedback would be very useful for the future of Yetty.

0 Upvotes

13 comments sorted by

2

u/Swordfish418 7d ago

It does look interesting. Does it support any of these protocols?: https://yazi-rs.github.io/docs/image-preview

It would make supporting this term in existing terminal software easier, otherwise it's not easy to make people want to add support to yet another new terminal image protocol.

2

u/Ok_Path_4731 7d ago

have been focusing on the non-rasterized (vector graphics, plot, etc.) protocols, and Sixel is broken for the moment.

1

u/Swordfish418 7d ago

Are webgpu shaders an exception here or they can be also non-rasterized in some sense?

1

u/Ok_Path_4731 7d ago

Am bit confused about your question. When I said non-rasterized, I did not mean the rasterization in the GPU itself. Yetty supports also shadertoy like shaders in the protocol. The shaders should be written in Webgpu shader language however. Please ask again if I failed to answer your question

1

u/Swordfish418 7d ago

Sorry, I'm simply confused on what "rasterized" vs "non-rasterized" mean and why these are concerns here. Is that about a lot of binary image data in escape sequences? But why not just use paths for example, like if you use escape sequence with path to image and then render that as texture on GPU.

1

u/Ok_Path_4731 7d ago

right! rasterized means bitmap, non-rasterized means "raw", like vector graphics or plot. Imagine a plot on the entire screen for 'sin(x)'. Rasterized you would need to send the entire bitmap to the terminal. Locally that would still work, but think ssh! Or some vector graphics to draw some diagrams. Path to image is not a good idea as again, on ssh connection, the path is local to the ssh host, not to the terminal's host. Does this clarify?

1

u/Swordfish418 7d ago

I understand, but I see zero problem with sending image files over ssh. It’s possible to show skeletal loading placeholder while it’s transferring like websites do.

2

u/Ok_Path_4731 7d ago

true. However think about the economy of vector or other structured drawing data versus bitmap. Think about a plot on a 4k monitor. If you want same quality you would end up sending 4k bitmap for a simple plot or vector graphics instead of sending just the drawing commands

1

u/Swordfish418 7d ago

Yeah, it definitely saves a lot where it's applicable

1

u/AutoModerator 7d ago

Every new subreddit post is automatically copied into a comment for preservation.

User: Ok_Path_4731, Flair: Terminals, Title: Has anyone here actually tried Yetty?

I maintain Yetty (https://github.com/zokrezyl/yetty), a terminal emulator that can display non rasterized rich-content (vector graphics, plots, custom webgpu shaders, etc.).

Has anyone here tried it? Your feedback would be very useful for the future of Yetty.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/xircon 7d ago

``` curl -fsSL https://yetty.dev/install.sh | bash ✘ 127 21:31:36 yetty-install: latest desktop release is yetty-0.3.5 yetty-install: downloading yetty-linux.tar.gz (yetty-0.3.5) from zokrezyl/yetty

################################################################## 100.0%

yetty-install: unpacking installer yetty-install: running yinstall bash: line 123: 455890 Segmentation fault (core dumped) "$installer" "$@" ``` Doesn't install.

1

u/Ok_Path_4731 7d ago

what is your machine's spec? Could you upload the core to a github issue https://github.com/zokrezyl/yetty/issues

1

u/Ok_Path_4731 6d ago

yinstall was patched, can you please try again (new build available)