6 ms·
I use chafa extensively, and it really is the best tool for terminal graphics in my opinion. I use it as a fallback option for terminals without proper termina
by joouha 9mo ago
I use chafa extensively, and it really is the best tool for terminal graphics in my opinion.
I use it as a fallback option for terminals without proper terminal graphics support in my TUI Jupyter client, euporie.
There are Python bindings available: https://github.com/GuardKenzie/chafa.py https://github.com/GuardKenzie/chafa.py
- wonger_ 9mo agoAnd JS bindings: https://github.com/hectorm/chafa-wasm https://github.com/hectorm/chafa-wasm And I'm half-working on Rust bindings...
- hectorm 9mo agoAuthor of the JS bindings here. I also have a browser demo: https://ansi-o-matic.molinero.dev https://ansi-o-matic.molinero.dev
- tasuki 9mo ago> and it really is the best tool for terminal graphics in my opinion Not sixel or kitty graphics?
- hecanjog 9mo agoWhat interests me about it is the unicode mosaic output format that looks higher quality than the usual upper half block or braille character approaches without needing to support a special protocol.
- robot-wrangler 9mo agoSetting aside the usual compatibility issues with those things.. neither are available from your buildbot. Also while Jupyter does supports images other notebooking ecosystems may not, and anyway you need a file whereas chafa can work with streams.
- mmulet 9mo agoOne of the really cool things about chafa is that it has both sixel and kitty graphic renderers! (and iterm2 images as well) So you can output kitty if the terminal supports it, but fall back to ascii if it doesn’t.
- tasuki 9mo agoAh, very cool!
- lawlessone 9mo agoi'm curious do you work entirely with a terminal and no desktop? Chafa looks cool, i'd feel cool using it when i use a terminal but if really wanted to see an image id just open it in a image viewer.
- Abishek_Muthian 9mo agoHave you tried Charmbracelet's bubble tea - https://github.com/charmbracelet/bubbletea https://github.com/charmbracelet/bubbletea
- nairadithya 9mo agoBubbleTea is great, but it doesn't have support for Kitty Graphics. https://github.com/charmbracelet/bubbletea/issues/163 https://github.com/charmbracelet/bubbletea/issues/163