{"id":16348407,"url":"https://github.com/devinus/confit","last_synced_at":"2025-10-26T02:30:27.036Z","repository":{"id":2910709,"uuid":"3919964","full_name":"devinus/confit","owner":"devinus","description":"An Erlang configuration preserver","archived":false,"fork":false,"pushed_at":"2012-04-03T16:24:32.000Z","size":236,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-03T23:45:05.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://devinus.github.com/confit","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devinus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-03T16:22:58.000Z","updated_at":"2019-07-15T21:15:30.000Z","dependencies_parsed_at":"2022-09-12T05:41:23.642Z","dependency_job_id":null,"html_url":"https://github.com/devinus/confit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fconfit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fconfit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fconfit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinus%2Fconfit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devinus","download_url":"https://codeload.github.com/devinus/confit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238241452,"owners_count":19439768,"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":[],"created_at":"2024-10-11T00:51:41.909Z","updated_at":"2025-10-26T02:30:26.628Z","avatar_url":"https://github.com/devinus.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"Confit - An Erlang configuration preserver\n==========================================\n\nConfit allows you to parse and store configuration values for your\napplications to use during runtime.\n\nUsage\n-----\n\n```erlang\nconfit:start_link(foo, \"foo.config\"),\nUsername = confit:get(foo, database, username)\n```\n\n### Parsing other configuration formats\n\nCreate a module to parse your configuration format and make sure it exports\na function `parse_file/1` that returns `{ok, Proplist}`. The `confit_parser`\nbehaviour specifies the interface. See `confit_term_parser.erl`.\n\nFor example, to use [Zucchini](https://github.com/devinus/zucchini):\n\n```erlang\nconfit:start_link(foo, zucchini, \"foo.ini\"),\nUsername = confit:get(foo, database, username)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinus%2Fconfit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevinus%2Fconfit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinus%2Fconfit/lists"}