{"id":37107939,"url":"https://github.com/microcodebase/microconfig","last_synced_at":"2026-01-14T12:57:52.247Z","repository":{"id":57514352,"uuid":"136800360","full_name":"microcodebase/microconfig","owner":"microcodebase","description":"go micro config parser ","archived":false,"fork":false,"pushed_at":"2018-10-22T18:08:00.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T15:49:00.614Z","etag":null,"topics":["config","go","golang","parser","properties"],"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/microcodebase.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}},"created_at":"2018-06-10T10:45:23.000Z","updated_at":"2024-02-23T12:54:53.000Z","dependencies_parsed_at":"2022-09-26T16:31:09.449Z","dependency_job_id":null,"html_url":"https://github.com/microcodebase/microconfig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/microcodebase/microconfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microcodebase%2Fmicroconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microcodebase%2Fmicroconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microcodebase%2Fmicroconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microcodebase%2Fmicroconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microcodebase","download_url":"https://codeload.github.com/microcodebase/microconfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microcodebase%2Fmicroconfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"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":["config","go","golang","parser","properties"],"created_at":"2026-01-14T12:57:51.598Z","updated_at":"2026-01-14T12:57:52.242Z","avatar_url":"https://github.com/microcodebase.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# microconfig\ngo micro config parser\n\n## Features\n\n- Tested and used in production\n- Zero memory allocations\n- KISS principle \"Keep it simple, stupid\"\n- No dependencies\n\n\n## Installing\n\n1. Get package:\n\n\t```Shell\n\tgo get github.com/microcodebase/microconfig\n\t```\n\n2. Import it in your code:\n\n\t```Go\n\timport \"github.com/microcodebase/microconfig\"\n\t```\n\n## Usage\n\n1. Load config file:\n\n\t```Go\n\tconf, err := microconfig.ParseFile(\"zzz.conf\")\n\t```\n\n2. Parse config from string or []byte:\n\n\t```Go\n\tconf := microconfig.Parse([]byte(\"a = 1\"))\n\t```\n\n3. Config are read to string map:\n\n\t```Go\n\tvar conf map[string]string = microconfig.Parse([]byte(\"key = value\"))\n\tvalue := conf[\"key\"]\n\t```\n\n### Configuration example\n\n```\n# a config comment\n\n# support the name = value format\nPort=8000\n\n# support spaces\n  key1 = some value\n  key2 = some other value\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrocodebase%2Fmicroconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrocodebase%2Fmicroconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrocodebase%2Fmicroconfig/lists"}