Giter Club home page Giter Club logo

mqtt-admin's Introduction

mqtt-admin

MQTT Web Frontend: Publish, Subscribe and see Topic Status in a comfortable UI.

getting started

Download mqtt-admin.zip, unzip, put it on a webserver and open index.html with a modern browser. You can also give it a try by just visiting https://hobbyquaker.github.io/mqtt-admin

Usage

mqtt-admin offers 3 tabs, Publish, Subscribe and Status, these are described in more detail below. Topic input fields offer autocompletion, mqtt-admin subscribes # to get all availabe topics to be able to offer this. Broker settings, the UI state, subscriptions and the publish history are persisted in your browser local storage.

Publish

Just enter a topic and a payload and click the publish button. The payload input field can be resized vertically and has a built in JSON linter - a checkmark below the input field will indicate valid JSON.

Every publish is saved in the history table, you can refill the input fields by clicking in history, a double click immediatly publishes again (not retained).

Subscribe

It's possible to open a unlimited number of subscriptions tabs that can contain a unlimited number of single subscriptions. You can color your subscriptions, but you have to select a color before you enter a topic and press enter. Subscription tabs can be renamed by double-clicking on the name. Every subscription tab has Play/Pause/Stop buttons, pause will cache incoming messages and delay insertion into the DOM until you activate play again. The trash button just clears the table.

Status

The status table shows the last-received payload of the listed topics, it's meant to keep an eye on e.g. current sensor data without being interested in previous data.

Warnings

  • This tool is meant to be used with keyboard and mouse, I do not plan any efforts on optimizing it for touch devices.
  • Connecting to test.mosquitto.org will stress your browser (Many retained topics, big payloads, ...).

mqtt-smarthome

mqtt-admin contains some syntactic sugar for mqtt-smarthome users (special columns in status tab, auto-completion of // to /status/ and /set/)

contributing

Pull Requests welcome!

Dependencies are managed with Bower, StealJS takes care of module loading, the Grunt task named "build" creates a production build in tmp dir.

license

The MIT License (MIT)

Copyright (c) Sebastian Raff [email protected] (https://github.com/hobbyquaker)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

mqtt-admin's People

Contributors

hobbyquaker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mqtt-admin's Issues

How do i run mqtt-admin

Running grunt gives me errors like mqttws not found. Am i missing something or can you please help me out with the commands

protocl tcp

Hi,
Congratulations on your work.
A question:
If I want to use the tcp protocol in ws place, what should I do?

XSS Vulnerability

Javascript code in MQTT Payloads...

Thx to "J0rk3r Plz" for reporting!

demo GUI blank

No matter what server I'm trying to add (public of private), the page GUI returns a blank page after hitting save settings.

Updated verseion without bower

I have updated your version to not use bower anymore and make use of the latest stealtjs. There are still some bugs in the ui and I have reported a breaking bug in free-jqgrid, so this is not worth a pull request, yet. feel free to "checkout" my fork. see the no-bower branch for changes and notice the patch advisory. I would love to see this ui added to mosca. maybe you want to contribute it. Nice work btw. Greetings...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.