tlyboy-starter

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Starter

启动模板

Initialize new projects using Guany's starter templates via
degit
.
通过
degit
工具,基于Guany的启动模板初始化新项目。

Starter Templates

启动模板列表

Create a project from a starter template:
bash
npx degit tlyboy/<template> <project-name>
从启动模板创建项目:
bash
npx degit tlyboy/<template> <project-name>

Frontend

前端

TemplateCommand
Vue
npx degit tlyboy/vue-starter <project-name>
React
npx degit tlyboy/react-starter <project-name>
Nuxt
npx degit tlyboy/nuxt-starter <project-name>
Next.js
npx degit tlyboy/next-starter <project-name>
模板命令
Vue
npx degit tlyboy/vue-starter <project-name>
React
npx degit tlyboy/react-starter <project-name>
Nuxt
npx degit tlyboy/nuxt-starter <project-name>
Next.js
npx degit tlyboy/next-starter <project-name>

UI Library

UI组件库

TemplateCommand
shadcn + Vue
npx degit tlyboy/shadcn-vue-starter <project-name>
shadcn + React
npx degit tlyboy/shadcn-react-starter <project-name>
shadcn + Nuxt
npx degit tlyboy/shadcn-nuxt-starter <project-name>
shadcn + Next.js
npx degit tlyboy/shadcn-next-starter <project-name>
Element Plus + Vue
npx degit tlyboy/element-plus-vue-starter <project-name>
Element Plus + Nuxt
npx degit tlyboy/element-plus-nuxt-starter <project-name>
Vant + Vue
npx degit tlyboy/vant-vue-starter <project-name>
模板命令
shadcn + Vue
npx degit tlyboy/shadcn-vue-starter <project-name>
shadcn + React
npx degit tlyboy/shadcn-react-starter <project-name>
shadcn + Nuxt
npx degit tlyboy/shadcn-nuxt-starter <project-name>
shadcn + Next.js
npx degit tlyboy/shadcn-next-starter <project-name>
Element Plus + Vue
npx degit tlyboy/element-plus-vue-starter <project-name>
Element Plus + Nuxt
npx degit tlyboy/element-plus-nuxt-starter <project-name>
Vant + Vue
npx degit tlyboy/vant-vue-starter <project-name>

Desktop (Tauri)

桌面应用(Tauri)

TemplateCommand
Tauri + Vue
npx degit tlyboy/tauri-vue-starter <project-name>
Tauri + React
npx degit tlyboy/tauri-react-starter <project-name>
Tauri + shadcn + React
npx degit tlyboy/tauri-shadcn-react-starter <project-name>
模板命令
Tauri + Vue
npx degit tlyboy/tauri-vue-starter <project-name>
Tauri + React
npx degit tlyboy/tauri-react-starter <project-name>
Tauri + shadcn + React
npx degit tlyboy/tauri-shadcn-react-starter <project-name>

Backend & Server

后端与服务端

TemplateCommand
Nitro
npx degit tlyboy/nitro-starter <project-name>
Bun
npx degit tlyboy/bun-starter <project-name>
模板命令
Nitro
npx degit tlyboy/nitro-starter <project-name>
Bun
npx degit tlyboy/bun-starter <project-name>

MCP (Model Context Protocol)

MCP(Model Context Protocol)

TemplateCommand
MCP Server
npx degit tlyboy/mcp-server-starter <project-name>
MCP Client
npx degit tlyboy/mcp-client-starter <project-name>
模板命令
MCP Server
npx degit tlyboy/mcp-server-starter <project-name>
MCP Client
npx degit tlyboy/mcp-client-starter <project-name>

Other

其他

