{"id":20213684,"url":"https://github.com/go-spring/gs","last_synced_at":"2025-10-25T20:42:54.731Z","repository":{"id":306773630,"uuid":"1027075963","full_name":"go-spring/gs","owner":"go-spring","description":"Go-Spring Tools Manager (gs) is a command-line program for managing and using various tools in the Go-Spring ecosystem.","archived":false,"fork":false,"pushed_at":"2025-07-27T13:38:27.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-27T15:46:35.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/go-spring.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}},"created_at":"2025-07-27T09:01:56.000Z","updated_at":"2025-07-27T14:50:55.000Z","dependencies_parsed_at":"2025-07-27T15:56:44.667Z","dependency_job_id":null,"html_url":"https://github.com/go-spring/gs","commit_stats":null,"previous_names":["go-spring/gs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/go-spring/gs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fgs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fgs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fgs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fgs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-spring","download_url":"https://codeload.github.com/go-spring/gs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-spring%2Fgs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267496557,"owners_count":24097099,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-14T06:10:53.393Z","updated_at":"2025-10-25T20:42:54.723Z","avatar_url":"https://github.com/go-spring.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go-Spring Tools Manager (gs)\n\n[English](README.md) | [中文](README_CN.md)\n\nGo-Spring Tools Manager (gs) is a command-line program for managing and using various tools in the Go-Spring ecosystem.\n\n## Installation\n\n```shell\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/go-spring/gs/HEAD/install.sh)\"\n```\n\nThis script will automatically install the following tools:\n\n- `gs`: the tool manager itself\n- `gs-init`: creates new Go-Spring projects\n- `gs-gen`: generates code from idl files\n- `gs-mock`: generates mock code based on configuration\n\n### Requirements\n\n- Go language environment (1.24+)\n- GOPATH and GOBIN properly configured\n- GOBIN path needs to be added to the system PATH\n\n## Usage\n\nAfter installation, you can use the following command:\n\n```shell\ngs --help\n```\n\nThis will display all available tools with their versions and descriptions.\n\n### Using Specific Tools\n\n```shell\ngs \u003ctool\u003e [args]\n```\n\nFor example:\n\n- Create a new project: `gs init ...`\n- Generate idl code: `gs gen ...`\n- Generate mock code: `gs mock ...`\n\n### View Tool Help\n\n```shell\ngs \u003ctool\u003e --help\n```\n\n## How It Works\n\nThe tool manager looks for executable files prefixed with `gs-` in its directory (usually `$GOPATH/bin`) and manages\nthem as available tools.\nWhen a user invokes a tool, the manager executes the corresponding executable and passes the arguments.\n\n## License\n\nThis project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-spring%2Fgs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-spring%2Fgs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-spring%2Fgs/lists"}