{"id":16288318,"url":"https://github.com/roaldnefs/lapwing","last_synced_at":"2025-06-20T23:32:17.594Z","repository":{"id":114856706,"uuid":"263695146","full_name":"roaldnefs/lapwing","owner":"roaldnefs","description":"Lapwing is a shared library implementing a variety of C++ classes and templates extending the standard library.","archived":false,"fork":false,"pushed_at":"2020-05-26T14:59:37.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T07:14:06.611Z","etag":null,"topics":["cpp","cpp20","library"],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roaldnefs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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},"funding":{"github":"roaldnefs"}},"created_at":"2020-05-13T17:13:27.000Z","updated_at":"2020-05-26T14:59:39.000Z","dependencies_parsed_at":"2023-03-13T13:04:46.418Z","dependency_job_id":null,"html_url":"https://github.com/roaldnefs/lapwing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roaldnefs/lapwing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaldnefs%2Flapwing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaldnefs%2Flapwing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaldnefs%2Flapwing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaldnefs%2Flapwing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roaldnefs","download_url":"https://codeload.github.com/roaldnefs/lapwing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaldnefs%2Flapwing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261035986,"owners_count":23100847,"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":["cpp","cpp20","library"],"created_at":"2024-10-10T19:47:55.785Z","updated_at":"2025-06-20T23:32:12.573Z","avatar_url":"https://github.com/roaldnefs.png","language":"CMake","funding_links":["https://github.com/sponsors/roaldnefs"],"categories":[],"sub_categories":[],"readme":"# Lapwing\n\nLapwing is a shared library implementing a variety of C++ classes and templates extending the standard library. The library includes:\n\n- File descriptor buffers.\n\n## Example\n\nThe following defines a simple porgram using the file descriptor buffer to write a string to standard output:\n\n```c++\n#include \u003clapwing/ofdbuf.h\u003e\n\n#include \u003ciostream\u003e\n#include \u003cstring\u003e\n\nint main(int argc, char** argv) {\n  lapwing::OFdBuf fds(STDOUT_FILENO, 500);\n  std::ostream os(\u0026fds);\n\n  os \u003c\u003c \"Hello, World!\\n\";\n}\n```\n\n## Quickstart\n\nLapwing requires at least cmake 3.14 and the ability to compile C++20 code. The following shows how to compile and run the example:\n\n```bash\n$ cmake -Hexample -Bbuild/example\n$ cmake --build build/example\n$ ./build/example/example\n```\n\n## Installation and usage\n\nLapwing can be easily added to your project through [CPM.make](https://github.com/TheLartians/CPM.cmake).\n\n```cmake\nCPMAddPackage(\n  NAME lapwing\n  VERSION 0.0.1\n  GIT_REPOSITORY https://github.com/roaldnefs/lapwing.git\n)\n\ntarget_link_libraries(myProject lapwing)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froaldnefs%2Flapwing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froaldnefs%2Flapwing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froaldnefs%2Flapwing/lists"}