Skip to content

Dodf12/Langview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

langview

A CLI tool that shows a GitHub-style language breakdown bar for any Git project or directory right in the termilan.

Example:

  Languages

  ████████████████████████████████████████████░░░░░░░░░░░░░░░░

  ● TypeScript 73.5%    ● JavaScript 13.1%
  ● Markdown 9.5%       ● JSON 2.3%
  ● HTML 1.0%           ● YAML 0.4%

Install

pip install langview

Usage

# Run in a git repo
langview

# Point at any directory
langview ~/projects/my-app

# Wider bar
langview ~/projects/my-app --width 80

# If not a git repo or to scan all files included untracker, execute thsi command
langview ~/projects/my-app --walk

Options

Flag Default Description
path . Path to the project directory
--width N 60 Width of the language bar in characters
--walk off Walk the filesystem instead of using git ls-files

Supported Languages

Python, TypeScript, JavaScript, Rust, Go, C, C++, Java, Kotlin, Swift, Ruby, PHP, C#, Shell, HTML, CSS, SCSS, JSON, YAML, TOML, Markdown, R, Julia, Lua, Elixir, Erlang, Haskell, OCaml, Dart, Vue, Svelte, Terraform, Makefile, DTrace, and more.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages