Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion start/install-and-first-task.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ trellis init -u your-name
trellis init -u your-name --template electron-fullstack
```

The interactive picker shows all templates from the [official marketplace](https://github.com/mindfold-ai/Trellis/tree/main/marketplace). Choose one or start with blank specs.
The interactive picker shows all templates from the [official marketplace](https://github.com/mindfold-ai/marketplace). Choose one or start with blank specs.

### Custom Registry (`--registry`)

Expand Down
4 changes: 2 additions & 2 deletions templates/specs-cf-workers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A complete coding convention template for production Cloudflare Workers applicat
<Card
title="Download Template"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/cf-workers-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/cf-workers-fullstack"
>
Download as ZIP and extract to `.trellis/spec/`
</Card>
Expand Down Expand Up @@ -106,7 +106,7 @@ spec/
<Card
title="View on GitHub"
icon="github"
href="https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/cf-workers-fullstack"
href="https://github.com/mindfold-ai/marketplace/tree/main/specs/cf-workers-fullstack"
>
Browse the template source code
</Card>
4 changes: 2 additions & 2 deletions templates/specs-electron.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A complete coding convention template for Electron applications with React front
<Card
title="Download Template"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/electron-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/electron-fullstack"
>
Download as ZIP and extract to `.trellis/spec/`
</Card>
Expand Down Expand Up @@ -87,7 +87,7 @@ spec/
<Card
title="View on GitHub"
icon="github"
href="https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/electron-fullstack"
href="https://github.com/mindfold-ai/marketplace/tree/main/specs/electron-fullstack"
>
Browse the template source code
</Card>
14 changes: 7 additions & 7 deletions templates/specs-index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,29 @@ Spec templates help you quickly set up coding guidelines for your project. Downl

| Template | Stack | Description |
| ------------------------------------------------------------------------------------------------------------------- | ---------- | ---------------------------------------- |
| [Electron + React + TypeScript](https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/electron-fullstack) | Full-stack | Electron desktop app with React frontend |
| [Next.js + oRPC + PostgreSQL](https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/nextjs-fullstack) | Full-stack | Next.js app with oRPC API and PostgreSQL |
| [CF Workers + Hono + Turso](https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/cf-workers-fullstack) | Full-stack | Cloudflare Workers with Hono and Turso |
| [Electron + React + TypeScript](https://github.com/mindfold-ai/marketplace/tree/main/specs/electron-fullstack) | Full-stack | Electron desktop app with React frontend |
| [Next.js + oRPC + PostgreSQL](https://github.com/mindfold-ai/marketplace/tree/main/specs/nextjs-fullstack) | Full-stack | Next.js app with oRPC API and PostgreSQL |
| [CF Workers + Hono + Turso](https://github.com/mindfold-ai/marketplace/tree/main/specs/cf-workers-fullstack) | Full-stack | Cloudflare Workers with Hono and Turso |

<CardGroup cols={3}>
<Card
title="Download Electron Template"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/electron-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/electron-fullstack"
>
Electron + React + TypeScript (50 files)
</Card>
<Card
title="Download Next.js Template"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/nextjs-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/nextjs-fullstack"
>
Next.js + oRPC + PostgreSQL (35 files)
</Card>
<Card
title="Download CF Workers Template"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/cf-workers-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/cf-workers-fullstack"
>
CF Workers + Hono + Turso (38 files)
</Card>
Expand Down Expand Up @@ -124,4 +124,4 @@ You don't have to fill every spec file at once. Start with the areas that matter

## Contributing Templates

Want to share your specs with the community? Create a repository with your templates and open a PR to add it to the [official template registry](https://github.com/mindfold-ai/Trellis/tree/main/marketplace).
Want to share your specs with the community? Create a repository with your templates and open a PR to add it to the [official template registry](https://github.com/mindfold-ai/marketplace).
4 changes: 2 additions & 2 deletions templates/specs-nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A complete coding convention template for production Next.js applications with o
<Card
title="Download Template"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/nextjs-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/nextjs-fullstack"
>
Download as ZIP and extract to `.trellis/spec/`
</Card>
Expand Down Expand Up @@ -106,7 +106,7 @@ spec/
<Card
title="View on GitHub"
icon="github"
href="https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/nextjs-fullstack"
href="https://github.com/mindfold-ai/marketplace/tree/main/specs/nextjs-fullstack"
>
Browse the template source code
</Card>
2 changes: 1 addition & 1 deletion zh/start/install-and-first-task.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ trellis init -u your-name
trellis init -u your-name --template electron-fullstack
```

