Transform your idle computing power into valuable credits in a secure, containerized P2P marketplace.
- Real-Time Status Monitor: Live heartbeat indicator showing Ethernet/Wi-Fi status with automatic eligibility alerts
- Resource Load Monitoring: Visual gauges for CPU/GPU usage, temperature, and fan speed
- Earnings & Credit Wallet: Session earnings counter and complete transaction history
- Availability Toggle: Instant Online/Offline switch to reclaim PC performance
- POST /tasks/submit: Submit container images, datasets, and performance requirements
- GET /tasks/status: Real-time progress tracking across distributed hosts
- GET /tasks/results: Secure retrieval of compiled results
- Budget Control: Set max credit spend to limit task costs
- 8 Simulated Hosts: Different IP addresses and geographic locations
- Seoul, South Korea (192.168.1.101) - 85 score, Ethernet
- Tokyo, Japan (10.0.0.45) - 92 score, Ethernet
- Singapore (172.16.0.22) - 78 score, WiFi
- Sydney, Australia (203.0.113.15) - 88 score, Ethernet
- Mumbai, India (198.51.100.8) - 73 score, WiFi (Offline)
- Hong Kong (192.0.2.55) - 95 score, Ethernet
- Bangkok, Thailand (10.1.0.33) - 68 score, WiFi
- Taipei, Taiwan (172.20.0.18) - 90 score, Ethernet
- Network Stability Monitor: Ethernet requirement with packet loss detection
- Hardware Benchmark Suite: CPU/GPU/RAM performance scoring
- Docker Containerization: Secure sandbox for task execution
- Encrypted Task Framework: End-to-end workload encryption
- Credit Transfer System: Digital wallet with P2P transfers
- Reputation System: 5-tier levels with multipliers and badges
- B1 - Credit Transfer: Earn credits by hosting, spend on computing
- B2 - P2P Marketplace: 5-10% platform fee for facilitation
- Reputation Multipliers: Higher tiers earn 1.0x - 2.0x credit bonuses
- Network Check: Verify Ethernet connection stability
- Hardware Test: Benchmark system capabilities
- Go Online: Toggle availability to start earning
- Monitor: Track earnings and system health in real-time
- Submit Task: Configure container image and requirements
- Set Budget: Define maximum credit spend
- Monitor Progress: Track execution across distributed hosts
- Retrieve Results: Download compiled outputs securely
- Frontend: React 18 + TypeScript + Vite
- UI Components: shadcn/ui + Tailwind CSS
- State Management: React hooks + local storage
- Icons: Lucide React
- Build Tool: Vite with HMR
src/
โโโ components/ # React components
โ โโโ HostDashboard.tsx # Host monitoring interface
โ โโโ ClientAPI.tsx # Client task submission
โ โโโ NetworkMonitor.tsx # Network stability checker
โ โโโ HardwareBenchmark.tsx # System performance testing
โ โโโ TaskMarketplace.tsx # Task browsing/execution
โ โโโ CreditWallet.tsx # Credit management
โ โโโ ReputationSystem.tsx # Reputation tracking
โโโ lib/ # Core business logic
โ โโโ host-dashboard.ts # Host monitoring logic
โ โโโ client-api.ts # Client API simulation
โ โโโ network-monitor.ts # Network stability monitoring
โ โโโ hardware-benchmark.ts # Hardware testing
โ โโโ task-execution.ts # Task execution engine
โ โโโ credit-system.ts # Credit management
โ โโโ reputation-system.ts # Reputation scoring
โโโ pages/ # Application pages
โโโ Index.tsx # Main dashboard
-
Install Dependencies:
npm install
-
Start Development Server:
npm run dev
-
Open Application: Navigate to
http://localhost:8080
- Dynamic Host Status: Random online/offline changes
- Network Type Switching: Ethernet โ WiFi transitions
- Geographic Distribution: Global host locations
- Performance Variations: Different hardware capabilities
- Progress Simulation: Realistic task completion times
- Resource Usage: CPU/GPU load during execution
- Failure Scenarios: Random host failures
- Credit Escrow: Secure payment handling
- Network: Ethernet connection preferred
- Hardware: Minimum performance score of 50
- Storage: Sufficient disk space for containers
- Temperature: CPU < 85ยฐC, GPU < 80ยฐC
- Container Images: Docker Hub URLs
- Datasets: Publicly accessible links
- Performance Requirements: Minimum scores for hosts
- Budget Controls: Credit spend limits
- Real-time Monitoring: Live resource usage gauges
- Network Alerts: Automatic notifications for status changes
- Session Tracking: Current task progress and earnings
- Simulation Controls: Test different network conditions
- Task Submission: Form-based task creation
- Progress Tracking: Multi-host progress visualization
- Results Download: JSON formatted output data
- Host Management: View and control available hosts
- 5 Tiers: Bronze โ Silver โ Gold โ Platinum โ Diamond
- Credit Multipliers: 1.0x to 2.0x based on tier
- Badge System: Earn achievements for milestones
- Performance Metrics: Success rate, uptime, reliability
- Container Isolation: Docker sandbox for all tasks
- Encrypted Workloads: End-to-end data protection
- Credit Escrow: Secure payment holding
- Host Verification: Performance and reputation checks
- Real Docker Integration: Actual container execution
- Blockchain Integration: Decentralized credit system
- Mobile App: Host monitoring on mobile devices
- Advanced Analytics: Detailed performance insights
- API Documentation: Comprehensive developer docs
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
Built with โค๏ธ for the decentralized computing revolution