MCPcopy Index your code
hub / github.com/thomasnordquist/MQTT-Explorer

github.com/thomasnordquist/MQTT-Explorer @v0.3.5 sqlite

repository ↗ · DeepWiki ↗ · release v0.3.5 ↗
907 symbols 1,945 edges 200 files 3 documented · 0%
README

MQTT Explorer

Downloads Downloads Build_Status Build status Codacy Badge

screen_composite screen2_small screen3_small

The App has moved to mqtt-explorer.com

MQTT Explorer is a comprehensive and easy-to-use MQTT Client.
Downloads can be found at the link above.

This page is dedicated to its development. Pull-Requests and error reports are welcome.

Run from sources

yarn
yarn build
yarn start

Develop

Launch Application

yarn
yarn dev

The app directory contains all the rendering logic, the backend directory currently contains the models, tests, connection management, src contains all the electron bindings. mqttjs is used to facilitate communication to MQTT brokers.

Automated Tests

To achieve a reliable product automated tests run regularly on travis.

  • Data model
  • MQTT integration
  • UI-Tests (The demo is a recorded ui test)

Run UI-tests

A mosquitto MQTT broker is required to run the ui-tests.

Run tests with

# Run chromedriver in a separate terminal session
./node_modules/.bin/chromedriver --url-base=wd/hub --port=9515 --verbose

Compile and execute tests

npm run build
node dist/src/spec/webdriverio.js

License

CC-BY-ND 4.0
CC-BY-ND 4.0

The license is a little restrictive to distributing derived work, this may change in the future if the interest arises or more people work on this project.

Extension points exported contracts — how you extend this code

Hashable (Interface)
(no doc) [4 implementers]
backend/src/Model/Hashable.ts
EventBusInterface (Interface)
(no doc) [4 implementers]
events/EventBus.ts
PersistentStorage (Interface)
(no doc) [2 implementers]
app/src/utils/PersistentStorage.ts
BuildInfo (Interface)
(no doc)
package.ts
Scene (Interface)
(no doc)
src/spec/SceneBuilder.ts
Target (Interface)
(no doc)
scripts/afterPack.ts
StorageEvent (Interface)
(no doc)
events/StorageEvents.ts
CallbackStore (Interface)
(no doc)
events/EventDispatcher.ts

Core symbols most depended-on inside this repo

sleep
called by 45
src/spec/util/index.ts
connect
called by 44
app/src/actions/Connection.ts
clickOn
called by 32
src/spec/util/index.ts
publish
called by 30
backend/src/DataSource/DataSource.ts
subscribe
called by 29
events/EventBus.ts
push
called by 19
backend/src/Model/ChangeBuffer.ts
add
called by 18
backend/src/Model/RingBuffer.ts
unsubscribe
called by 18
events/EventBus.ts

Shape

Function 434
Method 221
Interface 154
Class 85
Enum 13

Languages

TypeScript100%

Modules by API surface

backend/src/Model/TreeNode.ts26 symbols
app/src/reducers/Settings.ts21 symbols
app/src/reducers/ConnectionManager.ts20 symbols
app/src/components/UpdateNotifier.tsx18 symbols
app/src/actions/ConnectionManager.ts17 symbols
backend/src/Model/RingBuffer.ts16 symbols
src/spec/util/index.ts15 symbols
app/src/components/SettingsDrawer/Settings.tsx14 symbols
app/src/components/ConnectionSetup/ConnectionSettings.tsx14 symbols
events/EventBus.ts13 symbols
app/src/utils/PersistentStorage.ts13 symbols
app/src/reducers/Charts.ts13 symbols

Dependencies from manifests, versioned

@material-ui/core4 · 1×
@material-ui/icons4 · 1×
@material-ui/lab4.0.0-alpha · 1×
@material-ui/styles4 · 1×
@types/chai4.1.7 · 1×
@types/d35.7.2 · 1×
@types/diff4.0.1 · 1×
@types/fs-extra7.0.0 · 1×
@types/get-value3.0.1 · 1×
@types/lowdb1.0.6 · 1×
@types/mime2.0.0 · 1×
@types/mocha5.2.5 · 1×

For agents

$ claude mcp add MQTT-Explorer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact