{"id":29101535,"url":"https://github.com/shiukaheng/rosa","last_synced_at":"2026-05-04T01:33:33.612Z","repository":{"id":65164560,"uuid":"583896740","full_name":"shiukaheng/rosa","owner":"shiukaheng","description":"🌹 Rosa — ROS2 Automation Macros","archived":false,"fork":false,"pushed_at":"2023-01-05T14:38:34.000Z","size":111,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-02T04:38:05.903Z","etag":null,"topics":["build-tool","cli","deno","macros","robotics","ros","ros2"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/shiukaheng.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":"2022-12-31T11:09:32.000Z","updated_at":"2023-01-05T09:56:01.000Z","dependencies_parsed_at":"2023-01-13T15:45:24.709Z","dependency_job_id":null,"html_url":"https://github.com/shiukaheng/rosa","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/shiukaheng/rosa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiukaheng%2Frosa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiukaheng%2Frosa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiukaheng%2Frosa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiukaheng%2Frosa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shiukaheng","download_url":"https://codeload.github.com/shiukaheng/rosa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiukaheng%2Frosa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32591601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"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":["build-tool","cli","deno","macros","robotics","ros","ros2"],"created_at":"2025-06-28T21:01:10.989Z","updated_at":"2026-05-04T01:33:33.607Z","avatar_url":"https://github.com/shiukaheng.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌹 `rosa` — ROS2 Automation Macros\n\u003e ⚠️ WARNING: Still under active development\n\n`rosa` is a thin wrapper on ROS2 tools to streamline common ROS2 development tasks. It automatically sources the correct files, and provides a file watcher to automatiaclly build packages upon file changes.\n## 📦 Installation\nREQUIREMENT: Make sure you have `deno` installed on your system ([instructions](https://deno.land/manual/getting_started/installation))\n```bash\ndeno install --allow-sys --allow-env --allow-run --allow-read --allow-write --unstable -f https://deno.land/x/rosa@v0.0.2/rosa.ts\n# Installation (bash)\nFILE=\"${HOME}/.bashrc\"\nLINE='export PATH=\"/home/$USER/.deno/bin:$PATH\"' # Add deno bin to .bashrc if it doesn't exist (tested on ubuntu)\ngrep -qF -- \"$LINE\" \"$FILE\" || echo \"$LINE\" \u003e\u003e \"$FILE\"\nLINE='source \u003c(rosa completions bash)' # Add rosa bash completions to .bashrc if it doesn't exist\ngrep -qF -- \"$LINE\" \"$FILE\" || echo \"$LINE\" \u003e\u003e \"$FILE\"\n```\n## 👨‍💻 Sample usage\n\u003e ℹ️ NOTE: Make sure your current working directory is inside of a ROS2 workspace (could be any sub-directory of the workspace). During first use of any `rosa` commands in a new workspace, it prompts for user configuration (mainly choosing which ROS2 installation to use).\n\n### Creating a new package\n\u003cdetails\u003e\n  \u003csummary\u003eClick to show original steps...\u003c/summary\u003e\n  \n  ```bash\n  # Open a new terminal\n  source /opt/ros/\u003cdistribution\u003e/setup.sh\n  cd ../../ # (cd'ing to workspace root)\n  ros2 pkg create --build-type ament_cmake \u003cpackage name\u003e\n  ```\n\u003c/details\u003e\n  \n  ```bash\n  # Run this from any existing terminal inside the workspace\n  rosa init-pkg\n  # ? Enter the name of the package › new_package\n  # ? Enter the description of the package › A sample package\n  # ? Select the build type › ament_python\n  # ? Create empty node? (y/n) › Yes\n  # ? Enter the name of the node › new_node\n  # ? Select a license? (y/n) › Yes\n  # ? Select a license › MIT\n  # ...\n  ```\n\n### Building the current package\n\u003cdetails\u003e\n  \u003csummary\u003eClick to show original steps...\u003c/summary\u003e\n  \n  ```bash\n  # Open a new terminal\n  source /opt/ros/\u003cdistribution\u003e/setup.sh\n  cd ../../ # (cd'ing to workspace root)\n  colcon build --packages-select \u003cpackage name\u003e\n  ```\n\u003c/details\u003e\n\n```bash\nrosa build # Automatically builds the package folder you are in\n```\nOr, if you want to automatically build the package upon file changes:\n```bash\nrosa watch\n```\n\n### Setting up terminal environment to use `ros2` CLI\n\u003cdetails\u003e\n  \u003csummary\u003eClick to show original steps...\u003c/summary\u003e\n  \n  ```bash\n  source /opt/ros/\u003cdistribution\u003e/setup.sh\n  source ../../install/setup.sh\n  ros2\n  ```\n\u003c/details\u003e\n\n```bash\nrosa wsh # wsh = workspace shell\nros2\n```\n\nFor more information, run `rosa --help` or `rosa \u003ccommand\u003e --help`\n\n## Todo\n### General\n- [ ] Compatibility with more shell environments (currently only bash is supported)\n\n### Watcher\n- [ ] Allow per package configuration of build options (e.g., always use --symlink-install)\n- [ ] Make watcher dependency aware and automatically dependent packages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiukaheng%2Frosa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiukaheng%2Frosa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiukaheng%2Frosa/lists"}