Go app to preview your GitHub's README.md
Go
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
main.go
style.css
template.html

README.md

Preview Github README.md

The preview that mimics repo's homepage in GitHub.

Requirements

How to use

$ go get github.com/gedex/preview-github-readme
$ preview-github-readme README.md           # Will output generated HTML into stdout
$ preview-github-readme /my/repo/readme.md  # Works on any path

Pipes it to browser:

$ preview-github-readme README.md | browser

or:

$ preview-github-readme --serve 8080 README.md # Previewer is available on http://localhost:8080