https://github.com/erikh/ansiview
Small cp437 to UTF-8 translator for spilling ANSI all over your terminal mostly properly
https://github.com/erikh/ansiview
Last synced: about 1 year ago
JSON representation
Small cp437 to UTF-8 translator for spilling ANSI all over your terminal mostly properly
- Host: GitHub
- URL: https://github.com/erikh/ansiview
- Owner: erikh
- License: mit
- Created: 2020-05-16T13:23:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-08T04:22:47.000Z (over 2 years ago)
- Last Synced: 2025-03-31T19:21:17.328Z (about 1 year ago)
- Language: Go
- Size: 225 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansiview: view old ANSI art in your terminal
This is a very basic cp437 -> utf8 codec driver through what amounts to UNIX
`cat` otherwise. To use it:
Pass it the ANSI over standard input or pass it a filename.
Check out some art packs at [16colo.rs](https://16colo.rs), unzip, and try this script
or some similar variation on it in your UTF-8-compatible terminal:
```bash
for i in *.ANS; do clear; ansiview $i; echo $i; read; done
```
Then you can walk through the whole directory; hit enter to cycle to the next file.
## Pretty

## Requirements
UTF-8 compatible, minimum 16 color terminal. Your terminal should be at least
`80x25` to see most artwork, however you may benefit from much taller heights
and sometimes width; `130x75` is great.
## Installation
```bash
$ go get github.com/erikh/ansiview
```
## Author
Erik Hollensbe , but most of the work was really done
by the person who did the CP437 codec in golang's standard library. Props to
them!
## License
MIT (c) 2020 Erik Hollensbe