ku1ik / rainbow

Ruby gem for colorizing printed text on ANSI terminals
MIT License
813 stars 68 forks source link

Image / Screenshot #71

Closed ghost closed 6 years ago

ghost commented 7 years ago

Hello Olle,

Do you think you could show an image how rainbow looks on some terminal, on the main page of rainbow? (Feel free to close this issue here at any moment in time.)

olleolleolle commented 7 years ago

Do you mean something like "here's what the Example looks like rendered":

screenshot 2017-09-26 06 57 25

olleolleolle commented 7 years ago

Steps to try this on your own machine:

olleolleolle commented 6 years ago

@sickill Do you think we should put content like this in the README?

"Try these steps to get started with bold type." kind of steps.

ku1ik commented 6 years ago

@olleolleolle sure, I like that. Would probably give better idea of what rainbow does than example output like this: https://github.com/sickill/rainbow#example

olleolleolle commented 6 years ago

@sickill https://asciinema.org/a/J928KpHoUQ0sl54ulOSOLE71E

ku1ik commented 6 years ago

@olleolleolle awesome! We could generate gif from this with asciicast2gif so it plays right in the README ;) Btw, we could update its height to 20 (by editing recording json file), so there's no extra empty lines at the bottom of terminal.

ku1ik commented 6 years ago

Here I set height dynamically via URL parameter: https://asciinema.org/a/J928KpHoUQ0sl54ulOSOLE71E?rows=20 but asciicast2gif also has -h switch for that.

olleolleolle commented 6 years ago

@sickill https://asciinema.org/a/J928KpHoUQ0sl54ulOSOLE71E?rows=20&speed=2.5 speed was great.

olleolleolle commented 6 years ago

@shevegen Thanks for pinging us with this idea, now I have merged a link change to the README on master.

Closing issue!