A real-time monitoring system for the BitTorrent DHT (Distributed Hash Table) network with geographic node visualization.
20250223-1446-56.3390126.mp4
- Real-time Monitoring: Continuous tracking of active DHT nodes
- Geographic Visualization: Interactive map showing node locations
- Statistical Analysis: Detailed DHT network metrics
- Modern Architecture: Node.js Backend + Next.js Frontend
- Node.js
- Express
- SQLite
- bittorrent-dht
- GeoIP-lite
- Next.js 14
- React
- Leaflet (for maps)
- TailwindCSS
- TypeScript
Before starting the project, run the following command in the project root to install dependencies for the root, backend, and frontend:
npm run install-all
Run the start script in the project root:
npm run start
This will start both the "backend" and "frontend" directories concurrently.
The system will be available at:
- Frontend: http://localhost:3001
- API: http://localhost:3000
- GET /nodes: General node statistics
- GET /nodes/all: Paginated list of all nodes
- GET /stats: Real-time network statistics
- Real-time DHT node visualization
- Automatic clustering for better performance
- Detailed node information on click
- Geographic distribution by country
- Automatic updates every 10 seconds
- Total active nodes
- Geographic distribution
- Node uptime
- Appearance frequency
- Country-based statistics