{"id":15192146,"url":"https://github.com/duc-cnzj/mars","last_synced_at":"2025-10-27T16:31:57.418Z","repository":{"id":37110234,"uuid":"367759665","full_name":"duc-cnzj/mars","owner":"duc-cnzj","description":"专为 devops 而生，30s 内部署一个生产级别的应用，通过 web 部署 helm 应用。","archived":false,"fork":false,"pushed_at":"2024-09-27T18:46:14.000Z","size":13372,"stargazers_count":18,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-28T21:05:12.840Z","etag":null,"topics":["cicd","devops","gitlab","helm","helm-charts","k8s","kubernetes","web"],"latest_commit_sha":null,"homepage":"https://duc-cnzj.github.io/mars/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duc-cnzj.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}},"created_at":"2021-05-16T01:09:26.000Z","updated_at":"2024-09-24T08:52:16.000Z","dependencies_parsed_at":"2023-10-12T15:11:56.300Z","dependency_job_id":"2217bc6d-160d-48b7-9da7-6ee705dd2bfc","html_url":"https://github.com/duc-cnzj/mars","commit_stats":{"total_commits":943,"total_committers":2,"mean_commits":471.5,"dds":0.04347826086956519,"last_synced_commit":"72ee0ad836d75f4d1e565e4c916d8a4188ae8e9a"},"previous_names":[],"tags_count":267,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duc-cnzj%2Fmars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duc-cnzj%2Fmars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duc-cnzj%2Fmars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duc-cnzj%2Fmars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duc-cnzj","download_url":"https://codeload.github.com/duc-cnzj/mars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219860932,"owners_count":16556009,"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":["cicd","devops","gitlab","helm","helm-charts","k8s","kubernetes","web"],"created_at":"2024-09-27T21:05:22.921Z","updated_at":"2025-10-27T16:31:51.631Z","avatar_url":"https://github.com/duc-cnzj.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eMars\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\u003cimg style=\"width: 100px;height: 100px\" src=\"./frontend/public/logo192.png\" /\u003e\u003c/div\u003e\n\u003cp align=\"center\"\u003e专为devops而生，30秒内部署一个应用。\u003c/p\u003e\n\u003cbr\u003e\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![codecov](https://codecov.io/gh/duc-cnzj/mars/branch/master/graph/badge.svg?token=EUSLRBT6NN)](https://codecov.io/gh/duc-cnzj/mars)\n[![unittest](https://github.com/duc-cnzj/mars/actions/workflows/test.yaml/badge.svg)](https://github.com/duc-cnzj/mars/actions/workflows/test.yaml)\n[![Release](https://img.shields.io/github/release/duc-cnzj/mars.svg)](https://github.com/duc-cnzj/mars/releases/latest)\n[![GitHub license](https://img.shields.io/github/license/duc-cnzj/mars)](https://github.com/duc-cnzj/mars/blob/master/LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/duc-cnzj/mars/v5)](https://goreportcard.com/report/github.com/duc-cnzj/mars/v5)\n[![Documentation](https://godoc.org/github.com/duc-cnzj/mars/api/v5?status.svg)](https://pkg.go.dev/github.com/duc-cnzj/mars/api/v5)\n\n\u003c/div\u003e\n\n[查看文档](https://duc-cnzj.github.io/mars/)\n\n## 💡 简介\n\n[Mars](https://github.com/duc-cnzj/mars) 是一款专门为 devops 服务的一款应用，基于 kubernetes 之上，可以在短短几秒内部署一个和生产环境一模一样的应用。它打通了 git、kubernetes、helm，通过 git ci 构建镜像，然后通过 kubernetes 部署高可用应用，一气呵成。\n\n## 🗺️ 背景\n\n随着 devops 概念的兴起，现在软件开发不仅要求开发效率高，而且还要求部署便捷，最好能做到流水线开发打包测试上线一条龙服务。\n[Mars](https://github.com/duc-cnzj/mars) 由此而生，它打通了打包、测试、部署，基于 git ci/cd 做到任何人不管是开发大牛，还是不懂代码的产品小白，都能在 30 秒部署一个生产级别的应用。真真做到一教即会，高效生产。\n\n## ✨ 特性\n\n- 支持基于 helm charts 开发的任何应用。\n- 支持自动配置 https 域名。\n- 支持高可用，弹性部署。\n- 支持命令行操作。\n- 支持查看容器日志。\n- 支持查看容器 cpu 和内存使用情况。\n- 插件化\n  - 队列驱动: ws_sender_nsq, ws_sender_redis, ws_sender_memory\n  - 证书驱动: manual_domain_manager, cert-manager_domain_manager, sync_secret_domain_manager\n  - 代码仓库支持: gitlab ~~github~~\n  - 背景图: picture_cartoon，picture_bing\n- sdk 接入:\n  - [grpc-go-sdk](https://github.com/duc-cnzj/mars/tree/master/api)\n\n## 🍀 go-sdk 接入\n\n```\ngo get -u github.com/duc-cnzj/mars/api/v5\n```\n\n```golang\npackage main\n\nimport (\n  api \"github.com/duc-cnzj/mars/api/v5\"\n)\n\nfunc main()  {\n  c, _ := api.NewClient(\"127.0.0.1:50000\",\n    api.WithAuth(\"admin\", \"123456\"),\n    api.WithTokenAutoRefresh(),\n  )\n  defer c.Close()\n\n  // ...\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduc-cnzj%2Fmars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduc-cnzj%2Fmars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduc-cnzj%2Fmars/lists"}