TemplateCommand
VitePress
npx degit tlyboy/vitepress-starter <project-name>
Slidev
npx degit tlyboy/slidev-starter <project-name>
uni-app
npx degit tlyboy/uni-starter <project-name>
Docker Compose (Caddy)
npx degit tlyboy/compose-starter/caddy <project-name>
Docker Compose (Caddy + Cloudflare)
npx degit tlyboy/compose-starter/caddy-cf <project-name>
Docker Compose (Caddy + Aliyun)
npx degit tlyboy/compose-starter/caddy-ali <project-name>
Docker Compose (MySQL)
npx degit tlyboy/compose-starter/mysql <project-name>
Docker Compose (Redis)
npx degit tlyboy/compose-starter/redis <project-name>
Docker Compose (Nginx)
npx degit tlyboy/compose-starter/nginx <project-name>
Docker Compose (n8n)
npx degit tlyboy/compose-starter/n8n <project-name>
Docker Compose (Open WebUI)
npx degit tlyboy/compose-starter/open-webui <project-name>
Docker Compose (Open WebUI + CUDA)
npx degit tlyboy/compose-starter/open-webui-cuda <project-name>
Docker Compose (Verdaccio)
npx degit tlyboy/compose-starter/verdaccio <project-name>
模板命令
VitePress
npx degit tlyboy/vitepress-starter <project-name>
Slidev
npx degit tlyboy/slidev-starter <project-name>
uni-app
npx degit tlyboy/uni-starter <project-name>
Docker Compose (Caddy)
npx degit tlyboy/compose-starter/caddy <project-name>
Docker Compose (Caddy + Cloudflare)
npx degit tlyboy/compose-starter/caddy-cf <project-name>
Docker Compose (Caddy + Aliyun)
npx degit tlyboy/compose-starter/caddy-ali <project-name>
Docker Compose (MySQL)
npx degit tlyboy/compose-starter/mysql <project-name>
Docker Compose (Redis)
npx degit tlyboy/compose-starter/redis <project-name>
Docker Compose (Nginx)
npx degit tlyboy/compose-starter/nginx <project-name>
Docker Compose (n8n)
npx degit tlyboy/compose-starter/n8n <project-name>
Docker Compose (Open WebUI)
npx degit tlyboy/compose-starter/open-webui <project-name>
Docker Compose (Open WebUI + CUDA)
npx degit tlyboy/compose-starter/open-webui-cuda <project-name>
Docker Compose (Verdaccio)
npx degit tlyboy/compose-starter/verdaccio <project-name>

Instructions

使用说明

  1. When the user asks to create or initialize a project, determine the project type (or ask).
  2. Suggest the matching
    npx degit tlyboy/<template> <project-name>
    command.
  3. After degit, run
    ni
    to install dependencies.
  4. If the user needs a custom setup that doesn't match any template, use the config references in
    templates/
    (
    .editorconfig
    ,
    .prettierrc
    ) as a baseline.
  1. 当用户要求创建或初始化项目时,先确定项目类型(或询问用户)。
  2. 推荐匹配的
    npx degit tlyboy/<template> <project-name>
    命令。
  3. 使用degit完成模板拉取后,执行
    ni
    命令安装依赖。
  4. 如果用户需要的自定义配置与现有模板不匹配,请以
    templates/
    目录中的配置文件(
    .editorconfig
    .prettierrc
    )为基础进行调整。

Config References

配置参考

The
templates/
directory contains baseline config files and project scaffolding reflecting Guany's preferences:
  • .editorconfig
    - 2-space indent, LF, UTF-8, trim trailing whitespace, insert final newline
  • .prettierrc
    - No semicolons, single quotes
  • .vscode/settings.json
    - Prettier as default formatter, format on save
  • .vscode/extensions.json
    - Recommended extensions (EditorConfig, Prettier)
  • LICENSE
    - MIT License,
    {{year}}
    replaced with current year
  • CODE_OF_CONDUCT.md
    - Contributor Covenant v2.1
  • README.md
    - Project README template (English) with emoji prefix, uses pnpm commands
  • README.zh-CN.md
    - Project README template (Chinese) with emoji prefix, uses pnpm commands
templates/
目录中包含符合Guany个人偏好的基础配置文件与项目搭建框架:
  • .editorconfig
    - 2空格缩进、LF换行、UTF-8编码、移除行尾空格、添加文件末尾换行
  • .prettierrc
    - 不使用分号、单引号
  • .vscode/settings.json
    - 设置Prettier为默认格式化工具,保存时自动格式化
  • .vscode/extensions.json
    - 推荐扩展(EditorConfig、Prettier)
  • LICENSE
    - MIT许可证,
    {{year}}
    会替换为当前年份
  • CODE_OF_CONDUCT.md
    - Contributor Covenant v2.1(贡献者公约)
  • README.md
    - 英文项目README模板,带emoji前缀,使用pnpm命令
  • README.zh-CN.md
    - 中文项目README模板,带emoji前缀,使用pnpm命令