secubox-openwrt/package/secubox/luci-app-secubox-p2p/root/usr/share/luci/menu.d/luci-app-secubox-p2p.json
CyberMind-FR a9130715e9 feat(p2p): Add SecuBox Factory unified dashboard with signed Merkle snapshots
Implement mesh-distributed, cryptographically-validated control center:

- Add factory.sh library with Ed25519 signing via signify-openbsd
- Add Merkle tree calculation for /etc/config validation
- Add CGI endpoints: dashboard, tools, run, snapshot, pubkey
- Add KISS Web UI (~280 lines vanilla JS, inline CSS, zero deps)
- Add gossip-based 3-peer fanout for snapshot synchronization
- Add offline operations queue with replay on reconnect
- Add LuCI iframe integration under MirrorBox > Factory tab
- Configure uhttpd alias for /factory/ on port 7331
- Bump secubox-p2p version to 0.4.0

Factory UI accessible at http://<device>:7331/factory/

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 08:03:54 +01:00

78 lines
1.4 KiB
JSON

{
"admin/secubox/mirrorbox": {
"title": "MirrorBox",
"order": 15,
"action": {
"type": "view",
"path": "secubox-p2p/overview"
},
"depends": {
"acl": ["luci-app-secubox-p2p"]
}
},
"admin/secubox/mirrorbox/overview": {
"title": "Overview",
"order": 10,
"action": {
"type": "view",
"path": "secubox-p2p/overview"
}
},
"admin/secubox/mirrorbox/hub": {
"title": "P2P Hub",
"order": 20,
"action": {
"type": "view",
"path": "secubox-p2p/hub"
}
},
"admin/secubox/mirrorbox/peers": {
"title": "Peers",
"order": 30,
"action": {
"type": "view",
"path": "secubox-p2p/peers"
}
},
"admin/secubox/mirrorbox/services": {
"title": "Services",
"order": 40,
"action": {
"type": "view",
"path": "secubox-p2p/services"
}
},
"admin/secubox/mirrorbox/profiles": {
"title": "Profiles",
"order": 50,
"action": {
"type": "view",
"path": "secubox-p2p/profiles"
}
},
"admin/secubox/mirrorbox/mesh": {
"title": "Mesh Network",
"order": 60,
"action": {
"type": "view",
"path": "secubox-p2p/mesh"
}
},
"admin/secubox/mirrorbox/factory": {
"title": "Factory",
"order": 70,
"action": {
"type": "view",
"path": "secubox-p2p/factory"
}
},
"admin/secubox/mirrorbox/settings": {
"title": "Settings",
"order": 90,
"action": {
"type": "view",
"path": "secubox-p2p/settings"
}
}
}