Pocket AI is developed using the React Native framework, providing a complete developer access solution:
Development Environment Requirements
- Base toolchain: Node.js ≥18.0 + Yarn package manager
- Platform SDK: Android Studio (Android) / Xcode (iOS macOS only)
- Development Tools: React Native CLI + Metro Packaging Service
Project Build Process
- Source code cloning:
git clone https://github.com/yzfly/pocketpal-ai-zh.git
- Switch the Chinese branch:
git checkout chinese
- Dependent Installation:
yarn install
- Start debugging: Android
yarn android
iOSyarn ios
Contribution Guidelines
The project welcomes the following types of contributions:
1. Model optimization: quantitative compression of existing models to improve operational efficiency
2. Functional expansion: development of voice input/output modules
3. Multi-language support: improve localization of other languages
4. Test feedback: submission of performance test reports for different devices
Developers can submit PRs via GitHub and are advised to read the coding specifications in the project wiki first.
This answer comes from the articlePocket AI: offline AI assistant running in your phone, adapted for DeepSeek-R1 (5.37GB)The