https://en.wikipedia.org/wiki/OpenHarmony
The main official website for OpenHarmony is https://www.openharmony.cn/ .
This is the central hub for the open-source project, where you can find:
Source code repository links (the code is hosted on Gitee at https://gitee.com/openharmony)
🌐 For International Users
If you are located outside of mainland China, the project also maintains an international website: https://www.openharmony.io/ .
📚 Other Key Resources
| Resource | URL |
|---|---|
| Official Documentation | https://www.openharmony.cn/docs/ |
| Developer Documentation | https://docs.openharmony.cn/ |
| Source Code (Main Repo) | https://gitee.com/openharmony |
| Online Discussion Forum | https://zulip.openharmony.cn/ |
🌐 Main Websites & Repositories
| Resource | URL | Description |
|---|---|---|
| Source Code Repository | https://openharmony.gitee.com | Primary location for all OpenHarmony open-source code repositories. |
| Main Project Page | http://www.openharmony.cn | Official project homepage (Chinese). |
| Official Documentation | https://docs.openharmony.cn | Project documentation (Chinese). |
| DevEco Marketplace | https://repo.harmonyos.com | For obtaining open-source distributions and customizing bundles. |
📥 Source Code Download Methods
There are three primary methods to obtain the code, depending on your needs.
1. Using repo & git from Gitee (Recommended)
This is the standard method for developers and those who want to work with the latest or most stable codebase.
Prerequisites: You need to install
git,git-lfs, and therepotool. You should also register an account on Gitee and configure an SSH key for secure access.Latest Development Code ("Master" branch):
repo init -u https://gitee.com/openharmony/manifest.git -b master --no-repo-verify repo sync -c repo forall -c 'git lfs pull'
(To use SSH, replace the URL with
git@gitee.com:openharmony/manifest.git)Stable Release Version:
Replacemasterwith the specific version branch you need. For example, to get OpenHarmony 5.0:repo init -u https://gitee.com/openharmony/manifest.git -b OpenHarmony-5.0-Release --no-repo-verify repo sync -c repo forall -c 'git lfs pull'
2. Download via DevEco Marketplace
Best for: Beginners or those who want a customized distribution by selecting specific components.
How it works: You can browse and customize distributions on the DevEco Marketplace website. After making your selections, the system generates a bundle list, and you use a command-line tool called
hpm-clito download and install the bundles on your local machine.
3. Download Mirror Packages (Simple) 📦
Best for: Quickly obtaining an older, stable version via a direct compressed file.
Details: This method offers fast downloads from mirror sites but usually only for specific Long-Term Support (LTS) releases (like version 3.0). You can find the download links (
.tar.gzfiles) and their checksums in the official documentation.
No comments:
Post a Comment