百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

mqttui

> 开发工具
开源

订阅 MQTT 主题或从终端快速发布内容

707 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

订阅 MQTT 主题或从终端快速发布内容

MQTT TUI

订阅 MQTT 主题或从终端快速发布内容

特性

终端 UI

bash
# Subscribe to everything (#)
mqttui

# Subscribe to topic
mqttui "topic"

# Subscribe to topic with a specific host (default is mqtt://localhost)
mqttui --broker "mqtt://test.mosquitto.org" "hello/world"

# More arguments and details
mqttui --help

发布

bash
mqttui publish "hello" "world"

mqttui publish --retain "foo/bar" "Banana?"

# Use stdin to publish file contents
mqttui publish "foo/bar" --.zip`
Choose the correct file for your given CPU architecture and platform.

The prebuilt CPU architectures include:

- AMD/Intel: x86_64
- 64 bit ARMv8: aarch64
- 64 bit RISC-V: riscv64gc
- 32 bit ARMv7: armv7
- 32 bit ARMv6: arm

#### Debian, Ubuntu, and Deb based Linux

Download the appropriate `.deb` for your architecture and run:

bash sudo dpkg -i


#### Red Hat, CentOS, and RPM based Linux

Download the appropriate `.rpm` for your architecture and run:

bash sudo rpm -i

#### 适用于其他基于 UNIX 的系统的 tarball
二进制文件也以普通的 tarball 格式提供,针对任何通用的 Linux 或 macOS 系统的各个架构。
请注意, Linux 二进制文件是为基于 `glibc` 的系统构建的。对于其他 `libc`/`musl` 系统(如 Alpine Linux)您需要 [从源码编译](#from-source) 或通过仓库进行安装。
您需要解压 tarball,并将二进制文件放到您的路径中某个位置(常见位置包括 `~/bin`, `~/.local/bin` 或 `/usr/local/bin`)。

#### Windows
下载适合您的架构的 `mqttui---pc-windows-msvc.zip` 文件,并将其内容解压到一个方便的位置。
### 从源码开始
- 克隆此仓库
- `cargo install --path .`
## 历史和替代方案
看看现有的"现在来看看 MQTT"或"快速发布一些内容"的项目,它们总是非常笨重,速度不快。
在使用 `mqttui` 之前,我曾使用 [thomasnordquist/MQTT-Explorer](https://github.com/thomasnordquist/MQTT-Explorer),因为它提供了对当前情况的完整概述,一个基于主题的历史记录以及一个有序的主视图。
但是在运行时,它消耗了大量资源。
发布某些内容 q

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustclihacktoberfestmqttmqtt-cli

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具