source

When I first saw the monero observers stats page, I really liked it.

So I decided to build my own little terminal version of it:


┌XMR───────────────────────────────────┐
│Difficulty: 502695810755              │
│Height: 3374086                       │
│Hashrate: 4189131756.29 Mh/s          │
│Total Emission: 18446744073709551615  │
│Last Reward: 601346940000             │
│Last Timestamp: 1742735929            │
└──────────────────────────────────────┘
  

The Collors get lost when pasting it but it looks nice imo.

The tools for this program where decided on quickly.

  • Rust as the language
  • Ratatui as the terminal UI framework
  • request for request handling

The rest of the dependencies are for async (tokio), serialization (serde) and time (chrono).