Run Obsidian on a Huawei HarmonyOS tablet or foldable without changing any Obsidian code.
Sync Obsidian notes across Huawei devices using the built-in Huawei cloud storage integration.
Reuse the OHsidian engine module as a general Electron compatibility library for porting other Electron apps to HarmonyOS.
Requires the HarmonyOS development environment and a supported Huawei device, README is written in Chinese.
OHsidian is an unofficial port of the Obsidian note-taking application to HarmonyOS, the operating system Huawei uses on its PC, tablet, and foldable devices. Obsidian normally runs on a runtime called Electron, which is designed for desktop operating systems like Windows and macOS. OHsidian works by building a compatibility layer that mimics Electron's API surface, so the unmodified Obsidian application can run on HarmonyOS without any changes to Obsidian's own code. The compatibility layer has three main parts. A C++ native library called libadapter.so handles low-level system connections. Around 50 ArkTS adapters translate HarmonyOS platform APIs into the Electron-style calls Obsidian expects, covering file management, input methods, display settings, notifications, Bluetooth, battery status, biometric authentication, OCR, printing, and more. A JSBind bridge connects the JavaScript side of Obsidian to those adapters. The project is split into two HarmonyOS modules. The engine module contains all the compatibility code, packaged as a reusable static library that other HarmonyOS apps could also use. The application module contains the UI pages and entry points, including a login page for Huawei accounts, a status bar extension, and embedded window views for multi-window operation. Beyond basic compatibility, OHsidian adds Huawei-specific features. Users can log in with a Huawei account in one tap. Notes can be backed up and synced across devices using Huawei's cloud storage service. The app extends into the system status bar and supports multiple windows at once, including floating and embedded window types. There is also an auto-update mechanism: the app checks for a newer Obsidian .asar file, verifies it with RSA-SHA256 and SHA256 checksums, replaces the old package, and reloads without restarting the system-level process. The README is written in Chinese. Target devices are HarmonyOS 6 tablets and 2-in-1 foldable screens.
← hanversionovo on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.