How eliasvdv/omarchy-webapp-links works
Omarchy Web App Links redirects links opened from an Omarchy Chromium app window into their own app window. The extension identifies eligible tabs opened in a normal browser window, waits for an HTTP(S) URL, and sends it to a native messaging host. The host launches Omarchy’s web-app command; if the host is unavailable, the extension turns the tab into a popup. The extension logic is excerpted; host behavior and several connections are documented in the README, but the host source itself was not sampled.
Main entry points: background.js Tab detection and routing · webapp-links-host Native messaging host
Components 7
Browser extension
- Tab detection and routing
extension/background.js - Popup fallback
extension/background.js
Native launching
- Native messaging host
webapp-links-host
Other components
- Omarchy app window
- Chromium browser
- omarchy-launch-webapp
- Dedicated app window
Connections 7
- Omarchy app window → Chromium browser: opens link
README.md - Chromium browser → Tab detection and routing: reports new tabs
README.md - Tab detection and routing → Native messaging host: sends URL
README.md - Native messaging host → omarchy-launch-webapp: runs command
README.md - omarchy-launch-webapp → Dedicated app window: opens URL
README.md - Tab detection and routing → Popup fallback: creates on failure
README.md - Popup fallback → Chromium browser: opens popup
README.md