{"id":15065995,"url":"https://github.com/api-zip/api-zip","last_synced_at":"2026-03-08T16:37:21.760Z","repository":{"id":167950500,"uuid":"642527932","full_name":"api-zip/api-zip","owner":"api-zip","description":"The Zip API Object Framework","archived":false,"fork":false,"pushed_at":"2024-12-12T23:27:57.000Z","size":29,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T13:55:18.477Z","etag":null,"topics":["framework","golang","kubernetes"],"latest_commit_sha":null,"homepage":"https://api.zip","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/api-zip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2023-05-18T19:19:59.000Z","updated_at":"2025-01-14T13:22:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b1b12fe-2ea1-4e95-b60c-7874c41f5ef4","html_url":"https://github.com/api-zip/api-zip","commit_stats":null,"previous_names":["api-zip/api-zip"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/api-zip/api-zip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-zip%2Fapi-zip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-zip%2Fapi-zip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-zip%2Fapi-zip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-zip%2Fapi-zip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/api-zip","download_url":"https://codeload.github.com/api-zip/api-zip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-zip%2Fapi-zip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272815834,"owners_count":24997662,"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-08-30T02:00:09.474Z","response_time":77,"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":["framework","golang","kubernetes"],"created_at":"2024-09-25T00:59:15.597Z","updated_at":"2026-03-08T16:37:21.731Z","avatar_url":"https://github.com/api-zip.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Zip API Object Framework\n\n[![](https://pkg.go.dev/badge/api.zip.svg)](https://pkg.go.dev/api.zip)\n![](https://img.shields.io/static/v1?label=license\u0026message=BSD-3\u0026color=%23385177)\n[![Go Report Card](https://goreportcard.com/badge/api.zip)](https://goreportcard.com/report/api.zip)\n![Latest release](https://img.shields.io/github/v/release/api-zip/api-zip)\n\nThis project contains the low-level object framework Zip API.  It enables\nKubernetes-inspired objects without the hassle of code generation.\n\n## Usage\n\nTo define your objects using the framework, simply import `api.zip` and declare\na `zip.Object` along with a Spec and Status to get started.\n\n```go\nimport \"api.zip\"\n\ntype BookSpec struct {\n\tName   string\n\tAuthor string\n}\n\ntype BookState string\n\nconst (\n\tBookStateAvailable   = BookState(\"available\")\n\tBookStateUnavailable = BookState(\"unavailable\")\n)\n\ntype BookStatus struct {\n\tState BookState\n}\n\ntype (\n\tBook     = zip.Object[BookSpec, BookStatus]\n\tBookList = zip.ObjectList[BookSpec, BookStatus]\n)\n```\n\n## License\n\nThe Zip API Object Framework is licensed under [BSD-3-Clause](/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi-zip%2Fapi-zip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapi-zip%2Fapi-zip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi-zip%2Fapi-zip/lists"}