{"id":24746458,"url":"https://github.com/FOLLGAD/zig-ai","last_synced_at":"2025-10-10T14:32:55.846Z","repository":{"id":265785286,"uuid":"896623421","full_name":"FOLLGAD/zig-ai","owner":"FOLLGAD","description":"OpenAI SDK with streaming support","archived":false,"fork":false,"pushed_at":"2025-02-16T18:17:11.000Z","size":17,"stargazers_count":42,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T07:34:08.272Z","etag":null,"topics":["openai","zig","zig-package"],"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/FOLLGAD.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":"2024-11-30T21:23:56.000Z","updated_at":"2025-05-24T07:06:37.000Z","dependencies_parsed_at":"2025-07-13T03:46:00.875Z","dependency_job_id":null,"html_url":"https://github.com/FOLLGAD/zig-ai","commit_stats":null,"previous_names":["follgad/zig-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FOLLGAD/zig-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FOLLGAD%2Fzig-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FOLLGAD%2Fzig-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FOLLGAD%2Fzig-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FOLLGAD%2Fzig-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FOLLGAD","download_url":"https://codeload.github.com/FOLLGAD/zig-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FOLLGAD%2Fzig-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004176,"owners_count":26083688,"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-10-10T02:00:06.843Z","response_time":62,"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":["openai","zig","zig-package"],"created_at":"2025-01-28T04:07:23.723Z","updated_at":"2025-10-10T14:32:50.837Z","avatar_url":"https://github.com/FOLLGAD.png","language":"Zig","readme":"# zig-ai\n\nA simple OpenAI API client for Zig with streaming support.\n\nFind examples in the [`examples`](./examples) directory.\n\n## Installation\n\n```bash\n$ zig fetch --save git+https://github.com/FOLLGAD/zig-ai\n```\n\nand add `zig-ai` to your `build.zig` file:\n\n```zig\nconst std = @import(\"std\");\n\npub fn build(b: *std.Build) void {\n    const target = b.standardTargetOptions(.{});\n    const optimize = b.standardOptimizeOption(.{});\n\n    const exe = b.addExecutable(.{\n        .name = \"stream-cli\",\n        .root_source_file = b.path(\"examples/stream-cli.zig\"),\n        .target = target,\n        .optimize = optimize,\n    });\n\n    const module = b.dependency(\"zig-ai\", .{\n        .root_source_file = b.path(\"src/llm.zig\"),\n    });\n    exe.root_module.addImport(\"zig-ai\", module.module(\"zig-ai\"));\n}\n```\n\n## Usage\n\nSee the `examples` directory for usage examples.\n","funding_links":[],"categories":["Zig","\u003ca name=\"Zig\"\u003e\u003c/a\u003eZig"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFOLLGAD%2Fzig-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFOLLGAD%2Fzig-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFOLLGAD%2Fzig-ai/lists"}