{"id":16418968,"url":"https://github.com/artur-sulej/ruby_node","last_synced_at":"2025-04-23T02:21:42.085Z","repository":{"id":226102862,"uuid":"761756290","full_name":"Artur-Sulej/ruby_node","owner":"Artur-Sulej","description":"Code BEAM US '24 – Two solutions to make Ruby act like Elixir/Erlang node","archived":false,"fork":false,"pushed_at":"2024-03-08T02:27:22.000Z","size":869,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-18T11:41:48.347Z","etag":null,"topics":["elixir-lang","ruby"],"latest_commit_sha":null,"homepage":"https://codebeamamerica.com/participants/artur-sulej","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/Artur-Sulej.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-22T12:38:55.000Z","updated_at":"2025-01-09T18:17:48.000Z","dependencies_parsed_at":"2024-03-08T03:28:02.825Z","dependency_job_id":null,"html_url":"https://github.com/Artur-Sulej/ruby_node","commit_stats":null,"previous_names":["artur-sulej/ruby_node"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artur-Sulej%2Fruby_node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artur-Sulej%2Fruby_node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artur-Sulej%2Fruby_node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Artur-Sulej%2Fruby_node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Artur-Sulej","download_url":"https://codeload.github.com/Artur-Sulej/ruby_node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354824,"owners_count":21416788,"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":["elixir-lang","ruby"],"created_at":"2024-10-11T07:15:30.377Z","updated_at":"2025-04-23T02:21:42.063Z","avatar_url":"https://github.com/Artur-Sulej.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby Node\n\nCode for the talk _Ruby as a Node on Code BEAM America 2024_\n\n* [Talk info](https://codebeamamerica.com/participants/artur-sulej/)\n* [Slides](Code_BEAM_America_2024_Slides.pdf)\n\nIt contains two solutions:\n\n* Erlang Distribution Protocol in Ruby: [erldp](erldp)\n* Elixir proxy with Port: [port](port)\n\n## Erlang Distribution Protocol in Ruby\n\nThis is an implementation of ErlDP handshake in Ruby.\nHow to run it:\n\nStart Elixir node:\n\n```bash\niex --sname elixir_node\n```\n\nStart Ruby node:\n\n```bash\nruby erldp/run.rb\n```\n\nIn Elixir node, you can check that Ruby node is connected:\n\n```elixir\nNode.list()\n```\n\nCall from Elixir node (although it's not fully implemented):\n\n```elixir\n:rpc.call(:\"ruby_node@Artur-Sulej-MacBook-Pro\", Reverse, :reverse, [\"No palindromes!\"], 5000)\n```\n\n## Elixir proxy with Port\n\nRun Elixir proxy node:\n\n```bash\nelixir --sname elixir_proxy -S mix run --no-halt\n```\n\nRun the other node:\n\n```bash\niex --sname other_node\n```\n\nIn the other node send the RPC:\n\n```elixir\n:rpc.call(:\"elixir_proxy@Artur-Sulej-MacBook-Pro\", Reverse, :reverse, [\"No palindromes!\"], 5000)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartur-sulej%2Fruby_node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartur-sulej%2Fruby_node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartur-sulej%2Fruby_node/lists"}