10 releases
Uses new Rust 2024
new 0.2.1 | Apr 7, 2025 |
---|---|
0.2.0 | Apr 7, 2025 |
0.1.7 | Apr 7, 2025 |
#211 in Debugging
418 downloads per month
170KB
1K
SLoC
Antop
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)
From Crates.io (recommended)
cargo install antop
From Source
- Clone the repository:
git clone https://github.com/champii/antop.git cd antop
- Build the release binary:
cargo build --release
- The executable will be located at
target/release/antop
.
Usage
-
Run the application:
antop
Or, if installed via source:
cargo run
-
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"
- By default,
License
This project is licensed under the MIT License. See the LICENSE file for details.
Dependencies
~17–33MB
~501K SLoC