All Projects → BourgeoisBear → ansiart2utf8

BourgeoisBear / ansiart2utf8

Licence: MIT license
Processes legacy BBS-style ANSI art (ACiDDraw, PabloDraw, etc.) to UTF-8. Escape codes and line endings are processed for terminal friendliness.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to ansiart2utf8

ansicolor
A JavaScript ANSI color/style management. ANSI parsing. ANSI to CSS. Small, clean, no dependencies.
Stars: ✭ 91 (+184.38%)
Mutual labels:  console, ansi, ansi-escape-codes, ansi-colors
Chalk
🖍 Terminal string styling done right
Stars: ✭ 17,566 (+54793.75%)
Mutual labels:  console, commandline, ansi, ansi-escape-codes
Picocli
Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.
Stars: ✭ 3,286 (+10168.75%)
Mutual labels:  commandline, ansi, ansi-colors
conso
💢 PHP console applications for cool kids 💢
Stars: ✭ 40 (+25%)
Mutual labels:  console, console-application, console-app
strip-ansi-stream
Strip ANSI escape codes
Stars: ✭ 32 (+0%)
Mutual labels:  console, ansi, ansi-escape-codes
Mordant
Full-featured text styling for Kotlin command-line applications
Stars: ✭ 382 (+1093.75%)
Mutual labels:  console, ansi, ansi-colors
Ansi Econsole
Eclipse plugin that understands ANSI escape sequences to color the Eclipse console output.
Stars: ✭ 72 (+125%)
Mutual labels:  console, ansi, ansi-colors
colr
Easy terminal colors, with chainable methods.
Stars: ✭ 32 (+0%)
Mutual labels:  ansi-escape-codes, ansi-colors, escape-codes
log-utils
Basic logging utils: colors, symbols and timestamp.
Stars: ✭ 24 (-25%)
Mutual labels:  console, ansi, ansi-colors
yachalk
🖍️ Terminal string styling done right
Stars: ✭ 131 (+309.38%)
Mutual labels:  console, ansi, ansi-escape-codes
pytermgui
Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
Stars: ✭ 1,270 (+3868.75%)
Mutual labels:  console, ansi, ansi-escape-codes
Rxterm
Functional reactive terminals in C++ ⚡⌨️
Stars: ✭ 226 (+606.25%)
Mutual labels:  console, console-application
concolor
Colouring template strings using tags with annotations 🎨
Stars: ✭ 35 (+9.38%)
Mutual labels:  console, ansi
Laravel Zero
A PHP framework for console artisans
Stars: ✭ 2,821 (+8715.63%)
Mutual labels:  console, console-application
paper-terminal
Print Markdown to a paper in your terminal
Stars: ✭ 33 (+3.13%)
Mutual labels:  console, ansi
Spectre.console
A .NET library that makes it easier to create beautiful console applications.
Stars: ✭ 4,226 (+13106.25%)
Mutual labels:  console, ansi-colors
Sc Im
sc-im - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal
Stars: ✭ 3,081 (+9528.13%)
Mutual labels:  console, console-application
Finalcut
A text-based widget toolkit
Stars: ✭ 244 (+662.5%)
Mutual labels:  console, text
go-color
A lightweight, simple and cross-platform package to colorize text in terminals
Stars: ✭ 65 (+103.13%)
Mutual labels:  console, ansi
Hexed
Windows console-based hex editor
Stars: ✭ 145 (+353.13%)
Mutual labels:  console, console-application

ansiart2utf8

GoDoc

Processes legacy BBS-style ANSI art (ACiDDraw, PabloDraw, etc.) to UTF-8.
Escape codes and line endings are processed for terminal friendliness.

BEFORE

Before ansiart2utf8 processing

AFTER

After ansiart2utf8 processing

INSTALLATION

  1. Install the latest Go compiler from https://golang.org/dl/
  2. Install the program:
go install github.com/BourgeoisBear/ansiart2utf8/ansiart2utf8@latest

USAGE

ansiart2utf8
  Converts ANSI art to UTF-8 encoding, expands cursor forward ESC sequences
  into spaces, wraps/resets at a specified line width, sends result to STDOUT.

  Leave the [FILE] parameter empty to read from STDIN.

USAGE: ansiart2utf8 [OPTION]... [FILE]...

OPTIONS
  -bytes uint
        MAXIMUM OUTPUT BYTES PER-ROW (0 = NO LIMIT)
  -debug
        DEBUG MODE: line numbering + pipe @ \n
  -w uint
        LINE WRAP WIDTH (default 80)
  -x    ANSI TO XTERM-256 COLOR SUBSTITUTION
          (to overcome strange terminal color scheme palettes)

NOTES

To see the result, make sure that your terminal font provides glyphs for the old CP437 box drawing characters.

Here are a few fonts that will do:

Seeing Code Page 437 in Vim

:e ++enc=cp437

Resources

Media

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].