Skip to content

Instantly share code, notes, and snippets.

@dosentmatter
Last active September 21, 2024 19:30
Show Gist options
  • Save dosentmatter/255b7e6fdec95e949a844b95303f9cbd to your computer and use it in GitHub Desktop.
Save dosentmatter/255b7e6fdec95e949a844b95303f9cbd to your computer and use it in GitHub Desktop.
Parrot Say Cow Say

parrotsaycowsay.html

You can use this method to convert highlighted text in your terminal (such as git diffs, vim, or pygmentize) into formats that are easier to share.

+----------------------------+
|______________              |
|< Hello World! >            |
| --------------             |
|        \   ^__^            |
|         \  (OO)\_______    |
|            (__)\       )\/\|
|                ||----w |   |
|                ||     ||   |
+----------------------------+
       \
        \     ▄▄▄▄▄▄▄▄
         \  ▄ ▄      ▄▄ ▄
          ▄ ▄            ▄
          ▄      ▄▄▄▄▄    
         ▄               ▄ ▄
        ▄                   
                 ▄          
                  ▄ ▄       
         ▄        ▄ ▄      ▄▄ ▄
          ▄                   ▄▄ ▄
          ▄ ▄▄▄▄                 ▄▄ ▄
              ▄▄▄▄                  ▄▄ 
        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
        

