| title | AI Guru Knowledge Base Frontend | ||||
|---|---|---|---|---|---|
| category | web | ||||
| tags |
|
||||
| summary | A modern, high-performance knowledge base frontend built to CNCF open-source standards. | ||||
| created | 2026-05-31 | ||||
| updated | 2026-05-31 |
A modern, high-performance knowledge base frontend built to CNCF open-source standards.
- 📚 Knowledge Base: Browse and search 290+ AI documentation files
- 🔍 Full-Text Search: Powered by Fuse.js with real-time results
- 🌓 Dark Mode: Automatic theme switching with system preference
- 📱 Responsive: Mobile-first design, works on all devices
- 🌍 i18n: Multi-language support (English, Chinese)
- ⚡ Performance: Optimized with Vite, lazy loading, code splitting
- ♿ Accessible: WCAG 2.1 AA compliant
- 🎨 Modern UI: Built with shadcn/ui and Tailwind CSS
web/
├── src/
│ ├── components/ # Reusable UI components
│ ├── pages/ # Page components
│ ├── hooks/ # Custom React hooks
│ ├── stores/ # Zustand state management
│ ├── services/ # API and data services
│ ├── utils/ # Utility functions
│ ├── types/ # TypeScript types
│ ├── i18n/ # Internationalization
│ └── styles/ # Global styles
├── console/ # Management console sub-project
├── public/ # Static assets
└── docs/ # Project documentation
| Category | Technology |
|---|---|
| Framework | React 18 + TypeScript |
| Build Tool | Vite 5 |
| Styling | Tailwind CSS 3.4 |
| Components | shadcn/ui |
| State | Zustand |
| Data Fetching | React Query |
| Routing | React Router 6 |
| Search | Fuse.js |
| Markdown | React Markdown |
| Testing | Vitest + React Testing Library |
| Linting | ESLint + Prettier |
- Node.js 18+
- pnpm 8+ (recommended) or npm 10+
# Clone the repository
git clone https://github.com/your-org/ai-guru-knowledge-base.git
cd ai-guru-knowledge-base/Web
# Install dependencies
pnpm install
# or: npm install
# Start development server (port 3055)
pnpm dev
# or: npm run dev
# or use the start script: ./start.sh (macOS/Linux) or start.bat (Windows)Access the application:
- Main App: http://localhost:3055
- Console: http://localhost:3056 (run from
console/directory)
# Build for production
pnpm build
# Preview production build (port 3055)
pnpm preview# Run unit tests
pnpm test
# Run tests with coverage
pnpm test:coverage
# Run E2E tests
pnpm test:e2e- Architecture
- Contributing
- Troubleshooting - Solutions for common issues
- Changelog
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
- shadcn/ui for the beautiful component library
- Tailwind CSS for the utility-first CSS framework
- Vite for the next-generation frontend tooling
- [[前端应用/.trae/documents/CloudMaster应用全面修复计划]] — CloudMaster应用全面修复计划 (共享: backend, frontend, fullstack, web)
- [[前端应用/CHANGELOG]] — Changelog (共享: backend, frontend, fullstack, web)
- [[前端应用/CONTRIBUTING]] — 贡献指南 (共享: backend, frontend, fullstack, web)
- [[前端应用/TROUBLESHOOTING]] — Troubleshooting Guide (共享: backend, frontend, fullstack, web)
- [[前端应用/docs/architecture]] — Architecture Documentation
- [[前端应用/README.md|README_for_dummy]]