create-structcms
v0.1.1
Published
A CLI scaffolding tool for [StructCMS](https://github.com/structcms/structcms) — a file-based, structured content management system where every piece of content is a Markdown file paired with a JSON metadata file.
Readme
create-structcms
A CLI scaffolding tool for StructCMS — a file-based, structured content management system where every piece of content is a Markdown file paired with a JSON metadata file.
Quick Start
npx create-structcms my-site
cd my-site
npm install
npm run devWhat It Creates
Running the command above generates a new project with the following structure:
my-site/
└── contents/
└── hello-world/
├── content.md # Article body in Markdown
└── meta.json # Title, description, draft status, and moreContent Format
Each piece of content lives in its own directory under contents/. The directory name becomes the content slug.
meta.json
{
"title": "My First Article",
"description": "A short summary of the article",
"draft": false
}content.md
# My First Article
Write your content here in Markdown.Requirements
- Node.js >= 18
License
MIT
