{"id":22113926,"url":"https://github.com/notashelf/bsix","last_synced_at":"2026-06-21T18:31:24.747Z","repository":{"id":263208557,"uuid":"889685840","full_name":"NotAShelf/bsix","owner":"NotAShelf","description":"Microscoping Base64 encode/decode library in pure C, for embedded systems.","archived":false,"fork":false,"pushed_at":"2024-11-17T02:48:43.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-19T03:22:58.016Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/NotAShelf.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}},"created_at":"2024-11-17T00:23:27.000Z","updated_at":"2024-11-17T02:48:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"91adf74b-99e5-44c7-8ea0-97937f9dcfbe","html_url":"https://github.com/NotAShelf/bsix","commit_stats":null,"previous_names":["notashelf/bsix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NotAShelf/bsix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotAShelf%2Fbsix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotAShelf%2Fbsix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotAShelf%2Fbsix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotAShelf%2Fbsix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotAShelf","download_url":"https://codeload.github.com/NotAShelf/bsix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotAShelf%2Fbsix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34622271,"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-06-21T02:00:05.568Z","response_time":54,"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":[],"created_at":"2024-12-01T11:07:38.698Z","updated_at":"2026-06-21T18:31:24.742Z","avatar_url":"https://github.com/NotAShelf.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bsix\n\nLightweight, efficient, and self-contained Base 64 encoding/decoding library\nsuitable for embedding in small projects, or systems with limited resources.\n\n**Why?**\n\nI need a microscopic Base64 encoding/decoding library to use on my embedded\nsystems. This is that library, built with my own needs in mind.\n\nCross-platform in theory, should work on embedded systems (in my case, Risc-V)\npretty well. If it doesn't, open an issue.\n\n## Benchmarks\n\nThe speed of bsix depends mostly on your implementation. Below is the benchmark\nfor my test implementation with little to no focus on performance.\n\n|   Command   |    Mean [µs] | Min [µs] | Max [µs] | Relative |\n| :---------: | -----------: | -------: | -------: | -------: |\n| `bsix-test` | 633.8 ± 87.1 |    548.4 |   2286.4 |     1.00 |\n\n## Example Usage\n\n```c\n#include \"base64.h\"\n#include \u003cstdio.h\u003e\n#include \u003cstdlib.h\u003e\n\nint main() {\n    const unsigned char data[] = \"Hello, World!\";\n    size_t data_len = sizeof(data) - 1;\n\n    char *encoded = base64_encode(data, data_len);\n    if (!encoded) {\n        fprintf(stderr, \"Failed to encode data\\n\");\n        return 1;\n    }\n\n    printf(\"Base64 Encoded: %s\\n\", encoded);\n\n    free(encoded);\n    return 0;\n}\n```\n\n## License\n\nAvailable under the [MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotashelf%2Fbsix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotashelf%2Fbsix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotashelf%2Fbsix/lists"}