Factored out html generation to GenerateGithubHtml(), add example that runs it.

Add updateHandler for `/-/update` POST endpoint.