{"id":29866599,"url":"https://github.com/cheesecakeycat/ogg","last_synced_at":"2025-07-30T13:02:22.599Z","repository":{"id":303824326,"uuid":"1016282852","full_name":"cheesecakeycat/ogg","owner":"cheesecakeycat","description":"Zig wrapper for libogg.","archived":false,"fork":false,"pushed_at":"2025-07-09T15:28:50.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-26T17:43:28.958Z","etag":null,"topics":["wrapper","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/cheesecakeycat.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,"zenodo":null}},"created_at":"2025-07-08T19:09:15.000Z","updated_at":"2025-07-09T15:28:53.000Z","dependencies_parsed_at":"2025-07-09T16:55:20.620Z","dependency_job_id":null,"html_url":"https://github.com/cheesecakeycat/ogg","commit_stats":null,"previous_names":["rplstr/ogg","cheesecakeycat/ogg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cheesecakeycat/ogg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheesecakeycat%2Fogg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheesecakeycat%2Fogg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheesecakeycat%2Fogg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheesecakeycat%2Fogg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cheesecakeycat","download_url":"https://codeload.github.com/cheesecakeycat/ogg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheesecakeycat%2Fogg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267873763,"owners_count":24158690,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":["wrapper","zig"],"created_at":"2025-07-30T13:00:56.872Z","updated_at":"2025-07-30T13:02:22.590Z","avatar_url":"https://github.com/cheesecakeycat.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# ogg\n\nOgg is a multimedia container format, and the native file and stream format for the Xiph.org multimedia codecs. \n\n\u003c/div\u003e\n\n[Zig](https://ziglang.org) wrapper for the [Xiph.Org `libogg`](https://www.xiph.org/ogg/) library.\n\nYou can still access the raw C headers if you need functionality not exposed by the wrapper. For example:\n\n```zig\nconst std = @import(\"std\");\nconst ogg = @import(\"ogg\");\n\npub fn main() void {\n    var stream_state: ogg.c.ogg_stream_state = undefined;\n    const ret = ogg.c.ogg_stream_init(\u0026stream_state, 12345);\n    std.debug.assert(ret == 0);\n    _ = ogg.c.ogg_stream_clear(\u0026stream_state);\n}\n```\n\n### Adding to your project\n\n1.  Add this repository as a dependency in your `build.zig.zon`. You can use `zig fetch`:\n    ```sh\n    zig fetch --save git+https://github.com/rplstr/ogg\n    ```\n\n2.  In your `build.zig`, add the dependency and link against it:\n    ```zig\n    const ogg = b.dependency(\"ogg\", .{\n        .target = target,\n        .optimize = optimize,\n    });\n    exe.root_module.addImport(\"ogg\", ogg.module(\"ogg\"));\n    exe.linkLibrary(ogg.artifact(\"ogg\"));\n    ```\n\n## Examples\n\nYou can find example usage in the `examples/` directory. To run them:\n\n```sh\nzig build run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheesecakeycat%2Fogg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheesecakeycat%2Fogg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheesecakeycat%2Fogg/lists"}