{"id":15674826,"url":"https://github.com/andypiper/mqtt-chat","last_synced_at":"2026-03-05T08:32:38.388Z","repository":{"id":6370345,"uuid":"7607708","full_name":"andypiper/mqtt-chat","owner":"andypiper","description":"Simple MQTT-based chat room client written in Ruby","archived":false,"fork":false,"pushed_at":"2013-01-14T22:24:44.000Z","size":107,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-14T20:48:20.164Z","etag":null,"topics":["mqtt","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andypiper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-14T16:16:59.000Z","updated_at":"2022-08-22T08:09:41.000Z","dependencies_parsed_at":"2022-09-14T19:11:33.029Z","dependency_job_id":null,"html_url":"https://github.com/andypiper/mqtt-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andypiper/mqtt-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andypiper%2Fmqtt-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andypiper%2Fmqtt-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andypiper%2Fmqtt-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andypiper%2Fmqtt-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andypiper","download_url":"https://codeload.github.com/andypiper/mqtt-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andypiper%2Fmqtt-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30115938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T08:19:04.902Z","status":"ssl_error","status_checked_at":"2026-03-05T08:17:37.148Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["mqtt","ruby"],"created_at":"2024-10-03T15:51:22.854Z","updated_at":"2026-03-05T08:32:38.356Z","avatar_url":"https://github.com/andypiper.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple MQTT-based chat room client written in Ruby\n\n## Install\n\n1. Install and run an MQTT broker. [mosquitto](http://mosquitto.org) is one choice, this also works with [RabbitMQ](http://rabbitmq.com) version 3 which includes MQTT support, and with [many other MQTT servers](http://mqtt.org/software#brokers).\n\n2. Install the [mqtt](http://github.com/njh/ruby-mqtt) and ncurses-ruby gems \n(NB the plain ncurses gem is harder to natively compile)\n\n    ```sudo gem install mqtt ncurses-ruby```\n\n## Run\n\n1. Run the client\n\n    ```ruby ./mqtt-chat.rb \u003cusername\u003e```\n\n2. If you want to configure the app to run against an alternative MQTT broker running on a different host/post. Modify this line:\n\n    ```ruby\n    mqtt = MQTT::Client.new('localhost')\n    ```\n    \n    replacing 'localhost' with the hostname or IP address of your chosen broker, optionally with a port number, e.g.\n\n    ```ruby\n    mqtt = MQTT::Client.new('m2m.eclipse.org', 1883)\n    ```\n    \n## Background\n\nModified from simple AMQP-based and MQTT-based chat servers originally published as Gists by [glejeune](https://gist.github.com/glejeune)\n\n#### Changes from original\n\n* added exit handler for cleaner end\n* updated for newer ruby-mqtt gem\n* fixed help text\n* updated README","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandypiper%2Fmqtt-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandypiper%2Fmqtt-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandypiper%2Fmqtt-chat/lists"}