Central UI Dashboard for Decentralized Internet SDK
npm install decentralized-internet-uibash
cd ui-dashboard
npm install
`
Usage
$3
`bash
npm start
`
The dashboard will launch in Electron and the backend server will start on port 9000.
$3
`bash
npm run web
`
Access at: http://localhost:8080
Supported Components
The dashboard can manage the following SDK components:
- DecentG - Hybrid mesh network with 5G core integration
- ClusterPost - Distributed computing cluster management
- GridBee - Web-based grid computing framework
- P2Talk - P2P communication (GSM alternative)
- LNRChain - Blockchain implementation
- BigchainDB - Decentralized database
Architecture
`
ui-dashboard/
βββ main.js # Electron main process
βββ preload.js # Electron preload script
βββ package.json # Dependencies
βββ public/ # Frontend assets
β βββ index.html # Main HTML
β βββ styles.css # Styling
β βββ app.js # Frontend logic
βββ src/
βββ controllers/
β βββ sdk-controller.js # Component management
βββ services/
βββ monitoring-service.js # Metrics collection
βββ cloud-agents-service.js # AI automation
`
API Endpoints
$3
Get status of all components
$3
Start a specific component
$3
Stop a specific component
$3
Get logs for a component
$3
Get real-time metrics
$3
Execute an AI automation task
Cloud Agents Tasks
- Network Optimization - AI-powered network configuration optimization
- Peer Discovery - Intelligent peer discovery and analysis
- Route Analysis - Routing efficiency analysis and recommendations
- Deployment Automation - Automated deployment planning
- Resource Allocation - Optimal resource allocation strategies
- AI Inference - General AI-powered analysis
Configuration
Backend port can be changed via environment variable:
`bash
PORT=9000 npm start
`
Development
$3
`bash
npm run dev
`
This enables hot reloading and developer tools.
$3
`bash
npm run build
`
Creates distributable packages for Windows, macOS, and Linux.
Screenshots
$3
!Dashboard View
$3
!Network Visualization
$3
!AI Automation
Requirements
- Node.js >= 14.0.0
- Electron >= 28.0.0
- Network connectivity for component management
Troubleshooting
$3
1. Check if paths in sdk-controller.js` are correct