onr-admin is a powerful companion binary shipped alongside Open Next Router. It provides an API for web-based GUI management, a Terminal UI (TUI) for debugging, and a suite of CLI tools for cryptography, validation, and token generation.
Basic Usage
You must build theonr-admin binary first if you are compiling from source:
1. Web Dashboard (Admin Panel)
Start the local web editor for managing provider DSL configurations visually.http://127.0.0.1:3310 in your browser.
2. Terminal UI (TUI) log viewer
Open the interactive TUI to debug incoming traffic and outgoing requests.traffic_dump.dir defined in your config (defaults to ./dumps).
Key Bindings:
↑ / ↓: Navigate traffic requestsEnter: View detailed request/response dump/: Filter logs by provider, model, path, status, or request IDr: Reloadq: Quit
3. Cryptography Tools
Manage encrypted downstream or upstream keys securely.4. Token Generation
Generate a specialized token key format (onr:v1?...) that clients can use in the Authorization: Bearer ... header.