Terminal UI for managing Algorand nodes. Built with bubbles & bubbletea
Caution
This project is in alpha state and under heavy development. We do not recommend performing actions (e.g. key management) on participation nodes connected to public networks.
Run the build or download the latest cli(WIP).
Note
We do not have pre-built binaries yet. If you are comfortable doing so, you are welcome to build it yourself and provide feedback.
- Clone the repository
git clone https://github.com/algorandfoundation/hack-tui.git
- Change to the project directory
cd hack-tui
- Run the build command
make build
- Start a participation node
docker compose up
Note
The docker image is used for development and testing purposes. TUI will also work with native algod. If you have a node installed already, you can skip this step.
- Connect to the node
./bin/algorun --server http://localhost:8080 --token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Caution
This project is in alpha state and under heavy development. We do not recommend performing actions (e.g. key management) on participation nodes connected to public networks.
Note
If you skipped the docker container, try running ./bin/algorun
standalone, which will detect your algorand data directory from the ALGORAND_DATA
environment variable that works for goal
. Otherwise, provide the --server
and --token
arguments so that it can find your node. Note that algorun requires the admin algod token.
Configuration is loaded in the following order:
- Configuration file (.algorun.yaml)
- Current Directory
- Home Directory
- /etc/algorun/
- ENV Configuration
- ALGORUN_*
- CLI Flag Arguments
- ALGORAND_DATA parsing
This results in ALGORAND_DATA
taking precedence in the loading order.
Example configuration file:
server: "http://localhost:8080"
token: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
Name | Example |
---|---|
ALGORUN_SERVER | ALGORUN_SERVER="http://localhost:8080" |
ALGORUN_TOKEN | ALGORUN_TOKEN="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" |
The application supports the server
and token
flags for configuration.
algorun --server http://localhost:8080 --token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Important
TUI requires the admin token in order to access participation key information. This can be found in the algod.admin.token
file, e.g. /var/lib/algorand/algod.admin.token
The default command will launch the full TUI application
algorun
Render only the status overview in the terminal
algorun status
Display the usage information for the command
algorun help