# Qiming Mobile [δΈ­ζ–‡ζ–‡ζ‘£](./README_CN.md) A cross-platform AI agent mobile application built with UniApp X, supporting H5 and WeChat Mini Program. ## Features - πŸ€– **AI Agent Platform** - Browse, search, and interact with AI agents - πŸ’¬ **Intelligent Chat** - Real-time streaming conversations with AI agents - πŸ“ **Markdown Rendering** - Rich text display with code highlighting and LaTeX support - πŸŽ™οΈ **Voice Input** - Voice-to-text input capability - πŸ“ **File Preview** - Support for various document formats (DOCX, XLSX, PPTX, PDF, images) - πŸ” **Multiple Login Methods** - Phone, WeChat authorization, and more ## Tech Stack - **Framework**: [UniApp X](https://uniapp.dcloud.io/) (Vue 3) - **Build Tool**: Vite - **Languages**: UTS (UniApp TypeScript), Vue - **Platforms**: H5, WeChat Mini Program ## Project Structure ``` β”œβ”€β”€ pages/ # Main pages β”‚ β”œβ”€β”€ index/ # Home page β”‚ β”œβ”€β”€ agent-list/ # Agent list β”‚ └── ... β”œβ”€β”€ subpackages/ # Subpackages (lazy loading) β”‚ └── pages/ β”‚ β”œβ”€β”€ chat-conversation-component/ # Chat interface β”‚ β”œβ”€β”€ agent-detail/ # Agent details β”‚ β”œβ”€β”€ login/ # Login pages β”‚ └── ... β”œβ”€β”€ components/ # Reusable components β”‚ β”œβ”€β”€ markdown-renderer/ β”‚ β”œβ”€β”€ voice-recorder-button/ β”‚ └── ... β”œβ”€β”€ utils/ # Utility functions β”œβ”€β”€ types/ # TypeScript definitions β”œβ”€β”€ static/ # Static assets └── docs/ # Documentation ``` ## Getting Started ### Prerequisites - [Node.js](https://nodejs.org/) >= 16 - [HBuilderX](https://www.dcloud.io/hbuilderx.html) (recommended for UniApp X development) - [WeChat DevTools](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html) (for Mini Program) ### Installation ```bash # Clone the repository git clone https://github.com/qiming-ai/qiming-mobile.git # Install dependencies pnpm install # or yarn install ``` ### Development #### H5 Development Run the H5 development server via HBuilderX: 1. Open the project in HBuilderX 2. Click "Run" β†’ "Run to Browser" β†’ "Chrome" The H5 version is deployed at `{domain}/m/` path. #### WeChat Mini Program 1. Run to Mini Program via HBuilderX: - Click "Run" β†’ "Run to Mini Program Simulator" β†’ "WeChat DevTools" 2. Open the generated project in WeChat DevTools ### Build #### H5 Production Build Via HBuilderX: "Release" β†’ "Website-H5" #### WeChat Mini Program Build Via HBuilderX: "Release" β†’ "Mini Program-WeChat" ## Configuration - `manifest.json` - App configuration, platform-specific settings - `pages.json` - Page routing and navigation configuration - `platformConfig.json` - Platform-specific configurations ## Documentation Additional documentation can be found in the [docs](./docs) directory. ## License This project is licensed under the [Apache License 2.0](./LICENSE).