# For optional syntax highlighting
GG_COLOR=TRUE
sudo make install-color
# For optional markdown rendering
GG_MARKDOWN=TRUE
make && sudo make install
# This will put everything into public/
./gitgen repo <repo path> [--max-commits <max>] [--max-filesize <max>] [--max-diff-lines <max>]
./gitgen index <repo path>...
Syntax highlighting requires GNU source-highlight and markdown rendering requires md4c. Note that syntax highlighting currently slows generation by around ~2x.
- libgit2
- libsource-highlight (optional, for highlighting)
- md4c (optional, for markdown rendering)