Linguist256 is designed to produce a similar output to GitHub Linguist within a terminal window, provided the terminal has xterm 256 (8bit) color
support.
git clone https://github.com/stillwwater/linguist256
cd linguist256
python3 setup.py sdist --format=tar # build
pip install dist/linguist256-0.2.tar # install
First, define a languages.yml
file for your projects root directory (example), or use the complete languages.yml
from Linguist.
python3 -m linguist256 .
Multiple paths:
python3 -m linguist256 'first/path,second/path'
Only search languages of specific types:
-t | --types
python3 -m linguist256 . --types 'programming,markup'
Change graph width (columns):
-w | --width
python3 -m linguist256 . --width 90
View more available options and help doc:
-h | --help
python3 -m linguist256 --help
Note: Linguist256 is mostly just a proof of concept and it's not as accurate as GitHub Linguist.
For this reason it is best to use your own languages.yml
to avoid misclassified files.