mqttui

TUI for subscribing to and publishing MQTT messages

TLDR

Subscribe to all topics on a broker
$ mqttui
Connect to a specific broker
$ mqttui mqtt://[host]:[port]
Subscribe to a specific topic
$ mqttui "[topic]"
Publish a message
$ mqttui publish "[topic]" "[message]"

SYNOPSIS

mqttui [options] [topic]

DESCRIPTION

mqttui is a TUI tool for subscribing to MQTT topics and publishing messages from the terminal. It displays a topic tree with live message updates and supports retained message management.The default broker can be configured via the MQTTUI_BROKER environment variable to avoid specifying it each time.

PARAMETERS

publish TOPIC MESSAGE

Publish a message to a topic.
clean-retained TOPIC
Clean retained messages for a topic.

INSTALL

sudo pacman -S mqttui
sudo apk add mqttui
brew install mqttui
nix profile install nixpkgs#mqttui

CAVEATS

Requires access to an MQTT broker. Subscribing to broad topics on busy brokers may generate high message volume.

HISTORY

mqttui was created by EdJoPaTo and is written in Rust.

SEE ALSO

mosquitto_sub(1), mosquitto_pub(1)