Proyectos
Ver en GitHub
agentscope-ai/agentscope-spark-design
Acerca de
AgentScope Spark Design es una biblioteca de componentes de interfaz de usuario para Alibaba Cloud Apsara Lab.
Desarrollo web y de aplicacionesCrecimiento de estrellas medido
- in 24h
- +1
- in 7 days
- +3
- in 15 days
- +2
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalAgentScope Spark Design
Alibaba Cloud Feitian Lab UI Component Library - Monorepo Version
简体中文 | English
📚 Documentation
Online Documentation: https://sparkdesign.agentscope.io/
📦 Packages
| Package | Path | Description |
|---|---|---|
| @agentscope-ai/design | packages/spark-design |
Core design system component library, enhanced UI components based on Ant Design |
| @agentscope-ai/chat | packages/spark-chat |
LLM conversation component library for building AI chat experiences |
🚀 Quick Start
Installation
# Using pnpm (recommended)
pnpm install
Development
# Start spark-design dev server
pnpm run start:spark-design
# Start spark-chat dev server
pnpm run start:spark-chat
Build
# Build all packages
pnpm run build
# Build spark-design only
pnpm run build:spark-design
# Build spark-chat only
pnpm run build:spark-chat
# Build documentation
cd packages/spark-design
pnpm run docs:build
# Build GitHub Pages version
pnpm run docs:build:gh
📖 Documentation Deployment
Documentation is configured to automatically deploy to GitHub Pages.
- Quick Guide: DEPLOY_QUICKSTART.md
- Detailed Documentation: GITHUB_PAGES_SETUP.md
Documentation is automatically built and deployed on every push to the main branch.
🏗️ Monorepo Structure
agentscope-spark-design/
├── packages/
│ ├── spark-design/ # Core UI component library
│ │ ├── src/
│ │ │ ├── antd/ # Ant Design theme config
│ │ │ ├── components/ # UI components
│ │ │ │ ├── commonComponents/ # Common components
│ │ │ │ └── mobileComponents/ # Mobile components
│ │ │ ├── hooks/ # Shared hooks
│ │ │ ├── libs/ # Utility functions
│ │ │ └── i18n/ # Internationalization
│ │ ├── docs/ # Documentation source
│ │ └── package.json
│ │
│ └── spark-chat/ # LLM conversation library
│ ├── components/
│ │ ├── AGUI/ # AGUI components
│ │ ├── Bubble/ # Message bubble
│ │ ├── Sender/ # Message sender
│ │ ├── Markdown/ # Markdown renderer
│ │ ├── Mermaid/ # Diagram renderer
│ │ ├── Conversations/ # Conversation list
│ │ ├── ChatAnywhere/ # Ready-to-use chat container
│ │ └── ...
│ ├── docs/ # Documentation source
│ └── package.json
│
├── .github/
│ └── workflows/
│ └── deploy-docs.yml # GitHub Actions config
├── package.json # Root config
└── pnpm-lock.yaml
🔧 Tech Stack
- Build Tool: Father
- Documentation: Dumi
- Package Manager: pnpm
- UI Framework: Ant Design 5
- Styling: Tailwind CSS + antd-style
- Code Quality: ESLint + Stylelint + Prettier + Husky
✨ Core Features
@agentscope-ai/design
- 🎨 Custom theme system based on Ant Design 5
- 🔧 Enhanced UI components (Button, Modal, Select, etc.)
- 📱 Mobile component support
- 🎯 Custom icon system (@agentscope-ai/icons)
- 🌐 Internationalization support
@agentscope-ai/chat
- 🤖 Ready-to-use LLM conversation experience
- 📝 Markdown rendering (with math formulas and code highlighting)
- 🎨 Extensible card component system
- 📊 Mermaid diagram support
- 🔄 Streaming response support
- 🎙️ Voice input support
📝 Development Guidelines
See rule files in .cursor/rules/ directory:
mastergo.mdc- MasterGo data processing rulescommonComponents.mdc- Standard component identification rules
🤝 Contributing
Contributions are welcome! Please ensure:
- Follow existing code style
- Add necessary tests
- Update relevant documentation
📄 License
- spark-design: MIT
- spark-chat: Apache-2.0
🔗 Links
Explorar proyectos relacionados
Cargando…