cmsless

0.1.21 • Public • Published

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
});
 

Readme

Keywords

Package Sidebar

Install

npm i cmsless

Weekly Downloads

2

Version

0.1.21

License

ISC

Last publish

Collaborators

  • askucher