Qball's Weblog

Simple tool: Ascii2HTML

Tags ascii2html 

I wrote a simple new program today. I know this tool already exists, but the version I could fine used a combination of a shell script that output html + python script that it feeds the python interperter.

So I decided to quickly write it in C (a bit more clean). It is just 245 lines (162 lines of code) and seems to work well enough. So what does it do?

It takes the output of a program, f.e. git show –color and convert it to html. Nothing more, nothing less.

Example output: git log –source –color -u

Github repository: here

Download: here