{"id":13812292,"url":"https://github.com/MaJerle/lwrb","last_synced_at":"2025-05-14T21:32:31.668Z","repository":{"id":37726349,"uuid":"165559833","full_name":"MaJerle/lwrb","owner":"MaJerle","description":"Lightweight generic ring buffer manager library","archived":false,"fork":false,"pushed_at":"2025-03-30T12:46:37.000Z","size":430,"stargazers_count":1070,"open_issues_count":2,"forks_count":263,"subscribers_count":38,"default_branch":"develop","last_synced_at":"2025-05-14T19:07:32.131Z","etag":null,"topics":["buffer","c","cyclic","cyclic-buffer","fifo","generic","library","manager","pipe","ring","ring-buffer"],"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/MaJerle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":["paypal.me/tilz0R"]}},"created_at":"2019-01-13T22:07:47.000Z","updated_at":"2025-05-13T15:18:10.000Z","dependencies_parsed_at":"2023-11-20T22:24:16.966Z","dependency_job_id":"22eafd12-e154-4ead-8600-9280384d809e","html_url":"https://github.com/MaJerle/lwrb","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaJerle%2Flwrb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaJerle%2Flwrb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaJerle%2Flwrb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaJerle%2Flwrb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaJerle","download_url":"https://codeload.github.com/MaJerle/lwrb/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254231237,"owners_count":22036327,"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":["buffer","c","cyclic","cyclic-buffer","fifo","generic","library","manager","pipe","ring","ring-buffer"],"created_at":"2024-08-04T04:00:50.426Z","updated_at":"2025-05-14T21:32:31.480Z","avatar_url":"https://github.com/MaJerle.png","language":"C","readme":"# Lightweight ring buffer manager\n\nLibrary provides generic FIFO ring buffer implementation.\n\n\u003ch3\u003eRead first: \u003ca href=\"http://docs.majerle.eu/projects/lwrb/\"\u003eDocumentation\u003c/a\u003e\u003c/h3\u003e\n\n## Features\n\n* Written in C (C11), compatible with ``size_t`` for size data types\n* Platform independent default code - with restrictions for smaller CPU architectures (`\u003c sizeof(size_t)`)\n* FIFO (First In First Out) buffer implementation\n* No dynamic memory allocation, data is static array\n* Uses optimized memory copy instead of loops to read/write data from/to memory\n* Thread safe when used as pipe with single write and single read entries - when CPU read/write operation for `size_t` are single instruction (ARM Cortex-M for instance)\n* Interrupt safe when used as pipe with single write and single read entries - when CPU read/write operation for `size_t` are single instruction (ARM Cortex-M for instance)\n* For CPU systems with smaller architecture than `sizeof(size_t)` (AVR for instance), atomic protection is required for read-write operation of buffer writes\n* Suitable for DMA transfers from and to memory with zero-copy overhead between buffer and application memory\n* Supports data peek, skip for read and advance for write\n* Implements support for event notifications\n* User friendly MIT license\n\n## Contribute\n\nFresh contributions are always welcome. Simple instructions to proceed:\n\n1. Fork Github repository\n2. Follow [C style \u0026 coding rules](https://github.com/MaJerle/c-code-style) already used in the project\n3. Create a pull request to develop branch with new features or bug fixes\n\nAlternatively you may:\n\n1. Report a bug\n2. Ask for a feature request\n","funding_links":["paypal.me/tilz0R"],"categories":["Memory","memory manager"],"sub_categories":["Ring Buffer","buffer"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMaJerle%2Flwrb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMaJerle%2Flwrb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMaJerle%2Flwrb/lists"}