{"id":25724237,"url":"https://github.com/fossillogic/fossil-io","last_synced_at":"2026-04-01T19:22:26.133Z","repository":{"id":256487140,"uuid":"855414365","full_name":"fossillogic/fossil-io","owner":"fossillogic","description":"Fossil Io is a lightweight, portable input output stream library written in pure C with zero external dependencies.","archived":false,"fork":false,"pushed_at":"2026-03-20T04:27:09.000Z","size":1856,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-20T19:47:31.787Z","etag":null,"topics":["c11","cpp17","cpp20","meson","mesonbuild","ninja-build"],"latest_commit_sha":null,"homepage":"https://fossillogic.com/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fossillogic.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":"SECURITY.md","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-09-10T20:36:22.000Z","updated_at":"2026-03-20T04:25:59.000Z","dependencies_parsed_at":"2025-02-17T21:25:22.018Z","dependency_job_id":"15ecf9cc-fc81-4447-ae6b-92519aa7b97d","html_url":"https://github.com/fossillogic/fossil-io","commit_stats":null,"previous_names":["fossillogic/fossil-io"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/fossillogic/fossil-io","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossillogic%2Ffossil-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossillogic%2Ffossil-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossillogic%2Ffossil-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossillogic%2Ffossil-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fossillogic","download_url":"https://codeload.github.com/fossillogic/fossil-io/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossillogic%2Ffossil-io/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"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":["c11","cpp17","cpp20","meson","mesonbuild","ninja-build"],"created_at":"2025-02-25T21:29:52.489Z","updated_at":"2026-04-01T19:22:26.126Z","avatar_url":"https://github.com/fossillogic.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Fossil IO Library by Fossil Logic**\n\nFossil IO is a robust C library designed for seamless input, output, and error management across major operating systems. It delivers a unified API for secure data handling, efficient file operations, and comprehensive error diagnostics. With a focus on reliability and performance, Fossil IO empowers developers to build cross-platform applications with predictable I/O behavior.\n\n## Key Features\n\n1. **Cross-Platform Compatibility**: Consistent I/O operations across Windows, macOS, and Linux.\n2. **Secure Input and Output**: Functions designed to prevent buffer overflows and format string vulnerabilities.\n3. **Modular Architecture**: Separate modules for input, output, error handling, file streams, and SOAP, enabling flexible integration.\n4. **Efficient File Handling**: Robust file stream support for secure and reliable file I/O.\n5. **Comprehensive Error Reporting**: Extensive error codes and lookup functions for detailed diagnostics.\n6. **High Performance**: Optimized for low-latency and high-throughput I/O operations.\n7. **Thread Safety**: Designed to support safe concurrent operations in multithreaded environments.\n8. **Customizable Logging**: Built-in logging facilities with configurable verbosity and output targets.\n9. **Extensive Documentation**: Well-documented APIs and usage examples for easy onboarding.\n10. **Test-Driven Examples**: Unit tests double as usage samples, demonstrating real-world scenarios.\n\n## ***Prerequisites***\n\nTo get started, ensure you have the following installed:\n\n- **Meson Build System**: If you don’t have Meson `1.8.0` or newer installed, follow the installation instructions on the official [Meson website](https://mesonbuild.com/Getting-meson.html).\n\n### Adding Dependency\n\n#### Adding via Meson Git Wrap\n\nTo add a git-wrap, place a `.wrap` file in `subprojects` with the Git repo URL and revision, then use `dependency('fossil-io')` in `meson.build` so Meson can fetch and build it automatically.\n\n#### Integrate the Dependency:\n\nAdd the `fossil-io.wrap` file in your `subprojects` directory and include the following content:\n\n```ini\n[wrap-git]\nurl = https://github.com/fossillogic/fossil-io.git\nrevision = v0.2.13\n\n[provide]\ndependency_names = fossil-io\n```\n\n**Note**: For the best experience, always use the latest releases. Visit the [releases](https://github.com/fossillogic/fossil-io/releases) page for the latest versions.\n\n## Configure Options\n\nFossil IO offers configurable options to tailor the build process to your needs:\n\n- **Running Tests**: To enable testing, configure the build with `-Dwith_test=enabled`.\n\nExample:\n\n```sh\nmeson setup builddir -Dwith_test=enabled\n```\n\n### Tests Double as Samples\n\nThe project is designed so that **test cases serve two purposes**:\n\n- ✅ **Unit Tests** – validate the framework’s correctness.  \n- 📖 **Usage Samples** – demonstrate how to use these libraries through test cases.  \n\nThis approach keeps the codebase compact and avoids redundant “hello world” style examples.  \nInstead, the same code that proves correctness also teaches usage.  \n\nThis mirrors the **Meson build system** itself, which tests its own functionality by using Meson to test Meson.  \nIn the same way, Fossil Logic validates itself by demonstrating real-world usage in its own tests via Fossil Test.  \n\n```bash\nmeson test -C builddir -v\n```\n\nRunning the test suite gives you both verification and practical examples you can learn from.\n\n## Contributing and Support\n\nFor contributions, issue reporting, or support, please open an issue on the project repository or visit the [Fossil Logic Docs](https://fossillogic.com/docs) for more information. Your feedback and contributions are appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffossillogic%2Ffossil-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffossillogic%2Ffossil-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffossillogic%2Ffossil-io/lists"}