A simple wiki with GitHub authentication in ~200 lines of Go.
It is an example application using com and the components of stdcom.
For authentication to work, you'll have to register an OAuth app with GitHub.
Any values will do, but the callback URL should be http://localhost:8080/_auth/callback/github
.
Put the OAuth client key and secret in the wiki.toml
file before running.
$ go build ./cmd/wiki
$ ./wiki
BSD