Kitty is a cross-platform, fast, feature full, GPU based terminal emulator with over 8K stars and 370 forks. It supports font ligatures, specifying line height and width and many features found in different terminals and aims to replace tmux.
Please consider supporting kitty terminal's graphics protocol.
This would enable viewing images inside the terminal (kitty) that runs weechat and thus in weechat.
Reasons for supporting it over current (_image in terminal_) implementations like libsixel are discussed at https://github.com/kovidgoyal/kitty/issues/33
Protocol document (1 page long) - https://sw.kovidgoyal.net/kitty/graphics-protocol.html
Or support libsixel to make it usable on a range of terminals, not just kitty.
Or support
libsixelto make it usable on a range of terminals, not just kitty.
Arguments on sixel being an inferior solution - https://github.com/kovidgoyal/kitty/issues/33
Fyi, wezterm (a cross-platform terminal emulator) support iTerm2 inline images protocol.
The library they created called termwiz has a helper to detect terminal capabilities, including whatever the running terminal support image preview or not and which protocol it support.
Also, there is a Rust library for displaying image in terminal that aim to support all kind of protocol. Lastly, there is also a Rust library to help implementing "link preview".
I wonder if weechat has a plugin system similiar to obs-studio where it load the plugin from shared library/object 馃
(.so, .dll, .dylib)
The library they created called termwiz has a helper to detect terminal capabilities, including whatever the running terminal support image preview or not and which protocol it support.
There is no magic happening, it just checks whether the terminal is iTerm or WezTerm.
Most helpful comment
Or support
libsixelto make it usable on a range of terminals, not just kitty.