{"id":13586837,"url":"https://github.com/njh/mqtt-http-bridge","last_synced_at":"2025-06-26T13:34:41.348Z","repository":{"id":2192838,"uuid":"3140931","full_name":"njh/mqtt-http-bridge","owner":"njh","description":"MQTT to HTTP bridge","archived":false,"fork":false,"pushed_at":"2023-03-16T05:41:26.000Z","size":54,"stargazers_count":116,"open_issues_count":7,"forks_count":19,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-04-14T09:23:13.402Z","etag":null,"topics":["http","mqtt","ruby"],"latest_commit_sha":null,"homepage":"http://test-mosquitto.herokuapp.com/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/njh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-01-09T22:53:39.000Z","updated_at":"2024-02-06T04:40:32.000Z","dependencies_parsed_at":"2023-07-05T18:18:12.418Z","dependency_job_id":null,"html_url":"https://github.com/njh/mqtt-http-bridge","commit_stats":{"total_commits":62,"total_committers":2,"mean_commits":31.0,"dds":"0.016129032258064502","last_synced_commit":"29d3e4a58217a93ff0ded491594465b73f4add9e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njh%2Fmqtt-http-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njh%2Fmqtt-http-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njh%2Fmqtt-http-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njh%2Fmqtt-http-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/njh","download_url":"https://codeload.github.com/njh/mqtt-http-bridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806048,"owners_count":20350775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","mqtt","ruby"],"created_at":"2024-08-01T15:05:50.710Z","updated_at":"2025-03-16T07:32:16.790Z","avatar_url":"https://github.com/njh.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"mqtt-http-bridge.rb\n===================\n\nThis simple web application provides a bridge between HTTP and [MQTT] using \na [REST]ish interface. It is possible to GET, POST, PUT and DELETE retained messages \non a remote MQTT server.\n\n\n\nGetting started\n---------------\n\nInstall bundler:\n\n    sudo gem install bundler\n    \nInstall the other gem dependencies:\n\n    bundle install\n\nRun the local web server:\n\n    bundle exec rackup -p 1234\n\nYou can then open the bridge in your browser:\n\n    http://localhost:1234/\n\nTo connect to your own MQTT server:\n\n\tEdit the first few lines of `mqtt-http-bridge.rb` to match your server.\n\t\n\tIf you want to use a different port than the default 1883, add `:remote_port =\u003e [PORT NUMBER],` under the line with the IP address. Do not put the port number in quotation marks.\n\nExamples using curl\n-------------------\n\nTo get a retained value for a topic:\n\n    curl http://localhost:1234/test\n\nTo publish to a topic (retained):\n\n    curl -X PUT --data-binary \"Hello World\" http://localhost:1234/test\n\nTo publish to a topic (non-retained):\n\n    curl -X POST --data-binary \"Hello World\" http://localhost:1234/test\n\nTo delete the retained value for a topic:\n\n    curl -X DELETE http://localhost:1234/test\n\n\n\n\nLicense\n-------\n\nThe ruby mqtt-http-bridge is licensed under the terms of the MIT license.\nSee the file LICENSE for details.\n\n\nContact\n-------\n\n* Author:    Nicholas J Humfrey\n* Twitter:   [@njh](http://twitter.com/njh)\n* Home Page: http://www.aelius.com/njh/\n\n\n[MQTT]:    https://en.wikipedia.org/wiki/MQTT\n[REST]:    http://en.wikipedia.org/wiki/Representational_state_transfer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjh%2Fmqtt-http-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnjh%2Fmqtt-http-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjh%2Fmqtt-http-bridge/lists"}