mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 03:00:45 +02:00
Enhance README.md with new features and API endpoints
Updated README.md to include: - New **Error Handling** section for user-friendly error pages. - Introduction of the **DeepSea Theme** with immersive effects and a toggle option. - Added environment variables `NETWORK_FEE` and `TIMEZONE` in `docker-compose.yml`. - New API endpoints for metrics, timezones, configuration, and health status. These changes improve user experience, configuration options, and application resilience.
This commit is contained in:
parent
2021583951
commit
4c4750cb24
15
README.md
15
README.md
@ -24,7 +24,6 @@ This open-source dashboard provides real-time monitoring for Ocean.xyz pool mine
|
||||
- **Payout Monitoring**: View unpaid balance and estimated time to next payout
|
||||
- **Pool Fee Analysis**: Monitor pool fee percentages with visual indicator when optimal rates (0.9-1.3%) are detected
|
||||
|
||||
|
||||
### Worker Management
|
||||
- **Fleet Overview**: Comprehensive view of all mining devices in one interface
|
||||
- **Status Monitoring**: Real-time status indicators for online and offline devices
|
||||
@ -41,6 +40,7 @@ This open-source dashboard provides real-time monitoring for Ocean.xyz pool mine
|
||||
- **Backup Polling**: Fallback to traditional polling if real-time connection fails
|
||||
- **Cross-Tab Synchronization**: Data consistency across multiple browser tabs
|
||||
- **Server Health Monitoring**: Built-in watchdog processes ensure reliability
|
||||
- **Error Handling**: Displays a user-friendly error page (`error.html`) for unexpected issues.
|
||||
|
||||
### Distinctive Design Elements
|
||||
- **Retro Terminal Aesthetic**: Nostalgic interface with modern functionality
|
||||
@ -48,6 +48,11 @@ This open-source dashboard provides real-time monitoring for Ocean.xyz pool mine
|
||||
- **System Monitor**: Floating status display with uptime and refresh information
|
||||
- **Responsive Interface**: Adapts to desktop and mobile devices
|
||||
|
||||
### DeepSea Theme
|
||||
- **Underwater Effects**: Light rays and digital noise create an immersive experience.
|
||||
- **Retro Glitch Effects**: Subtle animations for a nostalgic feel.
|
||||
- **Theme Toggle**: Switch between Bitcoin and DeepSea themes with a single click.
|
||||
|
||||
## Quick Start
|
||||
|
||||
### Installation
|
||||
@ -103,6 +108,8 @@ You can modify the following environment variables in the `docker-compose.yml` f
|
||||
- `WALLET`: Your Bitcoin wallet address.
|
||||
- `POWER_COST`: Cost of power per kWh.
|
||||
- `POWER_USAGE`: Power usage in watts.
|
||||
- `NETWORK_FEE`: Additional fees beyond pool fees (e.g., firmware fees).
|
||||
- `TIMEZONE`: Local timezone for displaying time information.
|
||||
|
||||
Redis data is stored in a persistent volume (`redis_data`), and application logs are saved in the `./logs` directory.
|
||||
|
||||
@ -158,6 +165,12 @@ Built with a modern stack for reliability and performance:
|
||||
- **Resilience**: Automatic recovery mechanisms and state persistence
|
||||
- **Configuration**: Environment variables and JSON-based settings
|
||||
|
||||
## API Endpoints
|
||||
- `/api/metrics`: Provides real-time mining metrics.
|
||||
- `/api/available_timezones`: Returns a list of supported timezones.
|
||||
- `/api/config`: Fetches or updates the mining configuration.
|
||||
- `/api/health`: Returns the health status of the application.
|
||||
|
||||
## Project Structure
|
||||
|
||||
The project follows a modular architecture with clear separation of concerns:
|
||||
|
Loading…
Reference in New Issue
Block a user