{"id":16151475,"url":"https://github.com/antonako1/atrc","last_synced_at":"2026-05-07T14:40:20.175Z","repository":{"id":239635389,"uuid":"799565370","full_name":"Antonako1/ATRC","owner":"Antonako1","description":"ATRC – A powerful INI-style configuration library for C, C++, C#, and Lua","archived":false,"fork":false,"pushed_at":"2025-08-31T15:46:37.000Z","size":4184,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T17:34:53.475Z","etag":null,"topics":["configuration-files","library","resource-file"],"latest_commit_sha":null,"homepage":"https://github.com/Antonako1/ATRC/tree/main/docs","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Antonako1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-12T14:23:05.000Z","updated_at":"2025-08-02T22:14:01.000Z","dependencies_parsed_at":"2024-06-25T23:42:37.740Z","dependency_job_id":"13996cc1-8794-47ab-bc26-3b3f7a678671","html_url":"https://github.com/Antonako1/ATRC","commit_stats":{"total_commits":76,"total_committers":1,"mean_commits":76.0,"dds":0.0,"last_synced_commit":"c2be22843b80dd56e292be54a3f424ff1c30fff0"},"previous_names":["antonako1/atrc"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/Antonako1/ATRC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antonako1%2FATRC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antonako1%2FATRC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antonako1%2FATRC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antonako1%2FATRC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Antonako1","download_url":"https://codeload.github.com/Antonako1/ATRC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antonako1%2FATRC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273849250,"owners_count":25179113,"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-09-06T02:00:13.247Z","response_time":2576,"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":["configuration-files","library","resource-file"],"created_at":"2024-10-10T00:56:59.908Z","updated_at":"2025-10-30T15:45:07.101Z","avatar_url":"https://github.com/Antonako1.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ATRC - Advanced Tagged Resource Configuration Library\n\nATRC is a high-performance, extensible configuration library for **C**, with official wrappers for **C++**, **C#**, and **Lua**. Inspired by INI syntax but packed with advanced features, ATRC is ideal for game engines, embedded tools, and modular applications.\n\n**[Documentation](https://github.com/Antonako1/ATRC/blob/main/docs/)** | [VSCode Extension](https://github.com/Antonako1/ATRC-VSCode)\n\n---\n\n## Features\n\n- **Preprocessor Engine**: Conditional logic, includes, raw strings, and logging\n- **Variable System**: Global, private, and injected variables\n- **Cross-Platform**: Windows and Linux support with architecture flags\n- **Lightweight \u0026 Fast**: Written in C with minimal dependencies\n\n---\n\n## Language Wrappers\n\n- **C++**: [Wrapper](https://github.com/Antonako1/ATRC/tree/main/Wrappers/C%2B%2B) included in prebuilt packages as `ATRC.hpp`\n- **C#**: [Wrapper](https://github.com/Antonako1/ATRC/tree/main/Wrappers/C%23) · [NuGet](https://www.nuget.org/packages/ATRC/)\n- **Lua**: [Wrapper](https://github.com/Antonako1/ATRC/tree/main/Wrappers/Lua) · [Releases](https://github.com/Antonako1/ATRC/releases)\n\n---\n\n## Installation\n\nGet prebuilt binaries for Windows (x64/x86) and Linux (x64) from the [Releases](https://github.com/Antonako1/ATRC/releases) page.\n\nOr build from source:\n```bash\nmkdir build \u0026\u0026 cd build\ncmake ..\ncmake --build .\n```\n\nTo built the release packages, you need to use a Windows computer. See .\\scripts\\ for more information\n\n---\n\n## CMake Integration\n\n```cmake\ncmake_minimum_required(VERSION 3.8)\nproject(MyProject LANGUAGES C)\n\nadd_executable(MyProject main.c)\n\nset(ATRC_DIR \"path/to/ATRC-2.4_{BUILD}/cmake\")\nfind_package(ATRC REQUIRED)\ntarget_link_libraries(MyProject PRIVATE ATRC::ATRC)\n```\n\n---\n\n## Usage Example\n\n```c\n#include \u003cATRC.h\u003e\n#include \u003cstdio.h\u003e\n\nint main() {\n    ATRC_FD* fd = Create_ATRC_FD(\"config.atrc\", ATRC_READ_ONLY);\n    const char* platform = ReadKey(\"ServerConfig\", \"Platform\");\n    const char* env = ReadKey(\"ServerConfig\", \"Environment\");\n    printf(\"Running %s on %s\\n\", platform, env);\n    Destroy_ATRC_FD(fd);\n    return 0;\n}\n```\n\n**ATRC Config File:**\n\n```ini\n#!ATRC\n%env%=production\n\n[ServerConfig]\n#.IF WINDOWS\nPlatform=Windows\n#.ELSE\nPlatform=Unix\n#.ENDIF\nEnvironment=%env%\n```\n\n---\n\n## License\n\nLicensed under the [BSD-2-Clause license](LICENSE.txt).\nCreated by [Antonako1](https://github.com/Antonako1)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonako1%2Fatrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonako1%2Fatrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonako1%2Fatrc/lists"}