Skip to content

Commit 97b7984

Browse files
babydogbabydog
authored andcommitted
feat: initial yuque-ecosystem website
- React 18 + TypeScript + Vite - Hero section with animated gradient background - Three-layer architecture cards (MCP Server, Skills, Plugin) - 6 Skills showcase cards with tool tags - Quick start guide with code blocks - GitHub Actions workflow for Pages deployment - Responsive design, dark theme, Yuque green palette
0 parents  commit 97b7984

25 files changed

Lines changed: 4380 additions & 0 deletions

.github/workflows/deploy.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
25+
cache: npm
26+
- run: npm ci
27+
- run: npm run build
28+
- uses: actions/upload-pages-artifact@v3
29+
with:
30+
path: dist
31+
32+
deploy:
33+
environment:
34+
name: github-pages
35+
url: ${{ steps.deployment.outputs.page_url }}
36+
runs-on: ubuntu-latest
37+
needs: build
38+
steps:
39+
- id: deployment
40+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Yuque AI Ecosystem
2+
3+
> MCP Server, Skills & Plugin for Yuque (语雀)
4+
5+
让 AI 助手无缝连接语雀,释放知识的力量。
6+
7+
## 🏗 Architecture
8+
9+
- **MCP Server** — 底层连接层,25 个标准化 Tools
10+
- **Skills** — 场景化工作流,6 个精选方案
11+
- **Plugin** — 编辑器深度集成(Coming Soon)
12+
13+
## 🚀 Quick Start
14+
15+
```bash
16+
# 1. 获取语雀 Token
17+
# https://www.yuque.com/settings/tokens
18+
19+
# 2. 添加 MCP Server
20+
claude mcp add yuque-mcp -- npx -y yuque-mcp --token=YOUR_TOKEN
21+
22+
# 3. 开始使用!
23+
```
24+
25+
## 📦 Links
26+
27+
- [npm: yuque-mcp](https://www.npmjs.com/package/yuque-mcp)
28+
- [Website](https://chen201724.github.io/yuque-ecosystem/)
29+
30+
## License
31+
32+
MIT © chen201724

eslint.config.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import js from '@eslint/js'
2+
import globals from 'globals'
3+
import reactHooks from 'eslint-plugin-react-hooks'
4+
import reactRefresh from 'eslint-plugin-react-refresh'
5+
import tseslint from 'typescript-eslint'
6+
import { defineConfig, globalIgnores } from 'eslint/config'
7+
8+
export default defineConfig([
9+
globalIgnores(['dist']),
10+
{
11+
files: ['**/*.{ts,tsx}'],
12+
extends: [
13+
js.configs.recommended,
14+
tseslint.configs.recommended,
15+
reactHooks.configs.flat.recommended,
16+
reactRefresh.configs.vite,
17+
],
18+
languageOptions: {
19+
ecmaVersion: 2020,
20+
globals: globals.browser,
21+
},
22+
},
23+
])

index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!doctype html>
2+
<html lang="zh-CN">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/yuque-ecosystem/favicon.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<meta name="description" content="Yuque AI Ecosystem — MCP Server, Skills & Plugin for Yuque (语雀)" />
8+
<title>Yuque AI Ecosystem</title>
9+
<link rel="preconnect" href="https://fonts.googleapis.com" />
10+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
11+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
12+
</head>
13+
<body>
14+
<div id="root"></div>
15+
<script type="module" src="/src/main.tsx"></script>
16+
</body>
17+
</html>

0 commit comments

Comments
 (0)