How haris16-code/kryonos works
KryonOS is an embedded GUI operating system and JavaScript app platform for ESP32 boards. The user-facing flow begins at the device launcher, where users can open installed apps or browse and install apps; the kernel and JavaScript runtime provide execution, while filesystem and hardware services support apps. Separate product branches provide settings, cloud and AI features, web-based file management, and firmware updates. The boot excerpt shows initialization and UI dispatch; some feature relationships are documented in the README, but their internal call paths were not sampled.
Main entry points: HarixKernel.cpp Harix Kernel · WiFiManager.cpp Wi-Fi Manager · FileSystem.cpp File System · JSBindings.cpp JavaScript APIs
Components 22
Device Interface
- Launcher
src/Launcher/LauncherUI.cpp - App Store
src/Launcher/AppStoreUI.cpp - App Installer
src/Launcher/InstallerUI.cpp - Settings
src/Settings/SettingsUI.cpp - Help Center
src/Launcher/HelpCenterUI.cpp - Cloud UI
src/Kernel/Services/KryonCloud/KryonCloudUI.cpp
App Runtime
- Harix Kernel
src/Kernel/Core/HarixKernel.cpp - JavaScript APIs
src/Runtime/JSBindings.cpp - Duktape Engine
src/Runtime/duktape.c - Board HAL
src/Hal/Boards/Board.h - App HTTP Server
src/Runtime/HTTPServerEngine.cpp
OS Services
- File System
src/FileSystem/FileSystem.cpp - Crypto Engine
src/Hal/Crypto/CryptoEngine.cpp - Wi-Fi Manager
src/Kernel/WiFiManager.cpp - Time Manager
src/Kernel/TimeManager.cpp - Notifications
src/Kernel/Services/NotificationManager.cpp
Network Features
- Kryon Cloud
src/Kernel/Services/KryonCloud/KryonCloudManager.cpp - OTA Updater
src/Kernel/Services/OTA/OTAManager.cpp - Web Management
src/WebManager/WebManager.cpp - Web File Manager
src/WebManager/filemanager_html.h
Other components
- Device User
- Cloud Services
Connections 24
- Device User → Launcher: opens apps
README.md - Launcher → App Store: browses apps
- App Store → App Installer: installs apps
- App Installer → Harix Kernel: registers app
src/Launcher/InstallerUI.cpp - Harix Kernel → Duktape Engine: initializes engine
- Harix Kernel → JavaScript APIs: exposes APIs
- JavaScript APIs → Board HAL: controls hardware
README.md - JavaScript APIs → File System: accesses storage
README.md - Device User → Settings: configures device
- Device User → Help Center: opens help
- Device User → Cloud UI: opens cloud
- Cloud UI → Kryon Cloud: uses services
- Kryon Cloud → Cloud Services: connects to
README.md - Settings → Wi-Fi Manager: manages Wi-Fi
src/Settings/SettingsUI.cpp - Wi-Fi Manager → Time Manager: syncs clock
src/Kernel/WiFiManager.cpp - Wi-Fi Manager → File System: persists credentials
src/Kernel/WiFiManager.cpp - Wi-Fi Manager → Crypto Engine: decrypts credentials
src/Kernel/WiFiManager.cpp - Device User → OTA Updater: updates firmware
README.md - OTA Updater → Cloud Services: fetches updates
README.md - Device User → Web Management: manages files
README.md - Web Management → Web File Manager: serves interface
src/WebManager/WebManager.cpp - Web Management → File System: reads and writes
src/WebManager/WebManager.cpp - App HTTP Server → File System: serves static files
src/Runtime/HTTPServerEngine.cpp - Harix Kernel → Notifications: renders alerts