{"id":21337779,"url":"https://github.com/freeslave/inilike","last_synced_at":"2026-02-07T11:02:28.026Z","repository":{"id":32989045,"uuid":"36617398","full_name":"FreeSlave/inilike","owner":"FreeSlave","description":"D library for parsing .ini-like files used in Freedesktop systems","archived":false,"fork":false,"pushed_at":"2022-11-19T00:21:11.000Z","size":174,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-21T11:45:39.941Z","etag":null,"topics":["d","dlang","freedesktop"],"latest_commit_sha":null,"homepage":"","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FreeSlave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_1_0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-31T18:59:43.000Z","updated_at":"2024-08-28T22:21:15.000Z","dependencies_parsed_at":"2023-01-14T22:57:05.446Z","dependency_job_id":null,"html_url":"https://github.com/FreeSlave/inilike","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/FreeSlave/inilike","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Finilike","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Finilike/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Finilike/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Finilike/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FreeSlave","download_url":"https://codeload.github.com/FreeSlave/inilike/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Finilike/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29193089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"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":["d","dlang","freedesktop"],"created_at":"2024-11-22T00:01:28.982Z","updated_at":"2026-02-07T11:02:28.011Z","avatar_url":"https://github.com/FreeSlave.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inilike\n\nInilike is D library for parsing **.ini-like** files used in Freedesktop systems in various places (.desktop files, icon themes, mimeapps.list, mimeinfo.cache, trashcan files on freedesktop, etc.)\n\n[![Build Status](https://github.com/FreeSlave/inilike/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/FreeSlave/inilike/actions/workflows/ci.yml) [![Coverage Status](https://coveralls.io/repos/FreeSlave/inilike/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/FreeSlave/inilike?branch=master)\n\n[Online documentation](https://freeslave.github.io/d-freedesktop/docs/inilike.html)\n\nNote: the original purpose of this library is to serve as dependency for my other projects, e.g. [desktopfile](https://github.com/FreeSlave/desktopfile) and [icontheme](https://github.com/FreeSlave/icontheme). It may be not suitable to save configuration files using this library. You have been warned.\n\n## Format\n\nFreedesktop specifications use the format which is sometimes referred to as **.ini-like** because it's very similiar to **INI** used in MS Windows with small differences:\n\n1. Comments start with '#', not ';'.\n2. Each comment is always placed on its own line. Key-value can't be mixed with a comment on the same line.\n\nExample:\n\n    # Comment\n    [Group name]\n    Key=Value\n    # Comment inside group\n    AnotherKey=Value\n\n    [Another group]\n    Key=English value\n    Key[fr_FR]=Francais value\n\n## Localized values lookup\n\nThe localized value is the value associated with the localized key. Localized keys look like this:\n\n    keyname[locale]\n\nwhere **locale** is the [POSIX locale](http://en.wikipedia.org/wiki/Locale) with the charset part dropped.\n\nInilike library has support for lookup of localized values, using the algorithm described in [Desktop Entry Specification](https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html).\n\n## Subclassing IniLikeFile\n\nIniLikeFile is the base class for file of ini-like format. To change its functionality (validation and other behavior) it needs to be subclassed. \nSee [example](source/inilike/package.d) in unittests that shows which functions can be overridden.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeslave%2Finilike","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreeslave%2Finilike","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeslave%2Finilike/lists"}