cmsless
v0.1.21
Published
Do not develop CMS. Edit your files as GitHub Gists
Downloads
10
Readme
Manage your files as GitHub gists and load it to your website.
Motivation
- Do not spend time on installing or developing CMS
- Let other people build content for you
- Support versioning
- 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
});