{"id":13903064,"url":"https://github.com/mayashavin/create-content","last_synced_at":"2025-03-23T08:31:57.510Z","repository":{"id":66182885,"uuid":"302160475","full_name":"mayashavin/create-content","owner":"mayashavin","description":"CLI tool to auto-create content file from templates for Nuxt Content module","archived":false,"fork":false,"pushed_at":"2020-10-09T05:25:38.000Z","size":28,"stargazers_count":27,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T19:18:38.501Z","etag":null,"topics":["cli","csv","markdown","nodejs","nuxt-content","nuxtjs","yaml","yaml-parser"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mayashavin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-10-07T21:07:13.000Z","updated_at":"2024-01-12T21:28:23.000Z","dependencies_parsed_at":"2023-02-26T19:01:18.343Z","dependency_job_id":null,"html_url":"https://github.com/mayashavin/create-content","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayashavin%2Fcreate-content","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayashavin%2Fcreate-content/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayashavin%2Fcreate-content/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayashavin%2Fcreate-content/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayashavin","download_url":"https://codeload.github.com/mayashavin/create-content/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245078067,"owners_count":20557274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","csv","markdown","nodejs","nuxt-content","nuxtjs","yaml","yaml-parser"],"created_at":"2024-08-06T22:01:35.738Z","updated_at":"2025-03-23T08:31:57.194Z","avatar_url":"https://github.com/mayashavin.png","language":"JavaScript","readme":"# create-content\n\u003c!-- badge --\u003e\n[![npm version](https://img.shields.io/npm/v/create-content.svg)](https://www.npmjs.com/package/create-content)\n[![npm download](https://img.shields.io/npm/dt/create-content.svg)](https://www.npmjs.com/package/create-content)\n[![npm license](https://img.shields.io/npm/l/create-content.svg)](https://www.npmjs.com/package/create-content)\n\u003c!-- endbadge --\u003e\n\n![Create a content file automatically](https://res.cloudinary.com/mayashavin/image/upload/v1602193382/create-content.jpg)\n\nA CLI tool to auto generate a content file (Markdown, CSV, YAML) based on available templates or customized templates. \n\n\u003e Designed especially for working with [Nuxtjs](https://nuxtjs.org) and [Content module](https://content.nuxtjs.org).\n\n## Install\n\n```bash\nnpm i create-content\n```\n\n## 👩‍💻 How to run\n\n```bash\ncreate-content your-file-name\n```\n\nAnd then select from the options to create you file.\n\n## Features\n\n* Create a content file based on an **existing** templates:\n  \n  * Blog post in [Markdown format](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) (.md), with YAML formatter blocks to indicate some basic information about the post\n\n    * `title`\n    * `description`\n    * `image`\n    * `tags`\n    * `category`\n    * `publishedAt`\n  \n  Inspired by [Nuxt Content's layout](https://content.nuxtjs.org/writing#front-matter)\n\n  * Documentation page followed [Theme Docs standards](https://content.nuxtjs.org/themes/docs) in [Markdown format](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) (.md), with YAML formatter blocks consisting the following fields:\n    * `title`\n    * `description`\n    * `position`\n    * `version`\n    * `category`\n    * `fullscreen`\n    * `menuTitle`\n    * `subtitle`\n    * `badge`\n  \n  * Product info in [Markdown format](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) (.md), with YAML formatter blocks to indicate some basic information about the product:\n\n    * `title`\n    * `description`\n    * `image`\n    * `price`\n    * `tags`\n    * `category`\n\n* Create new content file manually with the following format:\n  * `.md` - Markdown\n  * `.csv` - CSV\n  * `.yaml` - YAML\n\n## Coming soon\n\n1. Create and save new template per project (or globally)\n2. Create new content file based on the new template.\n\n## Contributing\n\n1. Clone this repository\n2. Install dependencies `npm install`\n3. Develop\n4. Test in local project using `npm link`\n\n    * Run `npm link`\n    * Go to the target project, run `npm link create-content`\n    * You now can test if the tool works locally\n\nMaintained by [Maya Shavin](https://twitter.com/MayaShavin)\n","funding_links":[],"categories":["cli"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayashavin%2Fcreate-content","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayashavin%2Fcreate-content","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayashavin%2Fcreate-content/lists"}