{"id":18771785,"url":"https://github.com/kekepower/zini","last_synced_at":"2026-04-29T08:34:17.302Z","repository":{"id":223677372,"uuid":"761210248","full_name":"kekePower/zini","owner":"kekePower","description":"A Zsh INI file reader","archived":false,"fork":false,"pushed_at":"2024-02-23T22:12:16.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T08:12:06.078Z","etag":null,"topics":["ini","ini-reader","shell","shell-functions","shell-script","zsh","zsh-function"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kekePower.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-21T12:56:34.000Z","updated_at":"2024-02-21T13:04:22.000Z","dependencies_parsed_at":"2024-02-21T14:28:28.011Z","dependency_job_id":null,"html_url":"https://github.com/kekePower/zini","commit_stats":null,"previous_names":["kekepower/zini"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kekePower%2Fzini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kekePower%2Fzini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kekePower%2Fzini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kekePower%2Fzini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kekePower","download_url":"https://codeload.github.com/kekePower/zini/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239679717,"owners_count":19679501,"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":["ini","ini-reader","shell","shell-functions","shell-script","zsh","zsh-function"],"created_at":"2024-11-07T19:26:38.484Z","updated_at":"2025-12-12T14:30:16.799Z","avatar_url":"https://github.com/kekePower.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# zini\nA Zsh INI file reader.\n\nI created this Zsh function as part of my [Quick Site Generator 2](https://github.com/kekePower/qsgen2) script to read the config file.\n\n### Example INI file\n\n```\n; This is a comment\n[section]\nname = value\n\n[other_section]\nname = value\n```\n\n### Usage\n\nPlace the file ```zini``` in your ```fpath``` and use Zsh's ```autoload``` to load the function.\n\n```\n#!/usr/bin/zsh\n\n# You can also add your own paths to fpath\n# and place zini there.\nfpath=(${HOME}/zsh-functions $fpath)\nautoload zini\nzini /path/to/your/ini-file\n```\n\nThen you can fetch the values like this\n\n```\n${config[section_name]}\n${config[other_section_name]}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkekepower%2Fzini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkekepower%2Fzini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkekepower%2Fzini/lists"}