Super-simple web-based Git repository browser.
Send a GET request to <commit identifier>.example.com/path/to/file
Supported commit identifiers include tags, branches, and commit hashes.
If the file given is a directory (ends in /), then it will build a simple directory listing.
GET /server.go
Host: master.discob.git.masonx.ca
-host string
Host to bind to
-port int
Port to listen on (default 8080)
-repo string
Repository to serve (default ".")
-tmpl string
Template HTML to use for directory listings (default "directory.html")
go-git: Git interface
Needs Go 1.11 (modules) support.
export GO111MODULE="on"
go build github.com/ohnx/discob