{"id":13611887,"url":"https://github.com/ziglibs/repository","last_synced_at":"2025-04-30T23:30:55.575Z","repository":{"id":39675681,"uuid":"300862915","full_name":"ziglibs/repository","owner":"ziglibs","description":"A community-maintained repository of zig packages","archived":false,"fork":false,"pushed_at":"2024-05-20T19:57:49.000Z","size":204,"stargazers_count":105,"open_issues_count":4,"forks_count":20,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-07T18:49:27.732Z","etag":null,"topics":["zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/ziglibs.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}},"created_at":"2020-10-03T11:20:40.000Z","updated_at":"2024-11-01T15:10:37.000Z","dependencies_parsed_at":"2024-01-25T00:11:54.665Z","dependency_job_id":"f16dac00-6787-4f5e-809b-be4c2f0a76af","html_url":"https://github.com/ziglibs/repository","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Frepository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Frepository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Frepository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Frepository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziglibs","download_url":"https://codeload.github.com/ziglibs/repository/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224225071,"owners_count":17276436,"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","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":["zig"],"created_at":"2024-08-01T19:02:17.279Z","updated_at":"2024-11-12T06:15:39.258Z","avatar_url":"https://github.com/ziglibs.png","language":"Zig","funding_links":[],"categories":["Zig","Development Tools"],"sub_categories":[],"readme":"# Zig Package Repository\n\nThis is one community-maintained repository of zig packages.\n\n## Contributions\nIf you have an actively maintained package, feel free to create a PR that adds your package to the repository! If you feel like it, you're also free to add other peoples packages!\n\n### Adding new packages\n\nThe repo provides a convenience tool to create new packages. Just run `zig build add` to get a prompt for package informations. The tool will verify that the entered information is vaguely correct and follows the format rules, also checks if a package with that name already exists and if the tags are all valid.\n\n### Verification\n\n![Repository Validation](https://github.com/ziglibs/repository/workflows/Repository%20Validation/badge.svg?event=push)\n\nThis repository will use the CI to verify if all PRs keep the database consistent. If you want to locally test this before doing the PR, just call `zig build verify` in the root folder.\n\n## Repository structure\n\nThe repository contains two major data sets: *packages* and *tags*.\n\n*Tags* are just groups of packages, each package can have zero or more tags assigned. *Packages* are basically a link to *any* git repository paired with a root source file which is required for the package to be imported.\n\n### `packages/`\nA folder containing a single file per package. Each file is a json file following this structure:\n```json\n{\n  \"author\": \"\u003cauthor\u003e\",\n  \"description\": \"\u003cdescription\u003e\",\n  \"git\": \"\u003curl\u003e\",\n  \"root_file\": \"\u003cpath\u003e\",\n  \"tags\": [\n    \"\u003ctag\u003e\", \"\u003ctag\u003e\"\n  ]\n}\n```\n\nThe fields have the following meaning:\n- `author` is the name (or nickname) of the package author\n- `description` is a short description of the package\n- `git` is a path to the git repository where the package can be fetched\n- `root_file` is an absolute path in unix style (path segments separated by `/`) to the root file of the package. This is what should be used for `std.build.Pkg.path`\n- `tags` is an array of strings where each item is the name of a tag in the folder `tags/`. Tags are identified by their file name (without extension) and will group the packages\n\n### `tags/`\nA folder containing a single file per tag. Each file is a json file following this structure:\n```json\n{\n  \"description\": \"\u003ctext\u003e\"\n}\n```\n\nThe fields have the following meaning:\n- `description` is a short description of what kind of packages can be found in this group.\n\n### `tools/`\n\nThis folder contains the sources of the verification tools and other nice things.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglibs%2Frepository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziglibs%2Frepository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglibs%2Frepository/lists"}