mrusme / reader

reader is for your command line what the “readability” view is for modern browsers: A lightweight tool offering better readability of web pages on the CLI.
https://xn--gckvb8fzb.com/reader-web-page-readability-on-the-cli/
GNU General Public License v3.0
258 stars 9 forks source link

Add sixel encoder option #14

Closed AbeEstrada closed 1 year ago

AbeEstrada commented 1 year ago

This implements the sixel encoder option (#12), only supported on iTerm2 and WezTerm (I also tested Kitty and Alacritty) at the moment and it is not compatible with any pager like less, more, most.

I really wanted better images, but it is very limited. I added the option as an exercise, feel free to close this PR if it doesn't get enough attention.

AbeEstrada commented 1 year ago

Alacritty: Add support for libsixel #910

mrusme commented 1 year ago

Thank you @AbeEstrada! Would you mind adding a usage info plus maybe a small screenshot of how the -s option's output looks like to the README.md? You can add the file to the root dir as sixel.png or something.

AbeEstrada commented 1 year ago

@mrusme updated the README and added the screenshot.

I'm going to leave this https://www.arewesixelyet.com here for reference.

mrusme commented 1 year ago

Thank you very much @AbeEstrada!

FYI: New release (v0.4.3) that contains your PR is currently building (https://github.com/mrusme/reader/actions/runs/5764298168) and should be out in a few minutes.