Skip to content

A Lua script to browse MQTT on your filesystem

License

Notifications You must be signed in to change notification settings

shagu/lua-mqtt-fs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Lua MQTT Filesystem

A small lua script that brings mqtt messages to your filesystem.

Dependencies (Arch Linux)

Install dependencies and build required lua modules:

pacman -S mosquitto lua luarocks
luarocks install lua-mosquitto

Dependencies (Ubuntu 20.04)

Install dependencies and build required lua modules:

apt install git libmosquitto-dev mosquitto-clients \
  lua5.3 luarocks liblua5.3-dev
luarocks install lua-mosquitto

Install

git clone https://github.com/shagu/lua-mqtt-fs.git
cd lua-mqtt-fs

Usage

./lua-mqtt-fs.lua <broker> <path>
  • broker: The broker to connect (default: mqtt.local)
  • path: The path to the folder where the mqtt messages should be created (default: /tmp/lua-mqtt-fs)

Example

./lua-mqtt-fs.lua mqtt.midgard /tmp/lua-mqtt

About

A Lua script to browse MQTT on your filesystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages