How sabanvurgun03-ui/kediray works
KediRay is an OpenWrt VPN manager combining a LuCI interface with a router-side CLI and runtime. The user configures VPN engines, servers, routing rules, and traffic controls in LuCI; the CLI and service files provide the router-side operations. Separate branches provide traffic reporting, optional dashboard and theme features, AW1K integration, and an opt-in anonymous usage counter. README statements document several capabilities, but the sampled source does not reveal most UI-to-runtime wiring, so those links are omitted.
Main entry points: bin/kediray KediRay CLI · ayir.js VPN separation · worker.js Usage counter API · init.d/kediray Service lifecycle
Components 22
LuCI Interface
- Control panel
luci-app-kediray/htdocs/luci-static/resources/view/kediray/dash.js - Status
luci-app-kediray/htdocs/luci-static/resources/view/kediray/status.js - VPN separation
luci-app-kediray/htdocs/luci-static/resources/view/kediray/ayir.js - Core management
luci-app-kediray/htdocs/luci-static/resources/view/kediray/cores.js - Settings
luci-app-kediray/htdocs/luci-static/resources/view/kediray/settings.js - Traffic view
luci-app-kediray/htdocs/luci-static/resources/view/kediray/trafik.js - Logs
luci-app-kediray/htdocs/luci-static/resources/view/kediray/log.js - About and backup
luci-app-kediray/htdocs/luci-static/resources/view/kediray/about.js - Translations
luci-app-kediray/htdocs/luci-static/resources/view/kediray/i18n.js
VPN Runtime
- KediRay CLI
package/kediray/files/usr/bin/kediray - Service lifecycle
package/kediray/files/etc/init.d/kediray - VPN configuration
package/kediray/files/etc/config/kediray - Server nodes
package/kediray/files/usr/share/kediray/node.uc - Network hooks
package/kediray/files/etc/hotplug.d/firewall/99-kediray
Traffic and Insights
- Traffic accounting
package/kediray/files/usr/share/kediray/traffic.uc - Usage counter API
server/stats-worker/worker.js
Themes and Dashboard
- Kedi LuCI theme
luci-theme-kedi/htdocs/luci-static/kedi/kedi.css - MetaCubeXD bundle
dashboard/metacubexd.tgz
External Integrations
- Cloudflare KV
- VPN engines
- AW1K modem tools
package/aw1k-panel/files/usr/bin/aw1k-usage
Other components
- Router operator
Connections 14
- Router operator → Control panel: uses
README.md - Router operator → VPN separation: configures routing
README.md - Router operator → Core management: manages engines
README.md - Router operator → Traffic view: views usage
README.md - Router operator → About and backup: backs up
README.md - VPN separation → KediRay CLI: executes commands
luci-app-kediray/htdocs/luci-static/resources/view/kediray/ayir.js - KediRay CLI → VPN engines: starts and stops
- Service lifecycle → KediRay CLI: starts service
- Router operator → KediRay CLI: runs commands
README.md - Router operator → Kedi LuCI theme: selects appearance
README.md - Router operator → MetaCubeXD bundle: opens dashboard
README.md - Usage counter API → Cloudflare KV: reads and writes
server/stats-worker/worker.js - Router operator → Usage counter API: opts into reporting
README.md - Router operator → AW1K modem tools: uses companion app
README.md