Skip to content

Read the output of a terminal command like "man" or "ls" and write a PNG.

License

Notifications You must be signed in to change notification settings

ajdavis/term2image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

term2image

This package is unmaintained. It's easier to use aha to generate HTML from terminal output and process the HTML into your desired final format.

Install

Compatible with Python 2.7 and Python 3.

python -m pip install term2image

Usage

Read the output of a terminal command like "man" or "ls" and write a PNG.

usage: term2image [-h] [-i INFILE] [-o OUTFILE]

Convert terminal command output to an image

optional arguments:
  -h, --help            show this help message and exit
  -i INFILE, --infile INFILE
  -o OUTFILE, --outfile OUTFILE

If no input file is given, term2image reads from stdin.

Example

Output of man which | term2image -o which.png:

which.png

About

Read the output of a terminal command like "man" or "ls" and write a PNG.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages