{"id":16296481,"url":"https://github.com/maticzav/creato","last_synced_at":"2025-04-14T16:23:04.760Z","repository":{"id":40294093,"uuid":"161354879","full_name":"maticzav/creato","owner":"maticzav","description":"👨🏻‍🏭 create-app for any occasion","archived":false,"fork":false,"pushed_at":"2025-04-13T09:32:43.000Z","size":1862,"stargazers_count":25,"open_issues_count":52,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T10:31:49.428Z","etag":null,"topics":["cli","create-app","npm","yarn"],"latest_commit_sha":null,"homepage":"https://github.com/maticzav/creato","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maticzav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"maticzav","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-12-11T15:31:52.000Z","updated_at":"2025-02-24T14:54:25.000Z","dependencies_parsed_at":"2023-10-24T04:26:47.376Z","dependency_job_id":"8d1cfbd0-b324-440e-8c30-858dc8764eed","html_url":"https://github.com/maticzav/creato","commit_stats":{"total_commits":345,"total_committers":5,"mean_commits":69.0,"dds":"0.10434782608695647","last_synced_commit":"861b1a774cdb7266f70e8e6fbfefc0d485a92b7b"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maticzav%2Fcreato","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maticzav%2Fcreato/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maticzav%2Fcreato/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maticzav%2Fcreato/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maticzav","download_url":"https://codeload.github.com/maticzav/creato/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248914566,"owners_count":21182439,"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","create-app","npm","yarn"],"created_at":"2024-10-10T20:22:50.143Z","updated_at":"2025-04-14T16:23:04.733Z","avatar_url":"https://github.com/maticzav.png","language":"TypeScript","funding_links":["https://github.com/sponsors/maticzav"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"media/logo.png\" width=\"200\"/\u003e\u003c/p\u003e\n\n# creato\n\n[![CircleCI](https://circleci.com/gh/maticzav/creato/tree/master.svg?style=shield)](https://circleci.com/gh/maticzav/creato/tree/master)\n[![codecov](https://codecov.io/gh/maticzav/creato/branch/master/graph/badge.svg)](https://codecov.io/gh/maticzav/creato)\n[![npm version](https://badge.fury.io/js/creato.svg)](https://badge.fury.io/js/creato)\n\n\u003e create-app for any occasion.\n\n`creato` helps you build `create-app` tool to help your customers scaffold their project more easily and more quickly.\n\n## Overview\n\n- ✂️ **Flexible:** Packs core functions as well as the out-of-the-box solution.\n- 🌈 **Easy to use:** Exposes intuitive API!\n- 🐶 **Friendly UI:** Question and Answer flow leads thorough template installation!\n\n## Installation\n\n```bash\nyarn add creato\n```\n\n## Example\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"media/example.gif\" width=\"700\"/\u003e\u003c/p\u003e\n\n```ts\nimport { creato, Template } from 'creato'\nimport * as meow from 'meow'\n\nconst cli = meow(\n  `\ncreate-boilerplates\n\n\u003e Helps you start with the project more quickly and more easily.\n\nOptions:\n  --force Force the installation in directory.\n`,\n  {\n    flags: {\n      force: {\n        type: 'boolean',\n        default: false,\n      },\n    },\n  },\n)\n\nconst templates: Template[] = [\n  {\n    name: 'json',\n    description: 'JSON template with basic CircleCI config.',\n    repo: {\n      uri: 'https://github.com/maticzav/label-sync',\n      branch: 'master',\n      path: '/examples/with-circleci',\n    },\n  },\n]\n\ncreato(templates, {\n  force: cli.flags.force,\n})\n```\n\n## API\n\n```ts\n/* templates */\n\ninterface Template {\n  name: string\n  description: string\n  repo: TemplateRepository\n}\n\ninterface TemplateRepository {\n  uri: string\n  branch: string\n  path: string\n}\n\n/* creato */\n\ninterface Options {\n  force: boolean\n}\n\nfunction creato(templates: Template[], options: Options): Promise\u003cvoid\u003e\n\n/* core */\n\nfunction loadTemplate(\n  template: Template,\n  output: string,\n): Promise\u003c\n  { status: 'ok'; message: string } | { status: 'err'; message: string }\n\u003e\n```\n\n## License\n\nMIT @ Matic Zavadlal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaticzav%2Fcreato","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaticzav%2Fcreato","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaticzav%2Fcreato/lists"}