How coding-sparrow/omarchy-cloudflare-warp works
This Omarchy shell plugin provides a bar panel for installing, registering, monitoring, and controlling Cloudflare WARP. The documented flow is: open the bar panel, collect CLI state, transform it for display, then run user-requested actions. The README assigns polling and actions to Service.qml, presentation to Widget.qml, state collection to scripts/state.sh, and state interpretation to Model.js. Other capability links reflect README descriptions; unsampled implementation details are not inferred.
Main entry points: Widget.qml Panel view · Service.qml Panel service · state.sh State collector · warp-setup Install and start
Components 20
Bar panel
- Bar icon
Widget.qml - Panel view
Widget.qml - Keyboard controls
Widget.qml
State and actions
- Panel service
Service.qml - State collector
scripts/state.sh - State model
Model.js
WARP lifecycle
- Install and start
scripts/warp-setup - Team or free sign-in
Service.qml - Device management
Service.qml
Connection controls
- Connection toggle
Service.qml - Mode selection
Service.qml - Virtual networks
Service.qml - Local access
Service.qml - Split tunnel routes
Service.qml - Connection details
Widget.qml
Other components
- User
- warp-cli
- warp-svc
- AUR package
- Login browser
Connections 26
- User → Bar icon: opens or toggles
README.md - User → Panel view: uses
README.md - Bar icon → Panel view: opens panel
README.md - User → Keyboard controls: navigates
README.md - Panel service → State collector: polls state
README.md - State collector → warp-cli: collects JSON
README.md - State collector → State model: passes JSON
README.md - State model → Panel view: provides display values
README.md - Panel view → Connection toggle: offers controls
README.md - Panel view → Team or free sign-in: offers sign-in
README.md - Panel view → Mode selection: offers mode choice
README.md - Panel view → Virtual networks: offers network choice
README.md - Panel view → Local access: offers access toggle
README.md - Panel view → Split tunnel routes: shows and copies
README.md - Panel view → Connection details: shows status
README.md - Panel view → Device management: offers management
README.md - Panel service → Connection toggle: runs actions
README.md - Panel service → Team or free sign-in: runs actions
README.md - Panel service → Mode selection: runs actions
README.md - Panel service → Virtual networks: runs actions
README.md - Panel service → Local access: runs actions
README.md - Panel service → Device management: runs actions
README.md - Install and start → AUR package: installs package
README.md - Install and start → warp-svc: enables service
README.md - Team or free sign-in → Login browser: finishes login
README.md - Panel service → Install and start: installation action