{"id":46221506,"url":"https://github.com/bullno1/libs","last_synced_at":"2026-03-03T13:47:58.448Z","repository":{"id":232407322,"uuid":"784241636","full_name":"bullno1/libs","owner":"bullno1","description":"Misc libraries","archived":false,"fork":false,"pushed_at":"2026-02-13T00:12:58.000Z","size":534,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-13T00:56:11.053Z","etag":null,"topics":["arena","coroutine","filewatcher","hashtable","incbin"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bullno1.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-09T13:18:02.000Z","updated_at":"2026-02-13T00:13:02.000Z","dependencies_parsed_at":"2024-04-09T18:10:06.283Z","dependency_job_id":"4abcaa7e-2f04-4038-b72e-fc9b0eaaec66","html_url":"https://github.com/bullno1/libs","commit_stats":null,"previous_names":["bullno1/libs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bullno1/libs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bullno1%2Flibs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bullno1%2Flibs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bullno1%2Flibs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bullno1%2Flibs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bullno1","download_url":"https://codeload.github.com/bullno1/libs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bullno1%2Flibs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30047797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T10:53:31.691Z","status":"ssl_error","status_checked_at":"2026-03-03T10:53:22.041Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["arena","coroutine","filewatcher","hashtable","incbin"],"created_at":"2026-03-03T13:47:55.884Z","updated_at":"2026-03-03T13:47:58.443Z","avatar_url":"https://github.com/bullno1.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blibs\n\n[![Build status](https://github.com/bullno1/libs/actions/workflows/build.yml/badge.svg)](https://github.com/bullno1/libs/actions/workflows/build.yml)\n\nCollection of miscellaneous single-header libraries.\n\n|Library|Description|\n|-------|-----------|\n|[autolist.h](tests/autolist)|A list of items collected from all compilation units|\n|[xincbin.h](tests/xincbin)|A cross-platform way to include binary data in your executable|\n|[bresmon.h](tests/bresmon)|File watcher|\n|[mem_layout.h](tests/mem_layout)|Combine multiple mallocs of a nested struct into one|\n|[barena.h](tests/barena)|Arena allocator|\n|[tlsf.h](tests/tlsf)|Adaptation of [jserv/tlsf-bsd](https://github.com/jserv/tlsf-bsd)|\n|[bhash.h](tests/bhash)|Hashtable|\n|[barray.h](barray.h)|Dynamic array|\n|[bcoro.h](tests/bcoro)|Coroutine|\n|[bserial.h](tests/bserial)|Binary serialization|\n|[bspsc.h](tests/bspscq)|Single producer single consumer queue|\n|[barg.h](barg.h)|CLI argument parsing|\n|[bmacro.h](bmacro.h)|Commonly used macros|\n|[bminmax.h](bminmax.h)|Min/Max/Clamp macros using `_Generic`|\n|[btest.h](btest.h)|Unit test framework (based on autolist)|\n|[blog.h](blog.h)|Logging, with short filenames|\n|[qoi.h](qoi.h)|Quite OK image encoding/decoding|\n|[bent.h](bent.h)|Entity component system|\n|[bsv.h](bsv.h)|Binary seriallization with explicit versioning|\n|[bstacktrace.h](bstacktrace.h)|Portable stacktrace with source mapping|\n|[bcrash_handler.h](bcrash_handler.h)|Crash handler|\n\nEach one has example and documentation in the corresponding tests directory.\n\nTested on:\n\n* Linux (GCC+Clang)\n* Windows (MSVC)\n\n## On allocator\n\nWhenever a library needs to allocate memory a `memctx` argument can be passed to it.\nBy default it uses libc for memory and `memctx` is ignored.\n\nThe macro `\u003cNAME\u003e_REALLOC` can be used to override the allocator.\n`BLIB_REALLOC` is also recognized as a catch-all allocator.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbullno1%2Flibs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbullno1%2Flibs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbullno1%2Flibs/lists"}