Readit News logoReadit News
Posted by u/mfontani a year ago
Show HN: C-Based Ansi2htmlgithub.com/mfontani/ansi2...
Got a bit tired last week of using pretty slow programs to convert ANSI-colored text to HTML (which I do often enough, as I dabble in developing a text-based MUD), so I built my own.

Turns out, it's not _too_ hard to make it useful, fast, and mostly bug-free.

Thanks to Github Actions, there are binaries for Linux, MacOS and even Windows.

If you find it useful, it'd be great to hear. If you'd like to comment on the code... that, too.

svlasov · a year ago
Also see https://github.com/kilobyte/colorized-logs which is very performant and available in every distro.