A minimal command-line tool that renders local markdown files using GitHub's API.
You can install via go using the following command:
go install github.com/sixlive/gogrip@latest
You can also install by snagging a pre-built binary from the releases page.
Basic usage with default README.md:
gogrip
Specify a different file:
gogrip -f CONTRIBUTING.md
Open in browser automatically:
gogrip -b
Custom host and port:
gogrip -host 0.0.0.0 -port 8080
With GitHub authentication (for higher rate limits):
gogrip -token YOUR_GITHUB_TOKEN
Usage of gogrip:
-host string
Host to listen on (default "localhost")
-port int
Port to listen on (default 6419)
-f string
File to render (default "README.md")
-token string
GitHub personal access token
-b
Open browser automatically
This project is inspired by Grip, the Python-based GitHub Readme Instant Preview tool.
MIT