How kapil-goel952/kapilos works
KapilOS is presented as a custom Linux distribution, while the supplied runtime source chiefly implements a graphical desktop shell and launchable applications. The main workflow is desktop UI initialization and drawing, user launch selection, application-manager dispatch, and rendering of open apps. The tree also shows calculator, terminal, browser, file, settings, and code-editor capabilities. Evidence is limited to the README, tree, and sampled/indexed files; unsampled subsystem links are omitted or marked unverified rather than treated as inspected.
Main entry points: ApplicationManager.cpp Application manager · UIManager.cpp UI manager · Application.cpp Application lifecycle · SidebarUI.h Sidebar launcher
Components 25
Desktop Shell
- UI manager
Source/UI/UIManager/UIManager.cpp - Desktop surface
Source/UI/Desktop/DesktopUI.h - Top bar
Source/UI/TopBar/TopBarUI.h - Sidebar launcher
Source/UI/Sidebar/SidebarUI.h - Dock launcher
Source/UI/Dock/DockUI.h - Desktop widgets
Source/UI/Widgets - Layout and style
Source/UI/Layout/LayoutManager.cpp
Applications
- Application manager
Source/ApplicationManager/ApplicationManager.cpp - Application lifecycle
Source/Applications/Application/Application.cpp - File explorer
Source/Applications/FileExplorer/FileExplorerApp.cpp - Settings app
Source/Applications/Settings/SettingsApp.cpp - Browser app
Source/Applications/Browser/BrowserApp.cpp - Terminal app
Source/Applications/Terminal/TerminalApp.cpp - Calculator app
Source/Applications/Calculator/CalculatorApp.cpp - Code editor
Source/Applications/CodeEditor/CodeEditorApp.cpp
Runtime Services
- Browser engine
Source/Core/BrowserEngine/BrowserEngine.cpp - Calculator engine
Source/Core/CalculatorEngine/CalculatorEngine.cpp - Terminal engine
Source/Core/TerminalEngine/TerminalEngine.cpp - Asset manager
Source/AssetManager/AssetManager.cpp - Icon manager
Source/UI/Icon/IconManager.cpp - Theme manager
Source/UI/Theme/ThemeManager.cpp
System Platform
- Boot manager
Source/Boot/BootManager.cpp - Graphics runtime
Source/Graphics/Graphics.cpp - Linux platform
Other components
- Desktop user
Connections 25
- Desktop user → UI manager: uses desktop
Source/UI/UIManager/UIManager.cpp - UI manager → Layout and style: updates layout
Source/UI/UIManager/UIManager.cpp - UI manager → Desktop surface: draws
Source/UI/UIManager/UIManager.cpp - UI manager → Top bar: draws
Source/UI/UIManager/UIManager.cpp - UI manager → Sidebar launcher: draws
Source/UI/UIManager/UIManager.cpp - UI manager → Dock launcher: draws
Source/UI/UIManager/UIManager.cpp - UI manager → Desktop widgets: draws
Source/UI/UIManager/UIManager.cpp - Sidebar launcher → Application manager: launches apps
- Dock launcher → Application manager: launches apps
- UI manager → Application manager: draws open apps
Source/UI/UIManager/UIManager.cpp - Application manager → File explorer: opens and draws
Source/ApplicationManager/ApplicationManager.cpp - Application manager → Settings app: opens and draws
Source/ApplicationManager/ApplicationManager.cpp - Application manager → Browser app: opens and draws
Source/ApplicationManager/ApplicationManager.cpp - Application manager → Terminal app: opens and draws
Source/ApplicationManager/ApplicationManager.cpp - Application manager → Calculator app: opens and draws
Source/ApplicationManager/ApplicationManager.cpp - Application manager → Code editor: opens and draws
Source/ApplicationManager/ApplicationManager.cpp - Application lifecycle → File explorer: provides lifecycle
- Application lifecycle → Settings app: provides lifecycle
- Application lifecycle → Browser app: provides lifecycle
- Application lifecycle → Terminal app: provides lifecycle
- Application lifecycle → Calculator app: provides lifecycle
- Application lifecycle → Code editor: provides lifecycle
- Icon manager → Asset manager: uses assets
- Boot manager → Linux platform: starts system
- Graphics runtime → Linux platform: renders on