Do not develop CMS. Edit your files as GitHub Gists


Keywords
cms, content
License
ISC
Install
npm install cmsless@0.1.21

Documentation

Logo

Manage your files as GitHub gists and load it to your website.

Motivation

  1. Do not spend time on installing or developing CMS
  2. Let other people build content for you
  3. Support versioning
  4. Give a chance to fork and modify the content

Install

npm install cmsless

Usage

var cmsless = require("cmsless");

var config = {
  github: {
    username: "YOUR_GIRHUB_LOGIN",
    password: "YOUR_GIRHUB_PASSWORD"
  },
  gists: [
    {
      id: 'e60da16a8a16bfa47c1481e2f1a016e8',
      files: ["keybase.md > html"]
    }, {
      id: 'a0500709967a32f5daaa1c3258f8a486',
      files: ["CheckRole.php"]
    }
  ]
};

cmsless(config).load(function(err, result){
  console.log(result);
  //update your database and use it for your website
});