oren / openblog

https://oren.github.io/openblog
0 stars 0 forks source link

openblog

A simple blog hosted on Github Pages. Uses its own Github Issues as a storage media for posts and comments through the Github.js API.

This is just an early prototype and would probably benefit from request caching and pagination.

Setup

  1. Fork.

  2. To increase rate limit, create a Github Application and then follow this simple guide to generate an OAuth token without needing to use the webflow.

  3. Change the globals in lib/globals.js to suit your needs:

    (function () {
    'use strict';
    
    window.USERNAME = 'your username here';
    window.REPO = 'your repo name here';
    window.TOKEN = 'your app access token here';
    }());
  4. Push to gh-pages branch.

Could be extended with a bunch of features, but I'm keeping it simple to let you guys experiment.