main
git clone https://git.mokhan.ca/xlgmokha/gitmal.git
rw-r--r--
16 B
rw-r--r--
282 B
rw-r--r--
777 B
rw-r--r--
389 B
rw-r--r--
3.0 KB
rw-r--r--
22 B

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