{"id":13778722,"url":"https://github.com/nickgnd/hanami-chat-example","last_synced_at":"2025-09-29T18:29:38.283Z","repository":{"id":20746891,"uuid":"90798350","full_name":"nickgnd/hanami-chat-example","owner":"nickgnd","description":"Basic chat application built with Hanami and LiteCable (compatible with AnyCable)","archived":false,"fork":false,"pushed_at":"2023-01-18T20:31:58.000Z","size":3544,"stargazers_count":9,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-02T03:12:03.924Z","etag":null,"topics":["actioncable","anycable","hanami","hanami-application","ruby","websockets"],"latest_commit_sha":null,"homepage":null,"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/nickgnd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-09T22:43:56.000Z","updated_at":"2022-11-06T19:37:00.000Z","dependencies_parsed_at":"2023-02-10T17:45:45.593Z","dependency_job_id":null,"html_url":"https://github.com/nickgnd/hanami-chat-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickgnd%2Fhanami-chat-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickgnd%2Fhanami-chat-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickgnd%2Fhanami-chat-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickgnd%2Fhanami-chat-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickgnd","download_url":"https://codeload.github.com/nickgnd/hanami-chat-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225048983,"owners_count":17412904,"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":["actioncable","anycable","hanami","hanami-application","ruby","websockets"],"created_at":"2024-08-03T18:00:56.681Z","updated_at":"2025-09-29T18:29:33.235Z","avatar_url":"https://github.com/nickgnd.png","language":"Ruby","funding_links":[],"categories":["Hanami Project List"],"sub_categories":["Play/Pet projects"],"readme":"## Sample chat application built with Hanami and LiteCable (compatible with AnyCable)\n\nThe application is **literally** the porting of the [LiteCable](https://github.com/palkan/litecable) [Sinatra example](https://github.com/palkan/litecable/tree/master/examples/sinatra) to [Hanami](http://hanamirb.org/) (kudos to [palkan](https://github.com/palkan) for its work :clap: :clap: :clap: ).\n\n### Usage\n\nInstall dependencies:\n\n```\nbundle install\n```\n\nRun server\n\n```\nbundle exec puma\n```\n\nOpen your browser at [localhost:9292](http://localhost:9292/), enter your name and a chat room ID (anything you want).\n\nThen open another session (another browser, incognito window) and repeat all steps using the same room ID.\n\nNow you can chat with yourself!\n\n### AnyCable usage (for production)\n\nThis example also can be used with [AnyCable](http://anycable.io/), it requires [Redis](https://redis.io/) (see the [docs](https://github.com/anycable/anycable) for more details).\n\nJust run `Procfile` with your favourite tool ([hivemind](https://github.com/DarthSim/hivemind) or [Foreman](http://ddollar.github.io/foreman/)):\n\n```\nhivemind\n```\n\nor\n\n```\nforeman start\n```\n\n### Notes\n\n- The application provide a basic example of integration between Hanami and AnyCable/LiteCable, it is a proof of concept and it was never tested in production.\n- There are a few specs (added by Hanami generators), but they are broken :( I didn't fix they for the same reason I wrote above and because the application is a merely porting of the Sinatra example to Hanami.\n\n### Contributing\n\nBug reports and PRs are welcome on GitHub at https://github.com/nickgnd/hanami-chat-example\n\n### Credits\n\n- Vladimir Dementyev ([palkan](https://github.com/palkan))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickgnd%2Fhanami-chat-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickgnd%2Fhanami-chat-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickgnd%2Fhanami-chat-example/lists"}