Cms Json

A lightweight CMS that loads and stores its data from/to a JSON file
Alternatives To Cms Json
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Ponzu4,887
3 years ago4January 02, 202024bsd-3-clauseGo
Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
Daptin1,692
a month ago82June 17, 202117lgpl-3.0Go
Daptin - Backend As A Service - GraphQL/JSON-API Headless CMS
Bludit1,111
a month ago50mitJavaScript
Simple, Fast, Secure, Flat-File CMS
Google Drive Cms283
4 years ago11mitHTML
A content management system (CMS) built on an interface everyone understands (n.b. No longer maintained)
Keystatic277
9 hours ago15mitTypeScript
First class CMS experience, TypeScript API, Markdown & YAML/JSON based, no DB
Kql125
2 months ago1February 12, 20214mitPHP
Kirby's Query Language API combines the flexibility of Kirby's data structures, the power of GraphQL and the simplicity of REST.
Cms Json122
16 months ago69October 16, 201838mitTypeScript
A lightweight CMS that loads and stores its data from/to a JSON file
White111
4 years agogpl-2.0Python
A Blog Cms Website backed by MySQL in Flask&Python
Any Json Cms87
a year agogpl-3.0
Any JSON CMS
Headless Wordpress82
5 years ago1gpl-2.0PHP
A headless CMS for publishing static JSON for consumption.
Alternatives To Cms Json
Select To Compare


Alternative Project Comparisons
Readme

cms-json

A lightweight CMS loading and saving its data from/to a json file

Build Dependencies NPM Downloads MIT Node.js version

cms-json: A lightweight CMS loading and saving its data from/to a json file

Install

npm install -g cms-json

Playground

You can give cms-json a shot in the playground. It runs the CMS with a default JSON and Schema files. The Save functionality is disabled, but you can export your work via the 'Export' button.

Quick Start

cms-json

Then open your browser at:

http://localhost:3000

Why do I need this?

In a small IT company, the question of how and by whom your website can be updated is a recurrent one.

I have explored many solutions, from pure HTML sites controlled by the dev team, using fancy web frameworks, to sites generated by the marketing/product team using pure wysiwyg tools like Adobe Muse, not to mention heavy stuff like Wordpress or Drupal.

I finally came up with that very simple feature set:

  • The Content part of my site is stored as a JSON file
  • It can be edited by tech or non tech people via a very simple UI
  • It is embedded in the web site / web app by developers, and exploited with the technology they like
  • It can be stored in Git, so that in case of conflicts, it can be solved as with any other source files
  • Last but not least, it can be run as an npm module. No Apache, no nginx, no PHP, no database, just simplicity of use.

Although tons of CMS products exist on the market, I didn't find any one fulfilling the constraints above.

Usage

Usage: cms-json {OPTIONS}

Standard Options:

    --schema, -s   JSON schema file.
                   Default is data/schema.json.

    --data, -d     JSON data file.
                   Default is data/data.json.

    --port, -p     Server port.
                   Default is 3000.

What's new

v0.1.1

  • The 'model' files are now standard JSON Schema Draft 6 files. See http://json-schema.org/.
  • Added a 'Developer' mode, to add/edit/delete nodes and fields. This mode is activated by default. Switching to 'Author' mode disables all schema editing features.
  • On a side note, I migrated the entire code base to Typescript.

v0.1.3

  • Show JSON data and schema on the right and sync with editor
  • Improved author view (removed useless dev stuff)

API

run([options]) ⇒ *

Run an Express server embedding a simple UI for editing the content of the given dataFile.

Kind: global function
Returns: * - The express app

Param Type Description
[options] Object
[options.dataFile] Object A JSON file with the content. This parameter is mandatory. The content authored from the web site will be saved with that path name. The structure of this JSON file must match the model. See an example here: https://github.com/amelki/cms-json/blob/master/default/data.json
[options.modelFile] Object A JSON schema file representing the model to support/ease authoring via the UI. This parameter is mandatory. See an example here: https://github.com/amelki/cms-json/blob/master/default/schema.json
[options.port] Object The server port. 3000 by default
Popular Json Projects
Popular Content Management System Projects
Popular Data Formats Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Typescript
Json
Schema
Cms