main

gitmal

Static site generator for Git repositories.

Usage

gitmal [options] [path ...]

Options

  • --output - Output directory (default: output)
  • --clone-base - Clone URL base domain (e.g., git.mokhan.ca)

Output

Path Description
/index.html Repository root
/blob/<ref>/<path>/index.html Directory listing
/blob/<ref>/<file>.html File view
/commit/<hash>.html Commit diff
/commits/<ref>/index.html Commit history
/branches.html Branches
/tags.html Tags
/commits/<ref>.atom Commits feed
/commits/<ref>.json Commits JSON
/branches.json Branches JSON

CSS

Generated pages load CSS from https://src.mokhan.ca/assets/.

License

MIT