Skip to content

stillwwater/linguist256

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linguist256

Linguist256 is designed to produce a similar output to GitHub Linguist within a terminal window, provided the terminal has xterm 256 (8bit) color support.

screenshot

Install

git clone https://github.com/stillwwater/linguist256
cd linguist256
python3 setup.py sdist --format=tar   # build
pip install dist/linguist256-0.2.tar  # install

Usage

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.

About

Terminal version of Github Linguist

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages