{"id":13492197,"url":"https://github.com/apolloconfig/agollo","last_synced_at":"2025-05-14T04:07:53.380Z","repository":{"id":37430213,"uuid":"95178985","full_name":"apolloconfig/agollo","owner":"apolloconfig","description":"🚀Go client for ctrip/apollo (https://github.com/apolloconfig/apollo)","archived":false,"fork":false,"pushed_at":"2025-04-11T04:14:17.000Z","size":857,"stargazers_count":738,"open_issues_count":2,"forks_count":191,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-11T16:30:24.988Z","etag":null,"topics":["apollo","apollo-client","client-library","client-side","configuration-management","go","godoc","golang"],"latest_commit_sha":null,"homepage":"https://www.apolloconfig.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/apolloconfig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":["apolloconfig"],"open_collective":"apollo"}},"created_at":"2017-06-23T03:17:45.000Z","updated_at":"2025-05-05T04:27:08.000Z","dependencies_parsed_at":"2023-10-11T14:20:08.516Z","dependency_job_id":"969f1312-ed69-4962-b0ad-135a86bfd559","html_url":"https://github.com/apolloconfig/agollo","commit_stats":{"total_commits":597,"total_committers":55,"mean_commits":"10.854545454545455","dds":0.2211055276381909,"last_synced_commit":"9660dd099e88535c24ef4553cf20db40926251b8"},"previous_names":[],"tags_count":78,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apolloconfig%2Fagollo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apolloconfig%2Fagollo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apolloconfig%2Fagollo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apolloconfig%2Fagollo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apolloconfig","download_url":"https://codeload.github.com/apolloconfig/agollo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254069639,"owners_count":22009558,"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":["apollo","apollo-client","client-library","client-side","configuration-management","go","godoc","golang"],"created_at":"2024-07-31T19:01:03.918Z","updated_at":"2025-05-14T04:07:53.312Z","avatar_url":"https://github.com/apolloconfig.png","language":"Go","funding_links":["https://github.com/sponsors/apolloconfig","https://opencollective.com/apollo"],"categories":["Go"],"sub_categories":[],"readme":"Agollo - Go Client for Apollo\n================\nEnglish | [中文](/README_CN.md)\n\n[![golang](https://img.shields.io/badge/Language-Go-green.svg?style=flat)](https://golang.org)\n[![Build Status](https://github.com/apolloconfig/agollo/actions/workflows/go.yml/badge.svg)](https://github.com/apolloconfig/agollo/actions/workflows/go.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/apolloconfig/agollo)](https://goreportcard.com/report/github.com/apolloconfig/agollo)\n[![codebeat badge](https://codebeat.co/badges/bc2009d6-84f1-4f11-803e-fc571a12a1c0)](https://codebeat.co/projects/github-com-apolloconfig-agollo-master)\n[![Coverage Status](https://coveralls.io/repos/github/apolloconfig/agollo/badge.svg?branch=master)](https://coveralls.io/github/apolloconfig/agollo?branch=master)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![GoDoc](http://godoc.org/github.com/apolloconfig/agollo?status.svg)](http://godoc.org/github.com/apolloconfig/agollo)\n[![GitHub release](https://img.shields.io/github/release/apolloconfig/agollo.svg)](https://github.com/apolloconfig/apolloconfig/releases)\n[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu)\n\nA Golang client for the configuration center framework [Apollo](https://github.com/apolloconfig/apollo).\n\n# Features\n\n* Support for multiple IPs, AppIDs, and namespaces\n* Real-time configuration synchronization\n* Gray release configuration\n* Lazy loading (runtime) namespaces\n* Client-side and configuration file fallback\n* Customizable logger and cache components\n* Support for configuration access keys\n\n# Usage\n\n## Quick Start\n\n### Import agollo\n\n```\ngo get -u github.com/apolloconfig/agollo/v4@latest\n```\n\n### Initialize agollo\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/apolloconfig/agollo/v4\"\n\t\"github.com/apolloconfig/agollo/v4/env/config\"\n)\n\nfunc main() {\n\tc := \u0026config.AppConfig{\n\t\tAppID:          \"testApplication_yang\",\n\t\tCluster:        \"dev\",\n\t\tIP:             \"http://localhost:8080\",\n\t\tNamespaceName:  \"dubbo\",\n\t\tIsBackupConfig: true,\n\t\tSecret:         \"6ce3ff7e96a24335a9634fe9abca6d51\",\n\t}\n\n\tclient, _ := agollo.StartWithConfig(func() (*config.AppConfig, error) {\n\t\treturn c, nil\n\t})\n\tfmt.Println(\"Apollo configuration initialized successfully\")\n\n\t//Use your apollo key to test\n\tcache := client.GetConfigCache(c.NamespaceName)\n\tvalue, _ := cache.Get(\"key\")\n\tfmt.Println(value)\n}\n```\n\n## More Examples\n\n***Demo Project***: [agollo_demo](https://github.com/zouyx/agollo_demo)\n\n***Other Languages:***: Use [agollo-agent](https://github.com/zouyx/agollo-agent.git) as a local agent for languages like PHP.\n\nCheck out our [Wiki](https://github.com/apolloconfig/agollo/wiki) or [godoc](http://godoc.org/github.com/zouyx/agollo) for more information.\n\nIf you find this tool useful or encounter any issues, please let me know via email or by [creating an issue](https://github.com/apolloconfig/agollo/issues)。\n\n# User\n\n* [User List](https://github.com/apolloconfig/agollo/issues/20)\n\n# Contribution\n\n* Source Code: https://github.com/apolloconfig/agollo/\n* Issue Tracker: https://github.com/apolloconfig/agollo/issues\n\n# License\n\nThe project is licensed under the [Apache 2 license](https://github.com/apolloconfig/agollo/blob/master/LICENSE).\n\n# Reference\n\nApollo: [https://github.com/apolloconfig/apollo](https://github.com/apolloconfig/apollo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapolloconfig%2Fagollo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapolloconfig%2Fagollo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapolloconfig%2Fagollo/lists"}