{"id":15091376,"url":"https://github.com/userosettadev/rosetta-cli","last_synced_at":"2026-03-05T09:33:06.937Z","repository":{"id":230894289,"uuid":"778399689","full_name":"userosettadev/rosetta-cli","owner":"userosettadev","description":"Converting code into OpenAPI Specification","archived":false,"fork":false,"pushed_at":"2025-05-26T11:21:42.000Z","size":116,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T13:56:14.392Z","etag":null,"topics":["ai","api","devops","openapi","openapi-specification","swagger"],"latest_commit_sha":null,"homepage":"https://www.userosetta.com/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/userosettadev.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-27T16:43:51.000Z","updated_at":"2025-08-21T12:28:14.000Z","dependencies_parsed_at":"2024-04-11T10:46:23.304Z","dependency_job_id":"f7c66546-1a83-41f2-9c61-6fc6eb4ec8a1","html_url":"https://github.com/userosettadev/rosetta-cli","commit_stats":{"total_commits":60,"total_committers":5,"mean_commits":12.0,"dds":0.2666666666666667,"last_synced_commit":"6776bdc44b9d47f70e6c4000a17371368ba91adf"},"previous_names":["userosettadev/rosetta-cli"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/userosettadev/rosetta-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userosettadev%2Frosetta-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userosettadev%2Frosetta-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userosettadev%2Frosetta-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userosettadev%2Frosetta-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/userosettadev","download_url":"https://codeload.github.com/userosettadev/rosetta-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userosettadev%2Frosetta-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30117717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T08:19:04.902Z","status":"ssl_error","status_checked_at":"2026-03-05T08:17:37.148Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ai","api","devops","openapi","openapi-specification","swagger"],"created_at":"2024-09-25T10:40:40.556Z","updated_at":"2026-03-05T09:33:06.902Z","avatar_url":"https://github.com/userosettadev.png","language":"Go","readme":"[![CI](https://github.com/userosettadev/rosetta-cli/actions/workflows/go.yml/badge.svg)](https://github.com/userosettadev/rosetta-cli/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/userosettadev/rosetta-cli)](https://goreportcard.com/report/github.com/userosettadev/rosetta-cli)\n[![codecov](https://codecov.io/gh/userosettadev/rosetta-cli/graph/badge.svg?token=XOWMEPON83)](https://codecov.io/gh/userosettadev/rosetta-cli)\n[![Latest Git Tag](https://img.shields.io/github/tag/userosettadev/rosetta-cli.svg)](https://github.com/userosettadev/rosetta-cli/releases)\n\n# Getting Started\nRosetta is a service that automatically generates an OpenAPI specification from code.\n\n## Limitations\n- **Supported Languages**: Currently, _Rosetta_ exclusively supports Go. However, we are actively working on expanding language support.  \nIf you want to support another language, [please let us know](https://github.com/userosettadev/rosetta-cli/discussions/5).\n- **Number of Runs**: The number of runs allowed is based on your account type.\n- **Project Size**: The maximum project size is based on your account type.\n\n## Installation\n\n### Install with Go\n```bash\ngo install github.com/userosettadev/rosetta-cli@latest\n```\n\n### macOS\nRosetta can be installed on macOS using [Homebrew](https://brew.sh/):\n```bash\nbrew tap userosettadev/rosetta\nbrew install rosetta\n```\n\n### Windows\nFor Windows, you can download the Rosetta executable from the [releases page](TODO).\n\n1. Visit the releases page and download the latest version of Rosetta for Windows.\n2. Extract the downloaded archive.\n3. Move the `rosetta.exe` file to a directory in your system's `PATH`.\n\n## Verify Installation\nAfter the installation is complete, you can verify it by running the following command (or executing the appropriate method for your installation):\n```\nrosetta --version\n```\n\n## Setup\nBefore using Rosetta, you need to set the `ROSETTA_API_KEY` environment variable:\n```\nexport ROSETTA_API_KEY=\u003cyour_api_key\u003e\n```\nTo get a key, [signup to Rosetta](https://www.userosetta.com/).\n\n## Running Rosetta - Generating an OpenAPI Spec\nTo generate an OpenAPI specification from your code using Rosetta, you can use the `gen` command followed by the path to your code and the programming language.\n```\nrosetta gen /path/to/code -l \u003clanguage\u003e\n```\n\n### Example\nTo generate an OpenAPI specification from Go code located in the `./myapp` directory, you would run:\n```\nrosetta gen ./myapp -l go\n```\nThis command will analyze the Go code in the `./myapp` directory and generate an OpenAPI specification based on the code.\n\n### Docker\nRosetta is also available as a Docker image:\n```bash\ndocker run --rm -v $PWD:/app -w /app -e ROSETTA_API_KEY=$ROSETTA_API_KEY ghcr.io/userosettadev/rosetta-cli gen /path/to/code -l go\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserosettadev%2Frosetta-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuserosettadev%2Frosetta-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserosettadev%2Frosetta-cli/lists"}