{"id":22012824,"url":"https://github.com/emako/fischless.configuration","last_synced_at":"2026-01-29T17:32:41.458Z","repository":{"id":264296240,"uuid":"876881965","full_name":"emako/Fischless.Configuration","owner":"emako","description":"A simple configuration library used for Fischless.","archived":false,"fork":false,"pushed_at":"2025-10-10T06:47:18.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-14T13:20:40.358Z","etag":null,"topics":["configuration","fischless"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/Fischless.Configuration/","language":"C#","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/emako.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-22T17:54:46.000Z","updated_at":"2025-10-10T06:45:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"19475708-a87f-428e-a24b-db296157f7dc","html_url":"https://github.com/emako/Fischless.Configuration","commit_stats":null,"previous_names":["emako/fischless.configuration"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/emako/Fischless.Configuration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emako%2FFischless.Configuration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emako%2FFischless.Configuration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emako%2FFischless.Configuration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emako%2FFischless.Configuration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emako","download_url":"https://codeload.github.com/emako/Fischless.Configuration/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emako%2FFischless.Configuration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28881982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T16:41:59.663Z","status":"ssl_error","status_checked_at":"2026-01-29T16:39:39.641Z","response_time":59,"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":["configuration","fischless"],"created_at":"2024-11-30T03:14:38.861Z","updated_at":"2026-01-29T17:32:41.453Z","avatar_url":"https://github.com/emako.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NuGet](https://img.shields.io/nuget/v/Fischless.Configuration.svg)](https://nuget.org/packages/Fischless.Configuration) [![GitHub license](https://img.shields.io/github/license/emako/Fischless.Configuration)](https://github.com/emako/Fischless.Configuration/blob/master/LICENSE) [![Actions](https://github.com/emako/Fischless.Configuration/actions/workflows/library.nuget.yml/badge.svg)](https://github.com/emako/Fischless.Configuration/actions/workflows/library.nuget.yml)\n\n# Fischless.Configuration\n\nA simple configuration library used for [Fischless](https://github.com/GenshinMatrix/Fischless).\n\nThe library may not offer the highest performance, but it is highly convenient to use.\n\nInstall `ConfigurationSerializer` from nuget:\n\n| Name                         | Nuget                                                        |\n| ---------------------------- | ------------------------------------------------------------ |\n| Fischless.Configuration.Json | [![NuGet](https://img.shields.io/nuget/v/Fischless.Configuration.Json.svg)](https://nuget.org/packages/Fischless.Configuration.Json) |\n| Fischless.Configuration.Yaml | [![NuGet](https://img.shields.io/nuget/v/Fischless.Configuration.Yaml.svg)](https://nuget.org/packages/Fischless.Configuration.Yaml) |\n| Fischless.Configuration.Ini  | Not available                                                |\n\nAnother configuration library [here](https://github.com/lemutec/LyricStudio/tree/master/src/Desktop/LyricStudio/Core/Configuration) used for LyricStudio.\n\n## Usage\n\n1. Definition of yours in `Configurations.cs`.\n\n```c#\npublic static class Configurations\n{\n    public static ConfigurationDefinition\u003cstring\u003e Language { get; } = new(nameof(Language), string.Empty);\n}\n```\n\n2. Use `ConfigurationManager` to read and write configurations file.\n\n```c#\n// Configurations setup of ConfigurationSerializer and FileName.\nConfigurationManager.ConfigurationSerializer = new JsonConfigurationSerializer(); // YamlConfigurationSerializer\nConfigurationManager.Setup(ConfigurationSpecialPath.GetPath($\"config.yaml\", \"yourAppName\", Environment.SpecialFolder.MyDocuments));\n\n// Configurations Getter and Setter\nstring lang1 = Configurations.Language.Get();\nConfigurations.Language.Set(\"en\");\nstring lang2 = Configurations.Language.Get();\n\n// Save Configurations into your file.\nConfigurationManager.Save();\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femako%2Ffischless.configuration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femako%2Ffischless.configuration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femako%2Ffischless.configuration/lists"}