benjajaja / ratatui-image

Ratatui widget for rendering image graphics in terminals that support it
https://crates.io/crates/ratatui-image
MIT License
96 stars 14 forks source link

Ratatui.rs Widget Showcase #11

Closed joshka closed 8 months ago

joshka commented 9 months ago

Hey there, I'm putting together a widget showcase page at https://ratatui.rs/showcase/third-party-widgets/ and would like to add this widget. The demo right now seems a bit complex to use as it shows all the possible features. Would you be interested in creating a simpler demo that just shows the main aspect in a small area like the examples we have on the site already?

If you have a good simple demo, I'm happy to create the actual GIF. The process is fairly simple though, so if you want to help, see https://github.com/ratatui-org/website/tree/main/code/widget-showcase-third-party for more info.

benjajaja commented 8 months ago

@joshka sadly, sixel support is not working with VHS https://github.com/charmbracelet/vhs/issues/43 I also tested locally and the image is not included in the resulting .gif.

There is in fact a simple screenshot demo, which I was trying to use for some automated testing (that never was quite fruitful): image-link

Is that good enough? If not, I can make a different .gif, just manually instead of VHS.

joshka commented 8 months ago

Bummer on VHS not supporting it :/

Yeah, the screenshot demo is good enough for the showcase. I'll use that.

joshka commented 8 months ago

https://github.com/ratatui-org/website/pull/341