{"id":20539211,"url":"https://github.com/ysicing/ergo","last_synced_at":"2025-09-10T12:40:47.317Z","repository":{"id":37082917,"uuid":"254817184","full_name":"ysicing/ergo","owner":"ysicing","description":"运维效能工具devops tools","archived":false,"fork":false,"pushed_at":"2024-12-12T15:58:50.000Z","size":28762,"stargazers_count":24,"open_issues_count":5,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-14T07:56:31.386Z","etag":null,"topics":["devops","tools","ysicing-environment"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ysicing.png","metadata":{"files":{"readme":"README-EN.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"ysicing","custom":["https://sponsor.ysicing.net/"]}},"created_at":"2020-04-11T07:38:40.000Z","updated_at":"2025-01-16T10:28:21.000Z","dependencies_parsed_at":"2023-02-17T21:16:05.836Z","dependency_job_id":"f1928bb0-b9b4-4b00-8a6f-8742ef5eb445","html_url":"https://github.com/ysicing/ergo","commit_stats":null,"previous_names":[],"tags_count":133,"template":false,"template_full_name":null,"purl":"pkg:github/ysicing/ergo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysicing%2Fergo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysicing%2Fergo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysicing%2Fergo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysicing%2Fergo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysicing","download_url":"https://codeload.github.com/ysicing/ergo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysicing%2Fergo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274463643,"owners_count":25290115,"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-09-10T02:00:12.551Z","response_time":83,"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":["devops","tools","ysicing-environment"],"created_at":"2024-11-16T00:49:53.658Z","updated_at":"2025-09-10T12:40:47.266Z","avatar_url":"https://github.com/ysicing.png","language":"Go","readme":"# ergo\n\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=ysicing_ergo\u0026metric=ncloc)](https://sonarcloud.io/dashboard?id=ysicing_ergo)\n![GitHub Workflow Status (event)](https://img.shields.io/github/workflow/status/ysicing/ergo/tag?style=flat-square)\n![GitHub go.mod Go version (subdirectory of monorepo)](https://img.shields.io/github/go-mod/go-version/ysicing/ergo?filename=go.mod\u0026style=flat-square)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/w/ysicing/ergo?style=flat-square)\n![GitHub all releases](https://img.shields.io/github/downloads/ysicing/ergo/total?style=flat-square)\n![GitHub](https://img.shields.io/github/license/ysicing/ergo?style=flat-square)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ysicing/ergo)](https://goreportcard.com/report/github.com/ysicing/ergo)\n[![Releases](https://img.shields.io/github/release-pre/ysicing/ergo.svg)](https://github.com/ysicing/ergo/releases)\n[![docs](https://img.shields.io/badge/docs-done-green)](https://ysicing.github.io/ergo/)\n\n\u003e 一款使用 Go 编写的轻量运维工具集,尽量减少重复工作，同时降低维护脚本的成本\n\ncompatibility:\n\n- [x] 100% support `Debian 10+`\n- [ ] for macOS some features are available\n- [ ] for CentOS some features are available\n\n## ergo能干什么 / What does Ergo do?\n\n- 将常用脚本或者公有云操作抽象成cli命令, 简化工作\n- 灵活的自定义插件管理工具,像使用`helm repo`方式管理插件\n\n## Install\n\n### Binary\n\nDownloaded from [release](https://github.com/ysicing/ergo/releases) pre-compiled binaries\n\n### macOS Install\n\n```bash\nbrew tap ysicing/tap\nbrew install ergo\n```\n\n### Running with Docker\n\n```bash\nysicing/ergo\n```\n\n### Debian Install\n\n```bash\necho \"deb [trusted=yes] https://debian.ysicing.me/ /\" | sudo tee /etc/apt/sources.list.d/ergo.list\napt update\n# 避免与源里其他ergo混淆,deb包为opsergo\napt-get install -y opsergo\nergo version\n```\n\n### Building From Source\n\nergo is currently using go v1.16 or above. In order to build ergo from source you must:\n\n```bash\n# Clone the repo\n# Build and run the executable\nmake build \u0026\u0026 ./dist/ergo_darwin_amd64 \n```\n\n### Upgrade\n\n```bash\n# macOS\nbrew upgrade\n# apt / debian\napt-get update\napt-get --only-upgrade install opsergo\n# default\nergo upgrade\n# other\nergo ops wget https://github.com/ysicing/ergo/releases/latest/download/ergo_linux_amd64\n/root/.ergo/tmp/ergo_linux_amd64 experimental install\n```\n\n## Support\n\n具体参见[文档](./docs/index.md)\n\n### China Mainland users\n\n\u003e 默认github相关资源使用ghproxy代理，可使用`export NO_MIRROR=6wa6wa`不使用代理加速地址\n\n### ergo plugin\n\n\u003e 默认支持`ergo-`插件, 类似krew\n\n```bash\n# 列出插件\nergo plugin list\n[warn]   Unable to read directory \"/Users/ysicing/bin\" from your PATH: open /Users/ysicing/bin: no such file or directory. Skipping...\nThe following compatible plugins are available:\n[info]   doge /usr/local/bin/ergo-doge\n[info]   hello /Users/ysicing/.ergo/bin/ergo-hello\n\n# ergo-doge插件\ncat /usr/local/bin/ergo-doge                                   \n#!/bin/bash\necho $@\n\n# 使用\nergo doge haha  \nhaha\n\n# 插件仓库列表\nergo repo list\n[info]   上次变更时间: 2021-10-13 15:37:18.782145 +0800 CST\nNAME      URL                                                           \ndefault   https://raw.githubusercontent.com/ysicing/ergo-plugin/master/default.yaml\n\n# 列出远程插件\nergo plugin ls-remote \n[done] √ 索引全部更新完成\n[done] √ 加载完成.\nrepo          \tname \tversion  \thomepage                           \tdesc                                            \turl\ndefault-plugin\thelm \tv3.7.1   \thttps://helm.sh                    \tThe Kubernetes Package Manager                  \thttps://get.helm.sh/helm-v3.7.1-linux-amd64.tar.gz\n```\n\n#### Issue\n\n- Q: docker compose命令不识别\n  - A: 需要使用compose v2版本 [配置文档](https://github.com/docker/compose#linux)\n\n#### 其他开源项目\n\n\u003e 感谢以下项目\n\n- [loft-sh/devspace](https://github.com/loft-sh/devspace)\n- [cdk-team/CDK](https://github.com/cdk-team/CDK)\n- [kubernetes/kubectl](https://github.com/kubernetes/kubernetes)\n- [helm/helm](https://github.com/helm/helm)\n\n## 🎉🎉 Sponsors\n\n[![jetbrains](docs/jetbrains.svg)](https://www.jetbrains.com/?from=ergo)\n\n## 📊 Stats\n\n![Alt](https://repobeats.axiom.co/api/embed/7067f86501e4c17c2f638dcc419df0a047b01208.svg \"Repobeats analytics image\")","funding_links":["https://github.com/sponsors/ysicing","https://sponsor.ysicing.net/"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysicing%2Fergo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysicing%2Fergo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysicing%2Fergo/lists"}