ath 1.0.0
ANSI to HTML converter
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
ath - ansi to html
ath is both a command line tool and a D library for converting text containing ANSI escape sequences into HTML.
Features
- 3-bit, 8-bit and 24-bit color support
- Basic SGR sequences (bold, italic, underline, blink, crossedout, invert, hide, faint, overlined)
- Cursor control sequences (if buffer is enabled)
Not (yet) implemented:
- Obscure SGR sequences not listed above (most notably invert and hide)
- OSC sequences
- Some C0 control codes (like tab or backspace)
Command Line Tool
Installation
To install the command line tool, make sure you have ldc2 and dub installed. Then, just run:
make
sudo make install
Usage
The command line tool reads the input stream and converts the containing ANSI
into HTML. You can view ath --help
for optional arguments and example
commands.
Library
You can view the documentation of the library at https://ath.dpldocs.info/ath.html.
Credits
Thanks a lot to theZiz for his great tool aha. I basically ported his code to D and improved on it. I would have just contributed upstream, but I needed a D library and thus it wasn't possible for me (with my technical knowledge) to just use aha.
- Registered by Malte Jürgens
- 1.0.0 released 2 years ago
- maltejur/ath
- LGPL-3.0 or later
- Copyright (C) 2022 Malte Jürgens <[email protected]> Copyright (C) 2012-2021 Alexander Matthes (Ziz) , ziz_at_mailbox.org
- Authors:
- Dependencies:
- none
- Versions:
-
1.0.0 2022-Jul-19 1.0.0-rc.3 2022-Jul-19 1.0.0-rc.2 2022-Jul-06 1.0.0-rc.1 2022-Jul-05 ~master 2022-Jul-19 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
1 downloads this month
-
54 downloads total
-
- Score:
- 0.5
- Short URL:
- ath.dub.pm