{"id":19415086,"url":"https://github.com/shuzhengz/jec-cpp","last_synced_at":"2025-06-14T07:05:24.103Z","repository":{"id":52480271,"uuid":"520998151","full_name":"Shuzhengz/JEC-cpp","owner":"Shuzhengz","description":"Jabacat's Easy Config, C++ edition","archived":false,"fork":false,"pushed_at":"2022-11-27T07:01:43.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T15:50:55.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Shuzhengz.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}},"created_at":"2022-08-03T18:53:38.000Z","updated_at":"2023-01-15T14:46:05.000Z","dependencies_parsed_at":"2023-01-22T02:16:51.792Z","dependency_job_id":null,"html_url":"https://github.com/Shuzhengz/JEC-cpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Shuzhengz/JEC-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuzhengz%2FJEC-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuzhengz%2FJEC-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuzhengz%2FJEC-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuzhengz%2FJEC-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shuzhengz","download_url":"https://codeload.github.com/Shuzhengz/JEC-cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuzhengz%2FJEC-cpp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259775242,"owners_count":22909200,"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-11-10T12:41:34.420Z","updated_at":"2025-06-14T07:05:24.082Z","avatar_url":"https://github.com/Shuzhengz.png","language":"C++","readme":"# JEC-CPP ![C++](https://github.com/Shuzhengz/JEC-cpp/actions/workflows/C++.yml/badge.svg)\n\nJabacat's Easy Config, C++ edition\n\n[JEC-py](https://github.com/JakeRoggenbuck/JEC-py) | [JEC-rs](https://github.com/JakeRoggenbuck/JEC-rs) | [JEC-go](https://github.com/JakeRoggenbuck/JEC-go) | JEC-c | [JEC-c++](https://github.com/Shuzhengz/JEC-cpp) | JEC-zig | JEC-ts | [JEC-kt](https://github.com/EdwinChang24/JEC-kt)\n\nWorks in progress\n\nTODO:\n\n- [x] Complete Functions\n- [ ] Make Tests\n- [ ] Make Documentation\n\n## API\n```rs\nConfigFile\n  - from_home\n  - exists\n  - remove\n  - create\n  \nConfigDir\n  - from_home\n  - exists\n  - remove\n  - create\n```\n\n## Usage\n``` cpp\n// Files and Directories\nstatic bool exists(fs::path\u0026 path);                     // Checks if file or directory exists\n\n// Files\nstatic void remove(fs::path\u0026 path);                     // Removes file\nstatic void create(fs::path\u0026 path, std::string\u0026 name);  // Creates file\nstatic std::string from_home(fs::path\u0026 path);           // Gets path from home\n\n// Directories\nstatic void remove(fs::path\u0026 path);                     // Removes Directory\nstatic void create(fs::path\u0026 path, char name);          // Creates directory\nstatic std::string from_home(fs::path\u0026 path);           // Gets directory path from home (auto delete filename)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuzhengz%2Fjec-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuzhengz%2Fjec-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuzhengz%2Fjec-cpp/lists"}