Want a screenshot of a codebase? Want to compare the size of two codebases visually? Here ya go.
(this is alpha code)
npm install -g screenshot_codebase
If you don't have npm, install node to get it.
screenshot_codebase- Creates
output.pngwith a screenshot of the current directory, travelling downwards, with standard excludes, the defaultmidnighttheme, and automatic highlighting turned on.
- Creates
screenshot_codebase -h off -c midnight -o final.pngCreatesfinal.pngwith highlighting turned off, in themidnighttheme
-aallow cosmetic padding-ccolor theme-ffont-hauto|off|-llocation to start from-ooutput filename-rrecursively scan downwards (defaulttrue; accepts0/1,true/false,on/off,y/n)-sfont size (default 4px)-ttype override comma-separated list of key/val pairs for ext = lang (eg for perl vs prolog as .pl)-wword wrap at n (negative means crop instead)-xexclude comma-separated list of extensions-1single image screenshots (treats -o as a directory to create name instead)