{"id":19229039,"url":"https://github.com/caomeiyouren/cmyr-template-cli","last_synced_at":"2026-02-24T15:03:59.032Z","repository":{"id":37804743,"uuid":"408405878","full_name":"CaoMeiYouRen/cmyr-template-cli","owner":"CaoMeiYouRen","description":"草梅友仁自制的项目模板创建器","archived":false,"fork":false,"pushed_at":"2025-06-30T07:32:10.000Z","size":902,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-30T08:38:48.494Z","etag":null,"topics":["creator","project-creator","template-creator"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/CaoMeiYouRen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2021-09-20T10:52:41.000Z","updated_at":"2025-06-30T07:32:12.000Z","dependencies_parsed_at":"2023-11-30T14:28:33.775Z","dependency_job_id":"b39d1854-c406-4de3-ad2e-41ba3b0c4fe4","html_url":"https://github.com/CaoMeiYouRen/cmyr-template-cli","commit_stats":null,"previous_names":[],"tags_count":153,"template":false,"template_full_name":null,"purl":"pkg:github/CaoMeiYouRen/cmyr-template-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaoMeiYouRen%2Fcmyr-template-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaoMeiYouRen%2Fcmyr-template-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaoMeiYouRen%2Fcmyr-template-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaoMeiYouRen%2Fcmyr-template-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaoMeiYouRen","download_url":"https://codeload.github.com/CaoMeiYouRen/cmyr-template-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaoMeiYouRen%2Fcmyr-template-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266278202,"owners_count":23904038,"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":["creator","project-creator","template-creator"],"created_at":"2024-11-09T15:31:59.970Z","updated_at":"2025-12-25T15:46:07.787Z","avatar_url":"https://github.com/CaoMeiYouRen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ecmyr-template-cli \u003c/h1\u003e\n\u003cp\u003e\n  \u003ca href=\"https://www.npmjs.com/package/cmyr-template-cli\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Version\" src=\"https://img.shields.io/npm/v/cmyr-template-cli.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/cmyr-template-cli\" target=\"_blank\"\u003e\n    \u003cimg alt=\"npm downloads\" src=\"https://img.shields.io/npm/dt/cmyr-template-cli?label=npm%20downloads\u0026color=yellow\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://app.codecov.io/gh/CaoMeiYouRen/cmyr-template-cli\" target=\"_blank\"\u003e\n     \u003cimg alt=\"Codecov\" src=\"https://img.shields.io/codecov/c/github/CaoMeiYouRen/cmyr-template-cli\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/CaoMeiYouRen/cmyr-template-cli/actions?query=workflow%3ARelease\" target=\"_blank\"\u003e\n    \u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/CaoMeiYouRen/cmyr-template-cli/release.yml?branch=master\"\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/node/v/cmyr-template-cli.svg\" /\u003e\n  \u003ca href=\"https://github.com/CaoMeiYouRen/cmyr-template-cli#readme\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Documentation\" src=\"https://img.shields.io/badge/documentation-yes-brightgreen.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/CaoMeiYouRen/cmyr-template-cli/graphs/commit-activity\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Maintenance\" src=\"https://img.shields.io/badge/Maintained%3F-yes-green.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/CaoMeiYouRen/cmyr-template-cli/blob/master/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e 草梅友仁自制的项目模板创建器\n\n### 🏠 [主页](https://github.com/CaoMeiYouRen/cmyr-template-cli#readme)\n\n[https://github.com/CaoMeiYouRen/cmyr-template-cli#readme](https://github.com/CaoMeiYouRen/cmyr-template-cli#readme)\n\n### ✨ [Demo](https://github.com/CaoMeiYouRen/cmyr-template-cli#readme)\n\n[https://github.com/CaoMeiYouRen/cmyr-template-cli#readme](https://github.com/CaoMeiYouRen/cmyr-template-cli#readme)\n\n## 依赖要求\n\n-   node \u003e=18\n\n## 安装\n\n```sh\nnpm i -g cmyr-template-cli\n\n# 或者 yarn global cmyr-template-cli\n# 或者 pnpm i -g cmyr-template-cli\n```\n\n## 使用\n\n```sh\nct\n# 或\nct create\n```\n\n## 配置\n\n在当前目录下或 `HOME` 路径下创建 `.ctrc` 文件即可，格式为 `json`\n\n```json\n{\n    \"GITHUB_TOKEN\": \"\",\n    \"GITEE_TOKEN\": \"\",\n    \"GITHUB_USERNAME\": \"\",\n    \"GITEE_USERNAME\": \"\",\n    \"AFDIAN_USERNAME\": \"\",\n    \"PATREON_USERNAME\": \"\",\n    \"WEIBO_USERNAME\": \"\",\n    \"TWITTER_USERNAME\": \"\",\n    \"NPM_USERNAME\": \"\",\n    \"DOCKER_USERNAME\": \"\",\n    \"DOCKER_PASSWORD\": \"\",\n    \"CONTACT_EMAIL\": \"\",\n    \"NPM_TOKEN\": \"\"\n}\n```\n\nGITHUB_TOKEN：可空，默认值为空。请参考： [创建用于命令行的个人访问令牌](https://help.github.com/cn/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line)\n\nGITEE_TOKEN：可空，默认值为空。请参考：[私人令牌](https://gitee.com/profile/personal_access_tokens)\n\nGITHUB_USERNAME：GitHub 用户名，可空，默认会使用 `git config user.name` 的用户名\n\nGITEE_USERNAME：码云用户名，可空，默认值为空\n\nAFDIAN_USERNAME：爱发电用户名，可空，默认值为空\n\nPATREON_USERNAME：Patreon 用户名，可空，默认值为空\n\nWEIBO_USERNAME：微博用户名，可空，默认值为空\n\nTWITTER_USERNAME：Twitter 用户名，可空，默认值为空\n\nNPM_USERNAME：Npm 用户名，可空，默认会使用 `GITHUB_USERNAME` 的用户名\n\nDOCKER_USERNAME：Docker Hub 用户名，可空，默认会使用**小写的** `GITHUB_USERNAME` 的用户名\n\nDOCKER_PASSWORD：Docker Hub 密码，可空，默认值为空。如果填写，会自动初始化对应的仓库 action secret\n\nCONTACT_EMAIL：联系邮箱，可空，默认值为空\n\nNPM_TOKEN：Npm 令牌，可空，默认值为空。如果填写，会自动初始化对应的仓库 action secret\n\n**如果不使用自动初始化远程仓库功能，可以跳过该配置**\n\n## 开发\n\n```sh\nnpm run dev\n```\n\n## 编译\n\n```sh\nnpm run build\n```\n\n## Lint\n\n```sh\nnpm run lint\n```\n\n## Commit\n\n```sh\nnpm run commit\n```\n\n## 作者\n\n👤 **CaoMeiYouRen**\n\n-   Website: [https://blog.cmyr.ltd/](https://blog.cmyr.ltd/)\n-   GitHub: [@CaoMeiYouRen](https://github.com/CaoMeiYouRen)\n\n## 🤝 贡献\n\n欢迎 贡献、提问或提出新功能！\u003cbr /\u003e如有问题请查看 [issues page](https://github.com/CaoMeiYouRen/cmyr-template-cli/issues). \u003cbr/\u003e贡献或提出新功能可以查看[contributing guide](https://github.com/CaoMeiYouRen/cmyr-template-cli/blob/master/CONTRIBUTING.md).\n\n## 💰 支持\n\n如果觉得这个项目有用的话请给一颗 ⭐️，非常感谢\n\n## 📝 License\n\nCopyright © 2021 [CaoMeiYouRen](https://github.com/CaoMeiYouRen).\u003cbr /\u003e\nThis project is [MIT](https://github.com/CaoMeiYouRen/cmyr-template-cli/blob/master/LICENSE) licensed.\n\n---\n\n_This README was generated with ❤️ by [cmyr-template-cli](https://github.com/CaoMeiYouRen/cmyr-template-cli)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaomeiyouren%2Fcmyr-template-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaomeiyouren%2Fcmyr-template-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaomeiyouren%2Fcmyr-template-cli/lists"}