Skip to content

AndrewKraevskii/forestz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forestz 🌳🌲🌿⚡

Util to count lines of code but with inclusion of dependencies.

Building:

git clone https://github.com/andrewkraevskii/forsetz
cd forestz
zig build run -- /path/to/project

If you want fast version

zig build -Duse-llvm -Doptimize=ReleaseFast
./zig-out/bin/forestz /path/to/project

Supported build systems:

  • build zig

Planned build systems:

  • cargo (rust)
  • go
  • node/deno/bun (js)

TODO

  • avoid counting same files twice for dependenices inside of directory.
  • add directory's filtering options.
  • add language filtering options.
  • sort also languages.
  • comment detection for non zig not working.
  • use rich text output for better visual clarity.
  • sort projects by lines not just files inside of them.
  • show lines like graph dust-du style.
  • Multithreading? Probably not to hard but its pretty fast as is.

About

Count you dependences lines of code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages