{"id":21077395,"url":"https://github.com/ros2jsguy/rclnodejs-electron-example","last_synced_at":"2025-07-03T07:33:06.532Z","repository":{"id":93998992,"uuid":"429583126","full_name":"ros2jsguy/rclnodejs-electron-example","owner":"ros2jsguy","description":"Very basic Electron app demonstrating the use of a ROS 2 rclnodejs node, publisher \u0026 subscriber ","archived":false,"fork":false,"pushed_at":"2021-11-20T12:57:08.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T04:11:09.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ros2jsguy.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":"2021-11-18T21:20:54.000Z","updated_at":"2021-11-20T12:57:11.000Z","dependencies_parsed_at":"2023-03-19T03:02:40.819Z","dependency_job_id":null,"html_url":"https://github.com/ros2jsguy/rclnodejs-electron-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ros2jsguy/rclnodejs-electron-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ros2jsguy%2Frclnodejs-electron-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ros2jsguy%2Frclnodejs-electron-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ros2jsguy%2Frclnodejs-electron-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ros2jsguy%2Frclnodejs-electron-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ros2jsguy","download_url":"https://codeload.github.com/ros2jsguy/rclnodejs-electron-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ros2jsguy%2Frclnodejs-electron-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263283023,"owners_count":23442278,"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":[],"created_at":"2024-11-19T19:36:18.921Z","updated_at":"2025-07-03T07:33:06.508Z","avatar_url":"https://github.com/ros2jsguy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rclnodejs-electron-example\n\nThis very basic project demonstrates how to use the ROS 2 rclnodejs client api with Electron.\nNo bundler, e.g., Webpack, is used.  \n\n## Prerequisites:\n* Nodejs 12, 14-16\n* npm or Yarn\n\n## Getting Started\n1. Clone this repository\n```\ngit clone https://github.com/ros2jsguy/rclnodejs-electron-example\n```\n\n2. Install JavaScript dependencies\n```\nnpm install\n``` \n\n3. Rebuild rclnodejs using Electron node version\n```\nnpx electron-rebuild\n```\n\n4. Run\nLaunch the Electron app to create a ROS 2 node, publisher and subscriber. The publisher will output a message\nevery second. The subscriber will echo messages it receives from the publisher to stdout.\n```\nnpm start\n```\n\n## Special note\nThis example uses the latest Electron v16 which incorporates Node 14. We must use the rclnodejs [`node-16`](https://github.com/RobotWebTools/rclnodejs/tree/nodejs-16) branch to support node versions greater tha 12.x. Thus we are currently loading the rclnodejs `node-16` branch directly from Github until it is published to the Npmjs repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fros2jsguy%2Frclnodejs-electron-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fros2jsguy%2Frclnodejs-electron-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fros2jsguy%2Frclnodejs-electron-example/lists"}