交互选择器会列出 [官方 marketplace](https://github.com/mindfold-ai/Trellis/tree/main/marketplace) 的所有模板,选一个或者直接从空 spec 开始。
交互选择器会列出 [官方 marketplace](https://github.com/mindfold-ai/marketplace) 的所有模板,选一个或者直接从空 spec 开始。

### 自定义 Registry(`--registry`)

Expand Down
4 changes: 2 additions & 2 deletions zh/templates/specs-cf-workers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: 'Cloudflare Workers 全栈应用 + Hono 框架 + Turso 数据库的
<Card
title="下载模板"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/cf-workers-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/cf-workers-fullstack"
>
下载 ZIP 并解压到 `.trellis/spec/`
</Card>
Expand Down Expand Up @@ -106,7 +106,7 @@ spec/
<Card
title="在 GitHub 上查看"
icon="github"
href="https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/cf-workers-fullstack"
href="https://github.com/mindfold-ai/marketplace/tree/main/specs/cf-workers-fullstack"
>
浏览模板源码
</Card>
4 changes: 2 additions & 2 deletions zh/templates/specs-electron.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: 'Electron 桌面应用 + React 前端的全栈编码规范模板'
<Card
title="下载模板"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/electron-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/electron-fullstack"
>
下载 ZIP 并解压到 `.trellis/spec/`
</Card>
Expand Down Expand Up @@ -87,7 +87,7 @@ spec/
<Card
title="在 GitHub 上查看"
icon="github"
href="https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/electron-fullstack"
href="https://github.com/mindfold-ai/marketplace/tree/main/specs/electron-fullstack"
>
浏览模板源码
</Card>
14 changes: 7 additions & 7 deletions zh/templates/specs-index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,29 @@ Spec 模板帮你快速搭建项目的编码规范。下载、定制、使用。

| 模板 | 技术栈 | 说明 |
| ------------------------------------------------------------------------------------------------------------------- | ------ | ------------------------------ |
| [Electron + React + TypeScript](https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/electron-fullstack) | 全栈 | Electron 桌面应用 + React 前端 |
| [Next.js + oRPC + PostgreSQL](https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/nextjs-fullstack) | 全栈 | Next.js 应用 + oRPC API + PostgreSQL |
| [CF Workers + Hono + Turso](https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/cf-workers-fullstack) | 全栈 | Cloudflare Workers + Hono + Turso |
| [Electron + React + TypeScript](https://github.com/mindfold-ai/marketplace/tree/main/specs/electron-fullstack) | 全栈 | Electron 桌面应用 + React 前端 |
| [Next.js + oRPC + PostgreSQL](https://github.com/mindfold-ai/marketplace/tree/main/specs/nextjs-fullstack) | 全栈 | Next.js 应用 + oRPC API + PostgreSQL |
| [CF Workers + Hono + Turso](https://github.com/mindfold-ai/marketplace/tree/main/specs/cf-workers-fullstack) | 全栈 | Cloudflare Workers + Hono + Turso |

<CardGroup cols={3}>
<Card
title="下载 Electron 模板"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/electron-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/electron-fullstack"
>
Electron + React + TypeScript(50 个文件)
</Card>
<Card
title="下载 Next.js 模板"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/nextjs-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/nextjs-fullstack"
>
Next.js + oRPC + PostgreSQL(35 个文件)
</Card>
<Card
title="下载 CF Workers 模板"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/cf-workers-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/cf-workers-fullstack"
>
CF Workers + Hono + Turso(38 个文件)
</Card>
Expand Down Expand Up @@ -124,4 +124,4 @@ spec/

## 贡献模板

想和社区分享你的 spec?创建一个包含模板的仓库,然后提 PR 将它添加到[官方模板仓库](https://github.com/mindfold-ai/Trellis/tree/main/marketplace)。
想和社区分享你的 spec?创建一个包含模板的仓库,然后提 PR 将它添加到[官方模板仓库](https://github.com/mindfold-ai/marketplace)。
4 changes: 2 additions & 2 deletions zh/templates/specs-nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: 'Next.js 全栈应用 + oRPC API 层 + PostgreSQL 的编码规范
<Card
title="下载模板"
icon="download"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/nextjs-fullstack"
href="https://download-directory.github.io/?url=https://github.com/mindfold-ai/marketplace/tree/main/specs/nextjs-fullstack"
>
下载 ZIP 并解压到 `.trellis/spec/`
</Card>
Expand Down Expand Up @@ -106,7 +106,7 @@ spec/
<Card
title="在 GitHub 上查看"
icon="github"
href="https://github.com/mindfold-ai/Trellis/tree/main/marketplace/specs/nextjs-fullstack"
href="https://github.com/mindfold-ai/marketplace/tree/main/specs/nextjs-fullstack"
>
浏览模板源码
</Card>