{"id":25719339,"url":"https://github.com/csharpermantle/creq","last_synced_at":"2026-05-28T16:31:27.672Z","repository":{"id":114347983,"uuid":"200862140","full_name":"CSharperMantle/creq","owner":"CSharperMantle","description":"An elegant way to generate HTTP/1.x messages in C","archived":false,"fork":false,"pushed_at":"2021-12-17T05:32:52.000Z","size":788,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T16:51:53.984Z","etag":null,"topics":["c","embedded","http","http-requests","http1","request-response","web"],"latest_commit_sha":null,"homepage":"","language":"C","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/CSharperMantle.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}},"created_at":"2019-08-06T13:56:38.000Z","updated_at":"2021-12-18T14:45:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"67895ae5-ec9b-44ba-a444-6a0c8cafd391","html_url":"https://github.com/CSharperMantle/creq","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/CSharperMantle/creq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSharperMantle%2Fcreq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSharperMantle%2Fcreq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSharperMantle%2Fcreq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSharperMantle%2Fcreq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CSharperMantle","download_url":"https://codeload.github.com/CSharperMantle/creq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSharperMantle%2Fcreq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33617718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":["c","embedded","http","http-requests","http1","request-response","web"],"created_at":"2025-02-25T16:51:48.466Z","updated_at":"2026-05-28T16:31:27.667Z","avatar_url":"https://github.com/CSharperMantle.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# creq ![CMake](https://github.com/CSharperMantle/creq/workflows/CMake/badge.svg)\n\n**An elegant way to generate HTTP/1.x messages in C**\n\n[creq](https://github.com/CSharperMantle/creq) is a library written in pure C, which allows you to create HTTP/1.x message strings at your own wishes with easy-to-use object-like APIs. With high performance and adjustable memory usage, creq can be used in low-profile MCUs, such as Arduino(AVR) and ESP-series.\n\n## Features \u0026 TODOs\n\n- [x] Customizable request/response generation\n- [x] Safe \u0026 tweakable memory management\n- [x] Great portability\n- [x] User-friendly object-like interface\n- [ ] Integrated message syntax validator\n\n## Symbol accessibility\n\nWhen compiling for windows, we specify a specific calling convention to avoid issues where we are being called from a project with a different default calling convention. For windows you have 3 define options:\n* `CREQ_HIDE_SYMBOLS` - Define this in the case where you don't want to ever `dllexport` symbols\n* `CREQ_EXPORT_SYMBOLS` - Define this on library build when you want to `dllexport` symbols (default)\n* `CREQ_IMPORT_SYMBOLS` - Define this if you want to `dllimport` symbol\n\nFor Unix builds that support visibility attribute, you can define similar behavior by setting default visibility to hidden by adding\n* `-fvisibility=hidden` (for gcc)\n* `-xldscope=hidden` (for sun cc)\n\nto `CFLAGS`, then using the `CREQ_API_VISIBILITY` flag to \"export\" the same symbols the way `CREQ_EXPORT_SYMBOLS` does\n\n## License\n\n```plain\nCopyright (c) 2020 Bao \"Mantle\" Rong\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see [LICENSE](LICENSE) .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsharpermantle%2Fcreq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsharpermantle%2Fcreq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsharpermantle%2Fcreq/lists"}