Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stonecypher/screenshot_codebase

Want a screenshot of a codebase? Want to compare the size of two codebases visually? Here ya go.
https://github.com/stonecypher/screenshot_codebase

cdn code-analysis code-tools codebase javascript js screenshot screenshot-codebase visualization

Last synced: 23 days ago
JSON representation

Want a screenshot of a codebase? Want to compare the size of two codebases visually? Here ya go.

Awesome Lists containing this project

README

        

# screenshot_codebase
Want a screenshot of a codebase? Want to compare the size of two codebases visually? Here ya go.

(this is alpha code)

## Installation
`npm install -g screenshot_codebase`

If you don't have `npm`, [install `node`](https://nodejs.org/en/download/) to get it.

## Basic Usage

* `screenshot_codebase`
* Creates `output.png` with a screenshot of the current directory, travelling downwards,
with standard excludes, the default `midnight` theme, and automatic highlighting turned on.
* ~~`screenshot_codebase -h off -c midnight -o final.png`~~
* ~~Creates `final.png` with highlighting turned off, in the `midnight` theme~~

## Arguments
* ~~`-a` allow cosmetic padding~~
* ~~`-c` color theme~~
* ~~`-f` font~~
* ~~`-h` auto|off|~~
* ~~`-l` location to start from~~
* ~~`-o` output filename~~
* ~~`-r` recursively scan downwards (default `true`; accepts `0`/`1`, `true`/`false`, `on`/`off`, `y`/`n`)~~
* ~~`-s` font size (default 4px)~~
* ~~`-t` type override comma-separated list of key/val pairs for ext = lang (eg for perl vs prolog as .pl)~~
* ~~`-w` word wrap at n (negative means crop instead)~~
* ~~`-x` exclude comma-separated list of extensions~~
* ~~`-1` single image screenshots (treats -o as a directory to create name instead)~~