No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vendor
Procfile
README.md
main.go

README.md

OGP Parse Server for Hugo

Usage on Heroku

$ go get github.com/takuyaohashi/heroku-go-json-server-for-hugo
$ cd $GOPATH/src/github.com/takuyaohashi/heroku-go-json-server-for-hugo
$ heroku login
$ heroku create
$ git push heroku master

And access [your-own-herokuapp].herokuapp.com/api/ogp?url=https://hogehoge.com with a browser.

Usage local

$ go get github.com/takuyaohashi/heroku-go-json-server-for-hugo
$ cd $GOPATH/src/github.com/takuyaohashi/heroku-go-json-server-for-hugo
$ export PORT=1333
$ go run main.go

And access localhost:1333/api/ogp?url=https://hogehoge.com with a browser.