{"id":46774354,"url":"https://github.com/protoconf/libprotoconf","last_synced_at":"2026-03-09T23:41:59.568Z","repository":{"id":46395869,"uuid":"404659041","full_name":"protoconf/libprotoconf","owner":"protoconf","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-05T04:25:01.000Z","size":95,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-21T18:07:31.860Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/protoconf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-09-09T09:18:24.000Z","updated_at":"2021-10-31T09:13:36.000Z","dependencies_parsed_at":"2024-06-21T16:43:46.455Z","dependency_job_id":"df7746d1-9697-48f6-9d2a-c2019733818d","html_url":"https://github.com/protoconf/libprotoconf","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/protoconf/libprotoconf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protoconf%2Flibprotoconf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protoconf%2Flibprotoconf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protoconf%2Flibprotoconf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protoconf%2Flibprotoconf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/protoconf","download_url":"https://codeload.github.com/protoconf/libprotoconf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protoconf%2Flibprotoconf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30316774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-03-09T23:41:59.469Z","updated_at":"2026-03-09T23:41:59.553Z","avatar_url":"https://github.com/protoconf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# .//libprotoconf\n\n[![Test and coverage](https://github.com/protoconf/libprotoconf/actions/workflows/ci.yml/badge.svg)](https://github.com/protoconf/libprotoconf/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/protoconf/libprotoconf/branch/main/graph/badge.svg?token=4YsYeTWEYa)](https://codecov.io/gh/protoconf/libprotoconf)\n[![Go Reference](https://pkg.go.dev/badge/github.com/protoconf/libprotoconf.svg)](https://pkg.go.dev/github.com/protoconf/libprotoconf)\n\nRuntime configuration made easy with `protocol-buffers`.\n\n## Goals\n\nDevelopers can define their desired configuration struct in a proto file, then get all sorts of ways to load that configuration into their software runtime:\n\n- [x] Populate config from environment variables\n- [x] Get a `flag.FlagSet` instance\n- [ ] Read and merge configs from global, user and workspace locations (`/etc/mypackage/`, `$USER/.mypackage/`, `$(pwd)/.mypackage/`)\n- Allow configuration changes dynamically\n  - [ ] Reload on Signals\n  - [ ] Reload on file change (`inotify`)\n  - [ ] `gRPC`/`rest` configuration endpoints\n  - [ ] key-value stores (`consul`, `etcd`, `zookeeper`, `redis`)\n  - [ ] protoconf gRPC streaming agent\n- Formats:\n  - [x] JSON (`.json`)\n  - [x] YAML (`.yaml`, `.yml`)\n  - [x] pbtext (`.pb`)\n  - [x] pb binary (`.data`)\n  - [x] pb binary with base64 encoding (`.base64`, `.b64`)\n  - [x] jsonnet (`.jsonnet`)\n  - [x] toml (`.toml`)\n  - [ ] hcl (`.hcl`)\n  - [ ] cue (`.cue`)\n- [ ] Pre/Post hooks for dynamic changes\n- Debugging features\n  - [ ] `ShowConfig()` method (available via gRPC/rest)\n  - [ ] `ConfigMetadata()` method (available via gRPC/rest)\n    - [ ] Where a specific variable was set (env/flag/which file/key value store/rpc)\n    - [ ] When was the change applied to runtime\n    - [ ] When was the change made (if made before the process was starting)\n    - [ ] Who made the change (if data available)\n  - [ ] `/varz` http endpoint\n  - [ ] `/metrics` http endpoint for prometheus (with `ConfigMetadata()` information available)\n\n## Implementations\n\n- First implementation will be in Go. This implementation will also include the `protoconf` gRPC streaming agent, so developers of any language can use the dynamic reload features as a sidecar agent.\n- Future implementations (please vote!)\n  - Rust (will probably replace Go for the agent implementation)\n  - Python\n  - JavaScript\n  - Java\n  - C++\n  - Suggest other languages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotoconf%2Flibprotoconf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotoconf%2Flibprotoconf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotoconf%2Flibprotoconf/lists"}