Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/stonecypher/screenshot_codebase
- Owner: StoneCypher
- License: mit
- Created: 2017-01-25T18:17:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-23T05:47:05.000Z (over 7 years ago)
- Last Synced: 2024-11-25T03:13:01.770Z (about 1 month ago)
- Topics: cdn, code-analysis, code-tools, codebase, javascript, js, screenshot, screenshot-codebase, visualization
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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)~~