📄 中文版说明文档
A full-stack cross-platform mobile application imitating WeChat, built with uni-app + Vue 3 + TypeScript.
- Chat System - Real-time messaging with contacts, supporting text and media messages
- Contact Management - Add friends, friend requests, and contact organization
- Discover Feed - Music player, anime browsing, and more entertainment features
- User Profile - Personal information management and settings
- Music Player - Built-in music playback with playlist support
- Game Emulator - Built-in retro game emulator supporting various ROM formats (NES, GB/GBC, GBA, SNES, etc.), powered by EmulatorJS
- AI Shopping Assistant - Intelligent product diagnosis tool that helps users make informed purchase decisions through soul-searching questions and weighted analysis
- Cross-Platform - Runs on H5, Android, iOS, and other platforms
- Framework: uni-app (Vue 3)
- Language: TypeScript
- State Management: Composition API with reactive models
- Styling: SCSS/uni.scss
- Cloud Services: uniCloud (DCloud)
- Authentication: JWT-based auth system
- Database: JSON-based database with schema validation
Vheart-Chat/
├── common/ # Common components and utilities
│ ├── tabbar/ # Tab bar component
│ └── utils/ # Helper functions
├── core/ # Core business logic
│ ├── bean/ # Data models
│ ├── data/ # Data definitions
│ ├── model/ # Business models (use-xxx-model.ts)
│ ├── net/ # Network API
│ └── services/ # Services
├── pages/ # Page components
│ ├── chat/ # Chat list page
│ ├── chat-detail/ # Chat detail page
│ ├── contact/ # Contacts page
│ ├── discover/ # Discover page
│ ├── profile/ # Profile page
│ ├── music-index/ # Music player
│ ├── player/ # Full-screen player
│ ├── emulatorJs/ # Retro game emulator
│ ├── DoNotBuy-AnAssistant/ # AI shopping assistant
│ └── ...
├── static/ # Static resources
├── uniCloud-alipay/ # Cloud functions
│ └── cloudfunctions/ # Backend API functions
│ ├── Api-Auth/ # Authentication API
│ ├── Api-Vheart-Chat/ # Chat API
│ └── ...
└── uni_modules/ # Uni-app plugins
- Node.js 16+
- HBuilderX (recommended) or VS Code with uni-app extension
- npm or yarn
# Clone the repository
git clone https://github.com/your-username/Vheart-Chat.git
# Install dependencies
npm installOpen the project in HBuilderX and run it on your desired platform:
# H5
npm run dev:h5
# Android
npm run dev:app-android
# iOS
npm run dev:app-ios# Build for Android
npm run build:app-android
# Build for iOS
npm run build:app-ios
# Build for H5
npm run build:h5Key configurations in manifest.json:
appid: Application identifierversionName/versionCode: Version informationmodules: Required native modules (Push, etc.)distribute: Publishing configurations for Android/iOS
Deploy cloud functions to uniCloud before running the app:
- Open
uniCloud-alipaydirectory in HBuilderX - Right-click on
cloudfunctionsfolder - Select "Deploy to Cloud Space"
| Chat | Contacts | Discover | Profile |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.



