toot icon indicating copy to clipboard operation
toot copied to clipboard

Sixels or Unicode image previews

Open osresearch opened this issue 1 year ago • 4 comments

timg

For toots with media attachments, it might be interesting to use sixels or timg to render them in the reader pane with unicode blocks.

osresearch avatar Mar 02 '23 14:03 osresearch

image

urwid is eating the foreground/background attributes, but the timg based decoder is almost working

osresearch avatar Mar 02 '23 16:03 osresearch

image

Oops, it was a problem with the distro's ancient version of urwid. Installing via pip and now it "works".

osresearch avatar Mar 02 '23 16:03 osresearch

There is ongoing work to implement this, see: https://github.com/ihabunek/toot/issues/243 https://github.com/ihabunek/toot/pull/319 https://github.com/danschwarz/toot/discussions/2

ihabunek avatar Mar 02 '23 16:03 ihabunek

The images branch is now working quite well IMHO and cleanly separates the image related code into a single file; you can choose to install toot with or without image support (image support requires the term-image and pillow libraries),

danschwarz avatar Jan 19 '24 23:01 danschwarz