Implement Service Registry LuCI app for unified service management: - RPCD backend aggregating services from HAProxy, Tor, netstat, LXC - One-click publish to clearnet (HAProxy+ACME) and/or Tor hidden service - Static landing page generator with QR codes for all URLs - LuCI dashboard with service grid, quick publish form - CLI tool (secubox-registry) for command-line management - Share buttons for X, Telegram, WhatsApp RPCD methods: list_services, publish_service, unpublish_service, generate_landing_page, get_qr_data, list_categories Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
{
|
|
"luci-app-service-registry": {
|
|
"description": "Grant access to Service Registry",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.service-registry": [
|
|
"list_services",
|
|
"get_service",
|
|
"list_categories",
|
|
"get_qr_data",
|
|
"get_certificate_status",
|
|
"get_landing_config"
|
|
],
|
|
"luci.haproxy": [
|
|
"status",
|
|
"list_vhosts",
|
|
"list_backends",
|
|
"list_certificates"
|
|
],
|
|
"luci.tor-shield": [
|
|
"status",
|
|
"hidden_services"
|
|
],
|
|
"luci.secubox": [
|
|
"get_services"
|
|
]
|
|
},
|
|
"uci": ["service-registry", "haproxy", "tor-shield"]
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.service-registry": [
|
|
"publish_service",
|
|
"unpublish_service",
|
|
"sync_providers",
|
|
"generate_landing_page",
|
|
"update_service",
|
|
"delete_service",
|
|
"save_landing_config"
|
|
],
|
|
"luci.haproxy": [
|
|
"create_vhost",
|
|
"create_backend",
|
|
"create_server",
|
|
"request_certificate",
|
|
"delete_vhost",
|
|
"delete_backend"
|
|
],
|
|
"luci.tor-shield": [
|
|
"add_hidden_service",
|
|
"remove_hidden_service"
|
|
]
|
|
},
|
|
"uci": ["service-registry"],
|
|
"file": {
|
|
"/www/secubox-services.html": ["write"]
|
|
}
|
|
}
|
|
}
|
|
}
|