Friday, June 05, 2026

OpenHarmony

 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:

  • Project introduction and governance information 

  • Official documentation for developers 

  • News and announcements about the project 

  • 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

ResourceURL
Official Documentationhttps://www.openharmony.cn/docs/ 
Developer Documentationhttps://docs.openharmony.cn/ 
Source Code (Main Repo)https://gitee.com/openharmony 
Online Discussion Forumhttps://zulip.openharmony.cn/ 

🌐 Main Websites & Repositories

ResourceURLDescription
Source Code Repositoryhttps://openharmony.gitee.comPrimary location for all OpenHarmony open-source code repositories.
Main Project Pagehttp://www.openharmony.cnOfficial project homepage (Chinese).
Official Documentationhttps://docs.openharmony.cnProject documentation (Chinese).
DevEco Marketplacehttps://repo.harmonyos.comFor 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 the repo tool. You should also register an account on Gitee and configure an SSH key for secure access.

  • Latest Development Code ("Master" branch):

    bash
    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:
    Replace master with the specific version branch you need. For example, to get OpenHarmony 5.0:

    bash
    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-cli to 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.gz files) and their checksums in the official documentation.

No comments: