{"id":26249884,"url":"https://github.com/rdbo/simplex-chat-ruby","last_synced_at":"2026-02-16T17:32:17.876Z","repository":{"id":278943467,"uuid":"937230199","full_name":"rdbo/simplex-chat-ruby","owner":"rdbo","description":"Ruby API for SimpleX Chat","archived":false,"fork":false,"pushed_at":"2025-03-19T19:40:15.000Z","size":184,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-15T21:10:08.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rdbo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-22T16:39:04.000Z","updated_at":"2025-03-19T19:40:11.000Z","dependencies_parsed_at":"2025-02-22T18:23:50.424Z","dependency_job_id":"a9fcad3d-a218-45d0-b072-036cd43f0a66","html_url":"https://github.com/rdbo/simplex-chat-ruby","commit_stats":null,"previous_names":["rdbo/simplex-chat-ruby"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/rdbo/simplex-chat-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdbo%2Fsimplex-chat-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdbo%2Fsimplex-chat-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdbo%2Fsimplex-chat-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdbo%2Fsimplex-chat-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdbo","download_url":"https://codeload.github.com/rdbo/simplex-chat-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdbo%2Fsimplex-chat-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29513966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: 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":[],"created_at":"2025-03-13T15:50:59.973Z","updated_at":"2026-02-16T17:32:17.860Z","avatar_url":"https://github.com/rdbo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simplex-chat-ruby\nA port for the SimpleX Chat client API for Ruby\n\n## License\nThis project is licensed under the GNU AGPL-3.0 (no later versions).\n\nRead `LICENSE` for more information.\n\n## Showcase\n\n![showcase](showcase.png)\n\n## Usage\n\n1. Install the Gem from RubyGems\n   ```shell\n   gem install simplex-chat\n   ```\n\n\n2. Start your local simplex-chat client on port 5225 (or any port you wish)\n\n   ```shell\n   simplex-chat -p 5225\n   ```\n\n3. Connect the `SimpleXChat::ClientAgent` to your local client\n\n   ```rb\n   require 'simplex-chat'\n   require 'net/http'\n\n   client = SimpleXChat::ClientAgent.new URI('ws://localhost:5225')\n   ```\n\n\n4. Now the client is connected and you can start using the APIs\n\n   ```rb\n   # Get version\n   version = client.api_version\n   puts \"SimpleX Chat version: #{version}\"\n\n   # Listen to incoming client messages\n   loop do\n     chat_msg = client.next_chat_message\n     break if chat_msg == nil\n\n     # Reply if user sends '/say_hello'\n     if chat_msg[:msg_text] == \"/say_hello\"\n       client.api_send_text_message chat_msg[:chat_type], chat_msg[:sender], \"Hello! This was sent automagically\"\n     end\n   end\n\n   # Much more... Read the examples for more information\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdbo%2Fsimplex-chat-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdbo%2Fsimplex-chat-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdbo%2Fsimplex-chat-ruby/lists"}