P2Pool Mini Observer
A modern, responsive web application for monitoring P2Pool Mini mining operations built with Next.js, Tailwind CSS 4, and Shadcn/ui components.
Features
- π¨ Modern Dark/Light Theme - Seamless theme switching with Tailwind 4
- π Real-time Pool Statistics - Live hashrate, miners, blocks found, and effort tracking
- π Individual Miner Tracking - Monitor specific wallet performance and share history
- π Mini P2Pool Focus - Specifically designed for P2Pool Mini network
- π± Responsive Design - Works perfectly on desktop, tablet, and mobile
- β‘ Auto-refresh - Real-time data updates every 30 seconds
- π§ Simple Configuration - Easy wallet tracking with automatic navigation
Quick Start
Prerequisites
Installation
- Clone the repository:
git clone <repository-url>
cd fun
- Install dependencies:
- Start the development server:
- Open http://localhost:3000 in your browser
Using P2Pool Mini Observer
This application is pre-configured to connect to the P2Pool Mini network via the official Mini P2Pool Observer (https://mini.p2pool.observer).
Tracking Your Mining
- Enter your Monero wallet address in the configuration
- Click βTrackβ to start monitoring your mining statistics
- Automatically redirected to your personalized dashboard
- View your shares, blocks found, and estimated rewards
What is P2Pool Mini?
P2Pool Mini is a sidechain for P2Pool designed for miners with lower hashrates. It provides:
- Lower share difficulty
- More frequent payouts for smaller miners
- Same security and decentralization as main P2Pool
- Ideal for CPU and GPU miners
API Support
This application supports the P2Pool Mini API:
- Pool information and statistics
- Individual miner data
- Recent shares and found blocks
- PPLNS window data
- Mining effort calculations
Development
Technology Stack
- Framework: Next.js 15 with App Router
- Styling: Tailwind CSS 4 (latest)
- Components: Shadcn/ui with Radix primitives
- Icons: Lucide React
- Theme: Custom dark/light mode with system detection
- Language: TypeScript
Theme System
The application uses a custom theme implementation with Tailwind 4:
- Uses
@custom-variant dark (&:is(.dark *)) for proper scoping
- CSS variables for all theme colors
- System theme detection with manual override
- Persistent theme preference storage
P2Pool API Client
Located in lib/p2pool-api.ts, provides:
- Type-safe API interactions
- Connection timeout handling
- Error management
- Data formatting utilities
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
License
MIT License - see LICENSE file for details
P2Pool Mini Resources
Support
For P2Pool Mini mining support:
- IRC: #p2pool-mini on libera.chat
- Reddit: r/MoneroMining
- Matrix: P2Pool rooms
For application issues:
- Create an issue in this repository
- Check existing issues first