| Crates.io | magic_modbus |
| lib.rs | magic_modbus |
| version | 0.2.1 |
| created_at | 2025-09-03 15:49:58.743332+00 |
| updated_at | 2025-09-03 17:03:11.309562+00 |
| description | A TUI tool written in Rust to make working with Modbus simple and easy |
| homepage | https://github.com/doplgamer/magic_modbus |
| repository | https://github.com/doplgamer/magic_modbus |
| max_upload_size | |
| id | 1822734 |
| size | 205,255 |
A powerful Terminal User Interface (TUI) tool for working with Modbus devices, making Modbus protocols more accessible and easy to use.
Magic Modbus is a CLI tool built with Rust that provides an intuitive terminal interface for interacting with Modbus devices over TCP connections. It features a tabbed interface for viewing and editing different Modbus data types with real-time updates and efficient memory management.
ratatui for a responsive terminal interfacetokio for smooth performancegit clone https://github.com/yourusername/magic_modbus.git
cd magic_modbus
cargo build --release
The binary will be available at target/release/magic_modbus.
# Run the application
cargo run -- --help
# or if you built the release binary:
./target/release/magic_modbus --help
# There are two distinct modes which can be used
# TUI Mode
cargo run --
# Macro Parser Mode
cargo run parse-macro
Queue Tab, save the queued operations to a macro file by pressing M.magmod.magmod file from before.Esc - Quit applicationQ - Previous tabE - Next tabTab - Change focus between areas? - Help menuW A S D or ↑ ↓ ← → - Navigate cellsSpace - Queue/Toggle cell valuesEnter - Apply changesMagic Modbus uses an async event-driven architecture:
# Debug build
cargo build
# Release build
cargo build --release
# Check syntax
cargo check
# Run clippy linter
cargo clippy
# Format code
cargo fmt
# Check formatting
cargo fmt -- --check
# Run tests
cargo test
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under either of
at your option.
ratatui for the terminal UIclap for the CLI interfacetokio-modbus for async Modbus protocol support