{"id":16642907,"url":"https://github.com/martin-olivier/cstring","last_synced_at":"2026-03-08T18:38:26.507Z","repository":{"id":103148085,"uuid":"370761566","full_name":"martin-olivier/cstring","owner":"martin-olivier","description":"A string library in C","archived":false,"fork":false,"pushed_at":"2022-01-12T22:56:26.000Z","size":42,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T19:44:40.926Z","etag":null,"topics":["c","cstring","string"],"latest_commit_sha":null,"homepage":"","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/martin-olivier.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":"2021-05-25T16:36:43.000Z","updated_at":"2024-12-07T16:08:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"ece7ce08-5734-4745-8b03-d229331585a6","html_url":"https://github.com/martin-olivier/cstring","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martin-olivier%2Fcstring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martin-olivier%2Fcstring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martin-olivier%2Fcstring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martin-olivier%2Fcstring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martin-olivier","download_url":"https://codeload.github.com/martin-olivier/cstring/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249066642,"owners_count":21207392,"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":["c","cstring","string"],"created_at":"2024-10-12T08:05:58.868Z","updated_at":"2026-03-08T18:38:26.475Z","avatar_url":"https://github.com/martin-olivier.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cstring\n\n[![cstring](https://img.shields.io/badge/cstring-v0.1-blue.svg)](https://github.com/martin-olivier/cstring/releases/tag/v0.1)\n[![MIT license](https://img.shields.io/badge/License-MIT-orange.svg)](https://github.com/martin-olivier/cstring/blob/main/LICENSE)\n![CPP Version](https://img.shields.io/badge/Language-C-darkgreen.svg)\n\n[![GitHub watchers](https://img.shields.io/github/watchers/martin-olivier/cstring?style=social)](https://github.com/martin-olivier/cstring/watchers/)\n[![GitHub forks](https://img.shields.io/github/forks/martin-olivier/cstring?style=social)](https://github.com/martin-olivier/cstring/network/members/)\n[![GitHub stars](https://img.shields.io/github/stars/martin-olivier/cstring?style=social)](https://github.com/martin-olivier/cstring/stargazers/)\n\n[![workflow](https://github.com/martin-olivier/cstring/actions/workflows/unit_tests.yml/badge.svg)](https://github.com/martin-olivier/cstring/actions/workflows/unit_tests.yml)\n[![codecov](https://codecov.io/gh/martin-olivier/cstring/branch/main/graph/badge.svg?token=4V6A9B7PII)](https://codecov.io/gh/martin-olivier/cstring)\n\nThe goal of this project is to recreate the `string` class of the C++ standard library in C. Syntax changes will be forced due to the absence of classes in C :\n```c++\n// in C++\nstd::string str = \"Hello\";\nstr.push_back(' ');\nstr += \"World\";\n\n// in C with cstring\nstring str = string_create(\"Hello\");\nstring_push_back(str, ' ');\nstring_cat(str, \"World\");\nstring_destroy(str);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartin-olivier%2Fcstring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartin-olivier%2Fcstring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartin-olivier%2Fcstring/lists"}