LinuxCommandLibrary

mqttui

TUI for subscribing to and publishing MQTT messages

TLDR

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

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.

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard