{"id":18455610,"url":"https://github.com/memowe/trivialini","last_synced_at":"2025-10-28T10:10:44.057Z","repository":{"id":47336862,"uuid":"346432780","full_name":"memowe/trivialini","owner":"memowe","description":"Ultra light weight ini file parser","archived":false,"fork":false,"pushed_at":"2024-05-03T10:31:25.000Z","size":70,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-02T17:54:20.033Z","etag":null,"topics":["config","haskell","haskell-library","ini","lightweight","parser"],"latest_commit_sha":null,"homepage":"https://mirko.westermeier.de/trivialini","language":"Haskell","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/memowe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-03-10T17:10:31.000Z","updated_at":"2024-05-03T10:35:22.000Z","dependencies_parsed_at":"2024-05-02T12:59:47.205Z","dependency_job_id":"d4736d7c-ee62-4a37-a295-5b28a6d73185","html_url":"https://github.com/memowe/trivialini","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/memowe/trivialini","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memowe%2Ftrivialini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memowe%2Ftrivialini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memowe%2Ftrivialini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memowe%2Ftrivialini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memowe","download_url":"https://codeload.github.com/memowe/trivialini/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memowe%2Ftrivialini/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281419471,"owners_count":26497988,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","haskell","haskell-library","ini","lightweight","parser"],"created_at":"2024-11-06T08:08:33.717Z","updated_at":"2025-10-28T10:10:44.039Z","avatar_url":"https://github.com/memowe.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trivialini\n\n**Ultra light weight ini file parser, written in Haskell**\n\n[![Test \u0026 API Docs pipeline](https://github.com/memowe/trivialini/actions/workflows/test-apidocs.yml/badge.svg)](https://github.com/memowe/trivialini/actions/workflows/test-apidocs.yml)\n[![API docs](https://img.shields.io/badge/Haddock-Documentation-8a80a8?style=flat\u0026logo=haskell\u0026logoColor=lightgray)](https://mirko.westermeier.de/trivialini/Trivialini.html)\n\n## Overview\n\nConsider a simple ini-like file `config.ini` like this:\n\n```\n[something]\nfoo = bar\n\n[something else]\nanswer = 42\nname = Boaty McBoatface\n```\n\nThere are two *sections* (inbetween `[` and `]`) defined, `something` and `something else`. These sections contain a dictionary of Strings each, the keys being some string followed by `=`, and anything else until end of the line as values. The leading and trailing spaces in section headers, keys and values are trimmed.\n\n**trivialini** simply parses a map of maps of strings from this data:\n\n```bash\n$ cat config.ini\n[foo]\nbar = 42\n```\n\n```\nλ\u003e ini \u003c- readIniFileStrings \"config.ini\"\nλ\u003e ini ! \"foo\" ! \"bar\"\n\"42\"\n```\n\n## Contributors\n\n[![Contributor Covenant 2.0](https://img.shields.io/badge/Code%20of%20Conduct-Contributor%20Covenant%202.0-8f761b.svg?style=flat\u0026logo=adguard\u0026logoColor=lightgray)](CODE_OF_CONDUCT.md)\n\n- Alexander Pankoff ([@ccntrq](https://github.com/ccntrq))\n- Mirko Westermeier ([@memowe](https://github.com/memowe))\n\n## Author and License\n\nCopyright (c) 2021-2024 Mirko Westermeier\n\nReleased under the MIT license. See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemowe%2Ftrivialini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemowe%2Ftrivialini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemowe%2Ftrivialini/lists"}