Turn Github issues into blog posts
MIT License
An experiment in running a blog based off Github issues.
I usually use octopress to write blog posts, but it's a bit of a pain to quickly preview stuff, commit a new article, or upload images.
Github issues have all that functionality already present, and I like the writing process there.
So I figured, why not write blog posts as Github issues, and have a small blog engine take the content from there?
GITHUB_REPO
to the name of theGITHUB_REPO
repo..published
label.Cache-Control: no-cache
). Force-refresh requests are throttled so that you can force-refreshNote: We force the application of a specific label since anyone can create issues, and you don't want people being able to publish anything on your website.
You should probably register a Github application to increase the API
rate-limit (defaults to 60 req/s for anonymous requests):
https://github.com/settings/applications. Then, set GITHUB_CLIENT_ID
and
GITHUB_CLIENT_SECRET
.
For the list of supported options, please see the app_config.rb
initializer.