<pre><span style="color:rgb(255,95,95)">+</span><span style="color:rgb(255,95,135)">-</span><span style="color:rgb(255,0,135)">-</span><span style="color:rgb(255,0,175)">-</span><span style="color:rgb(215,0,175)">-</span><span style="color:rgb(215,0,215)">-</span><span style="color:rgb(175,0,215)">-</span><span style="color:rgb(175,0,255)">-</span><span style="color:rgb(135,0,255)">-</span><span style="color:rgb(135,95,255)">-</span><span style="color:rgb(95,95,255)">-</span><span style="color:rgb(95,135,255)">-</span><span style="color:rgb(0,135,255)">-</span><span style="color:rgb(0,175,255)">-</span><span style="color:rgb(0,175,215)">-</span><span style="color:rgb(0,215,215)">-</span><span style="color:rgb(0,215,175)">-</span><span style="color:rgb(0,255,175)">-</span><span style="color:rgb(0,255,135)">-</span><span style="color:rgb(95,255,135)">-</span><span style="color:rgb(95,255,95)">-</span><span style="color:rgb(135,255,95)">-</span><span style="color:rgb(135,255,0)">-</span><span style="color:rgb(175,255,0)">-</span><span style="color:rgb(175,215,0)">-</span><span style="color:rgb(215,215,0)">-</span><span style="color:rgb(215,175,0)">-</span><span style="color:rgb(255,175,0)">-</span><span style="color:rgb(255,135,0)">-</span><span style="color:rgb(255,135,95)">+
</span><span style="color:rgb(255,95,95)">|</span><span style="color:rgb(255,95,135)">_</span><span style="color:rgb(255,0,135)">_</span><span style="color:rgb(255,0,175)">_</span><span style="color:rgb(215,0,175)">_</span><span style="color:rgb(215,0,215)">_</span><span style="color:rgb(175,0,215)">_</span><span style="color:rgb(175,0,255)">_</span><span style="color:rgb(135,0,255)">_</span><span style="color:rgb(135,95,255)">_</span><span style="color:rgb(95,95,255)">_</span><span style="color:rgb(95,135,255)">_</span><span style="color:rgb(0,135,255)">_</span><span style="color:rgb(0,175,255)">_</span><span style="color:rgb(0,175,215)">_</span><span style="color:rgb(0,215,215)"> </span><span style="color:rgb(0,215,175)"> </span><span style="color:rgb(0,255,175)"> </span><span style="color:rgb(0,255,135)"> </span><span style="color:rgb(95,255,135)"> </span><span style="color:rgb(95,255,95)"> </span><span style="color:rgb(135,255,95)"> </span><span style="color:rgb(135,255,0)"> </span><span style="color:rgb(175,255,0)"> </span><span style="color:rgb(175,215,0)"> </span><span style="color:rgb(215,215,0)"> </span><span style="color:rgb(215,175,0)"> </span><span style="color:rgb(255,175,0)"> </span><span style="color:rgb(255,135,0)"> </span><span style="color:rgb(255,135,95)">|
</span><span style="color:rgb(255,95,95)">|</span><span style="color:rgb(255,95,135)">&lt;</span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)">H</span><span style="color:rgb(215,0,175)">e</span><span style="color:rgb(215,0,215)">l</span><span style="color:rgb(175,0,215)">l</span><span style="color:rgb(175,0,255)">o</span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)">W</span><span style="color:rgb(95,95,255)">o</span><span style="color:rgb(95,135,255)">r</span><span style="color:rgb(0,135,255)">l</span><span style="color:rgb(0,175,255)">d</span><span style="color:rgb(0,175,215)">!</span><span style="color:rgb(0,215,215)"> </span><span style="color:rgb(0,215,175)">&gt;</span><span style="color:rgb(0,255,175)"> </span><span style="color:rgb(0,255,135)"> </span><span style="color:rgb(95,255,135)"> </span><span style="color:rgb(95,255,95)"> </span><span style="color:rgb(135,255,95)"> </span><span style="color:rgb(135,255,0)"> </span><span style="color:rgb(175,255,0)"> </span><span style="color:rgb(175,215,0)"> </span><span style="color:rgb(215,215,0)"> </span><span style="color:rgb(215,175,0)"> </span><span style="color:rgb(255,175,0)"> </span><span style="color:rgb(255,135,0)"> </span><span style="color:rgb(255,135,95)">|
</span><span style="color:rgb(255,95,95)">|</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)">-</span><span style="color:rgb(255,0,175)">-</span><span style="color:rgb(215,0,175)">-</span><span style="color:rgb(215,0,215)">-</span><span style="color:rgb(175,0,215)">-</span><span style="color:rgb(175,0,255)">-</span><span style="color:rgb(135,0,255)">-</span><span style="color:rgb(135,95,255)">-</span><span style="color:rgb(95,95,255)">-</span><span style="color:rgb(95,135,255)">-</span><span style="color:rgb(0,135,255)">-</span><span style="color:rgb(0,175,255)">-</span><span style="color:rgb(0,175,215)">-</span><span style="color:rgb(0,215,215)">-</span><span style="color:rgb(0,215,175)"> </span><span style="color:rgb(0,255,175)"> </span><span style="color:rgb(0,255,135)"> </span><span style="color:rgb(95,255,135)"> </span><span style="color:rgb(95,255,95)"> </span><span style="color:rgb(135,255,95)"> </span><span style="color:rgb(135,255,0)"> </span><span style="color:rgb(175,255,0)"> </span><span style="color:rgb(175,215,0)"> </span><span style="color:rgb(215,215,0)"> </span><span style="color:rgb(215,175,0)"> </span><span style="color:rgb(255,175,0)"> </span><span style="color:rgb(255,135,0)"> </span><span style="color:rgb(255,135,95)">|
</span><span style="color:rgb(255,95,95)">|</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)">\</span><span style="color:rgb(95,95,255)"> </span><span style="color:rgb(95,135,255)"> </span><span style="color:rgb(0,135,255)"> </span><span style="color:rgb(0,175,255)">^</span><span style="color:rgb(0,175,215)">_</span><span style="color:rgb(0,215,215)">_</span><span style="color:rgb(0,215,175)">^</span><span style="color:rgb(0,255,175)"> </span><span style="color:rgb(0,255,135)"> </span><span style="color:rgb(95,255,135)"> </span><span style="color:rgb(95,255,95)"> </span><span style="color:rgb(135,255,95)"> </span><span style="color:rgb(135,255,0)"> </span><span style="color:rgb(175,255,0)"> </span><span style="color:rgb(175,215,0)"> </span><span style="color:rgb(215,215,0)"> </span><span style="color:rgb(215,175,0)"> </span><span style="color:rgb(255,175,0)"> </span><span style="color:rgb(255,135,0)"> </span><span style="color:rgb(255,135,95)">|
</span><span style="color:rgb(255,95,95)">|</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255)">\</span><span style="color:rgb(95,135,255)"> </span><span style="color:rgb(0,135,255)"> </span><span style="color:rgb(0,175,255)">(</span><span style="color:rgb(0,175,215)">O</span><span style="color:rgb(0,215,215)">O</span><span style="color:rgb(0,215,175)">)</span><span style="color:rgb(0,255,175)">\</span><span style="color:rgb(0,255,135)">_</span><span style="color:rgb(95,255,135)">_</span><span style="color:rgb(95,255,95)">_</span><span style="color:rgb(135,255,95)">_</span><span style="color:rgb(135,255,0)">_</span><span style="color:rgb(175,255,0)">_</span><span style="color:rgb(175,215,0)">_</span><span style="color:rgb(215,215,0)"> </span><span style="color:rgb(215,175,0)"> </span><span style="color:rgb(255,175,0)"> </span><span style="color:rgb(255,135,0)"> </span><span style="color:rgb(255,135,95)">|
</span><span style="color:rgb(255,95,95)">|</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255)"> </span><span style="color:rgb(95,135,255)"> </span><span style="color:rgb(0,135,255)"> </span><span style="color:rgb(0,175,255)">(</span><span style="color:rgb(0,175,215)">_</span><span style="color:rgb(0,215,215)">_</span><span style="color:rgb(0,215,175)">)</span><span style="color:rgb(0,255,175)">\</span><span style="color:rgb(0,255,135)"> </span><span style="color:rgb(95,255,135)"> </span><span style="color:rgb(95,255,95)"> </span><span style="color:rgb(135,255,95)"> </span><span style="color:rgb(135,255,0)"> </span><span style="color:rgb(175,255,0)"> </span><span style="color:rgb(175,215,0)"> </span><span style="color:rgb(215,215,0)">)</span><span style="color:rgb(215,175,0)">\</span><span style="color:rgb(255,175,0)">/</span><span style="color:rgb(255,135,0)">\</span><span style="color:rgb(255,135,95)">|
</span><span style="color:rgb(255,95,95)">|</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255)"> </span><span style="color:rgb(95,135,255)"> </span><span style="color:rgb(0,135,255)"> </span><span style="color:rgb(0,175,255)"> </span><span style="color:rgb(0,175,215)"> </span><span style="color:rgb(0,215,215)"> </span><span style="color:rgb(0,215,175)"> </span><span style="color:rgb(0,255,175)">|</span><span style="color:rgb(0,255,135)">|</span><span style="color:rgb(95,255,135)">-</span><span style="color:rgb(95,255,95)">-</span><span style="color:rgb(135,255,95)">-</span><span style="color:rgb(135,255,0)">-</span><span style="color:rgb(175,255,0)">w</span><span style="color:rgb(175,215,0)"> </span><span style="color:rgb(215,215,0)">|</span><span style="color:rgb(215,175,0)"> </span><span style="color:rgb(255,175,0)"> </span><span style="color:rgb(255,135,0)"> </span><span style="color:rgb(255,135,95)">|
</span><span style="color:rgb(255,95,95)">|</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255)"> </span><span style="color:rgb(95,135,255)"> </span><span style="color:rgb(0,135,255)"> </span><span style="color:rgb(0,175,255)"> </span><span style="color:rgb(0,175,215)"> </span><span style="color:rgb(0,215,215)"> </span><span style="color:rgb(0,215,175)"> </span><span style="color:rgb(0,255,175)">|</span><span style="color:rgb(0,255,135)">|</span><span style="color:rgb(95,255,135)"> </span><span style="color:rgb(95,255,95)"> </span><span style="color:rgb(135,255,95)"> </span><span style="color:rgb(135,255,0)"> </span><span style="color:rgb(175,255,0)"> </span><span style="color:rgb(175,215,0)">|</span><span style="color:rgb(215,215,0)">|</span><span style="color:rgb(215,175,0)"> </span><span style="color:rgb(255,175,0)"> </span><span style="color:rgb(255,135,0)"> </span><span style="color:rgb(255,135,95)">|
</span><span style="color:rgb(255,95,95)">+</span><span style="color:rgb(255,95,135)">-</span><span style="color:rgb(255,0,135)">-</span><span style="color:rgb(255,0,175)">-</span><span style="color:rgb(215,0,175)">-</span><span style="color:rgb(215,0,215)">-</span><span style="color:rgb(175,0,215)">-</span><span style="color:rgb(175,0,255)">-</span><span style="color:rgb(135,0,255)">-</span><span style="color:rgb(135,95,255)">-</span><span style="color:rgb(95,95,255)">-</span><span style="color:rgb(95,135,255)">-</span><span style="color:rgb(0,135,255)">-</span><span style="color:rgb(0,175,255)">-</span><span style="color:rgb(0,175,215)">-</span><span style="color:rgb(0,215,215)">-</span><span style="color:rgb(0,215,175)">-</span><span style="color:rgb(0,255,175)">-</span><span style="color:rgb(0,255,135)">-</span><span style="color:rgb(95,255,135)">-</span><span style="color:rgb(95,255,95)">-</span><span style="color:rgb(135,255,95)">-</span><span style="color:rgb(135,255,0)">-</span><span style="color:rgb(175,255,0)">-</span><span style="color:rgb(175,215,0)">-</span><span style="color:rgb(215,215,0)">-</span><span style="color:rgb(215,175,0)">-</span><span style="color:rgb(255,175,0)">-</span><span style="color:rgb(255,135,0)">-</span><span style="color:rgb(255,135,95)">+
</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)">\</span><span style="color:rgb(135,0,255)">
</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)">\</span><span style="color:rgb(95,95,255)"> </span><span style="color:rgb(95,135,255)"> </span><span style="color:rgb(0,135,255)"> </span><span style="color:rgb(0,175,255)"> </span><span style="color:rgb(0,175,215)"> </span><span style="color:rgb(0,215,215)">▄</span><span style="color:rgb(0,215,175)">▄</span><span style="color:rgb(0,255,175)">▄</span><span style="color:rgb(0,255,135)">▄</span><span style="color:rgb(95,255,135)">▄</span><span style="color:rgb(95,255,95)">▄</span><span style="color:rgb(135,255,95)">▄</span><span style="color:rgb(135,255,0)">▄
</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255)">\</span><span style="color:rgb(95,135,255)"> </span><span style="color:rgb(0,135,255)"> </span><span style="color:rgb(0,175,255)">▄</span><span style="color:rgb(0,175,215);background-color:rgb(0,0,0)"> </span><span style="color:rgb(0,215,215);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(0,215,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,255,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,255,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,255,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,255,0);background-color:rgb(8,8,8)">▄</span><span style="color:rgb(175,255,0);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(175,215,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(215,215,0)">▄
</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255)"> </span><span style="color:rgb(95,135,255)">▄</span><span style="color:rgb(0,135,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(0,175,255);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(0,175,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,255,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,255,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,255,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,215,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(215,175,0)">▄
</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(95,135,255);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(0,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,215);background-color:rgb(0,0,0)"> </span><span style="color:rgb(0,215,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,135);background-color:rgb(95,175,255)">▄</span><span style="color:rgb(95,255,135);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(95,255,95);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(135,255,95);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(135,255,0);background-color:rgb(95,175,255)">▄</span><span style="color:rgb(175,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,215,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(215,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,175,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(215,175,0)">
</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(95,95,255);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(95,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,175);background-color:rgb(0,0,0)"> </span><span style="color:rgb(0,255,135);background-color:rgb(175,95,135)"> </span><span style="color:rgb(95,255,135);background-color:rgb(175,95,135)"> </span><span style="color:rgb(95,255,95);background-color:rgb(175,95,135)"> </span><span style="color:rgb(135,255,95);background-color:rgb(175,95,135)"> </span><span style="color:rgb(135,255,0);background-color:rgb(175,95,135)"> </span><span style="color:rgb(175,255,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(175,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,175,0);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(255,175,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(255,135,0)">▄
</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(135,95,255);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(95,95,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,175);background-color:rgb(0,0,0)"> </span><span style="color:rgb(0,255,135);background-color:rgb(175,95,135)"> </span><span style="color:rgb(95,255,135);background-color:rgb(175,95,135)"> </span><span style="color:rgb(95,255,95);background-color:rgb(175,95,135)"> </span><span style="color:rgb(135,255,95);background-color:rgb(175,95,135)"> </span><span style="color:rgb(135,255,0);background-color:rgb(175,95,135)"> </span><span style="color:rgb(175,255,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(175,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,135,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(255,135,0)">
</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(135,95,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,95,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,175);background-color:rgb(0,0,0)"> </span><span style="color:rgb(0,255,135);background-color:rgb(175,95,135)">▄</span><span style="color:rgb(95,255,135);background-color:rgb(175,95,135)"> </span><span style="color:rgb(95,255,95);background-color:rgb(175,95,135)"> </span><span style="color:rgb(135,255,95);background-color:rgb(175,95,135)"> </span><span style="color:rgb(135,255,0);background-color:rgb(175,95,135)"> </span><span style="color:rgb(175,255,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(175,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,135,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(255,135,0)">
</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(135,95,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,95,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,135);background-color:rgb(0,0,0)"> </span><span style="color:rgb(95,255,135);background-color:rgb(175,95,135)">▄</span><span style="color:rgb(95,255,95);background-color:rgb(175,95,135)"> </span><span style="color:rgb(135,255,95);background-color:rgb(175,95,135)">▄</span><span style="color:rgb(135,255,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(175,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,135,0);background-color:rgb(0,0,0)"> </span><span style="color:rgb(255,135,0)">
</span><span style="color:rgb(255,95,135)"> </span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(135,95,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(95,95,255);background-color:rgb(95,175,255)">▄</span><span style="color:rgb(95,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,255,135);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(95,255,95);background-color:rgb(0,0,0)"> </span><span style="color:rgb(135,255,95);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(135,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,135,0);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(255,135,95);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(255,95,95);background-color:rgb(0,0,0)"> </span><span style="color:rgb(255,95,135)">▄
</span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(95,135,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(0,135,255);background-color:rgb(95,175,255)">▄</span><span style="color:rgb(0,175,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,255,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,255,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,255,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,255,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,135,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,135,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,95,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,95,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,0,135);background-color:rgb(18,18,18)">▄</span><span style="color:rgb(255,0,175);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(215,0,175);background-color:rgb(0,0,0)"> </span><span style="color:rgb(215,0,215)">▄
</span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(95,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,135,255);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(0,175,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(0,175,215);background-color:rgb(95,175,255)">▄</span><span style="color:rgb(0,215,215);background-color:rgb(95,175,255)">▄</span><span style="color:rgb(0,215,175);background-color:rgb(95,175,255)">▄</span><span style="color:rgb(0,255,175);background-color:rgb(95,175,255)">▄</span><span style="color:rgb(0,255,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,255,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(95,255,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,255,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,135,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,135,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,95,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,95,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,0,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,0,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,0,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,0,215);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(175,0,215);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(175,0,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(135,0,255)">▄
</span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(95,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,135,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,175,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(0,215,175);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(0,255,175);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(0,255,135);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(95,255,135);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(95,255,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,255,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,255,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,215,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,175,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,135,0);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,135,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,95,95);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,95,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,0,135);background-color:rgb(95,175,255)"> </span><span style="color:rgb(255,0,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,0,175);background-color:rgb(95,175,255)"> </span><span style="color:rgb(215,0,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,0,215);background-color:rgb(95,175,255)"> </span><span style="color:rgb(175,0,255);background-color:rgb(95,175,255)"> </span><span style="color:rgb(135,0,255);background-color:rgb(8,8,8)">▄</span><span style="color:rgb(135,95,255);background-color:rgb(0,0,0)">▄</span><span style="color:rgb(95,95,255);background-color:rgb(0,0,0)"> </span><span style="color:rgb(95,95,255)">
</span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(95,95,255)">▀</span><span style="color:rgb(95,135,255)">▀</span><span style="color:rgb(0,135,255)">▀</span><span style="color:rgb(0,175,255)">▀</span><span style="color:rgb(0,175,215)">▀</span><span style="color:rgb(0,215,215)">▀</span><span style="color:rgb(0,215,175)">▀</span><span style="color:rgb(0,255,175)">▀</span><span style="color:rgb(0,255,135)">▀</span><span style="color:rgb(95,255,135)">▀</span><span style="color:rgb(95,255,95)">▀</span><span style="color:rgb(135,255,95)">▀</span><span style="color:rgb(135,255,0)">▀</span><span style="color:rgb(175,255,0)">▀</span><span style="color:rgb(175,215,0)">▀</span><span style="color:rgb(215,215,0)">▀</span><span style="color:rgb(215,175,0)">▀</span><span style="color:rgb(255,175,0)">▀</span><span style="color:rgb(255,135,0)">▀</span><span style="color:rgb(255,135,95)">▀</span><span style="color:rgb(255,95,95)">▀</span><span style="color:rgb(255,95,135)">▀</span><span style="color:rgb(255,0,135)">▀</span><span style="color:rgb(255,0,175)">▀</span><span style="color:rgb(215,0,175)">▀</span><span style="color:rgb(215,0,215)">▀</span><span style="color:rgb(175,0,215)">▀</span><span style="color:rgb(175,0,255)">▀</span><span style="color:rgb(135,0,255)">▀</span><span style="color:rgb(135,95,255)">▀</span><span style="color:rgb(95,95,255)">▀
</span><span style="color:rgb(255,0,135)"> </span><span style="color:rgb(255,0,175)"> </span><span style="color:rgb(215,0,175)"> </span><span style="color:rgb(215,0,215)"> </span><span style="color:rgb(175,0,215)"> </span><span style="color:rgb(175,0,255)"> </span><span style="color:rgb(135,0,255)"> </span><span style="color:rgb(135,95,255)"> </span><span style="color:rgb(135,95,255)">
</span></pre>
const ansiUp = require('ansi_up').default;
const clipboardy = require('clipboardy');
clipboardy.write(`<pre>${ansi_up.ansi_to_html(clipboardy.readSync())}</pre>`); // html output
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# get ansi output
cowsay -w Hello World! | parrotsay | lolcat-c -h 1 | pbcopy # ansi output
###****###
## use node
# also https://www.npmjs.com/package/ansi-to-html?activeTab=readme
node parrotsaycowsay.js
## use CLI
# https://www.npmjs.com/package/ansi-to-html?activeTab=readme also has CLI
# or use https://github.com/theZiz/aha
pbpaste | aha
## use vim
# or use `vim` with https://github.com/powerman/vim-plugin-AnsiEsc to highlight ansi then use one of the following:
# output to html in CLI
# https://groups.google.com/forum/#!topic/vim_use/6Q9ej348W0U
vim +'syn on | run! syntax/2html.vim | wq | q' parrotsaycowsay.ansi
# output to html in CLI alternative
# https://vi.stackexchange.com/a/794/15615
# https://unix.stackexchange.com/a/185503/238373
vim -E -s -c "let g:html_no_progress=1" -c "syntax on" -c "set ft=c" -c "runtime syntax/2html.vim" -cwqa parrotsaycowsay.ansi
# or convert interactively in `vim` with :TOhtml
# then copy paste it in terminal
pbpaste > parrotsaycowsay.html
###****###
## Convert to PDF or PNG
# Doesn't work for parrot because it has weird characters. But should work for ascii.
wkhtmltopdf parrotsaycowsay.html parrotsaycowsay.pdf # **preferred**
wkhtmltoimage parrotsaycowsay.html parrotsaycowsay.png # okay if image not too long
open parrotsaycowsay.html # in chrome **preferred**
# open devtools and select the <pre>...</pre> element
# CMD + SHIFT + P > type "screenshot" > screenshot node
# png output
# or save/print as PDF in chrome
# Use imagemagick `convert` to get pdf
convert parrotsaycowsay.png parrotsaycowsay.pdf # not preferred because lose text information
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment