#logging #node #run #antop

app antop

A TUI application for monitoring antnode instances. Discovers nodes via log files, fetches metrics (resource usage, peers, bandwidth, etc.), calculates network speeds, and displays the information in a terminal dashboard with sparklines.

11 releases

Uses new Rust 2024

0.2.2 Apr 7, 2025
0.2.1 Apr 7, 2025
0.1.7 Apr 7, 2025

#174 in Debugging

Download history 777/week @ 2025-04-02 76/week @ 2025-04-09 9/week @ 2025-04-16 1/week @ 2025-04-30

233 downloads per month

MIT license

110KB
1.5K SLoC

Antop

Build Status Crates.io License

A terminal dashboard for monitoring Autonomi node instances.

Features

  • Automatic Discovery: Finds running antnode instances by scanning log files (configurable path).
  • Real-time Metrics: Fetches and displays key metrics from discovered nodes.
  • TUI Dashboard: Presents information clearly in your terminal using ratatui.

Installation

Prerequisites

  • Rust (stable toolchain)
cargo install antop

From Source

  1. Clone the repository:
    git clone https://github.com/champii/antop.git
    cd antop
    
  2. Build the release binary:
    cargo build --release
    
  3. The executable will be located at target/release/antop.

Usage

  1. Run the application:

    antop
    

    Or, if installed via source:

    cargo run
    
  2. Node Discovery:

    • By default, antop looks for node root directories in ~/.local/share/autonomi/node/* to find information like storage paths. Use --path to override this.
    • It also scans for log files using the pattern ~/.local/share/autonomi/node/*/logs/antnode.log to discover metrics server addresses.
    • You can override the node directory discovery path using the --path option:
    antop --path "/path/to/your/nodes/node-*"
    
    • You can override the log file discovery path using the --log-path option with a glob pattern matching the specific log files:
    antop --log-path "/custom/log/location/node-*/antnode.log"
    

License

This project is licensed under the MIT License. See the LICENSE file for details.

Dependencies

~15–29MB
~413K SLoC