Zig-Index/registry
The official registry of Zig packages and applications for Zig Index.
Zig Index is an independent and unofficial registry of Zig packages and applications. It is not affiliated with, endorsed by, or maintained by the Zig Software Foundation or any of its founders. All packages, libraries, and applications listed on this website are owned and maintained by their respective developers and the community. No ownership or responsibility is claimed over any third-party software hosted or indexed. I do not own or claim any rights to trademarks, logos, or names referenced or displayed; all such assets belong to their respective owners.
Zig Index is a community-driven registry for discovering and sharing Zig packages, libraries, and applications. It provides:
zig fetch commandsrepositories/
├── applications/ # Applications built with Zig
│ ├── bun.json # Bun JavaScript runtime
│ ├── tigerbeetle.json # TigerBeetle database
│ └── zig-compiler.json # Zig compiler itself
└── packages/ # Zig libraries and packages
├── capy.json # Cross-platform GUI library
├── logly.json # Logging library
├── mach.json # Game engine & graphics toolkit
├── zig-std.json # Standard library docs
└── zls.json # Zig Language Server
Fork the Zig Index registry repository on GitHub.
Create a file in src/registry/repositories/packages/your-package.json:
{
"name": "Your Package Name",
"owner": "github-username",
"repo": "repository-name",
"description": "A brief description of your package (max 200 chars)",
"homepage": "https://your-docs-site.com",
"license": "MIT",
"category": "networking"
}
Create a file in src/registry/repositories/applications/your-app.json:
{
"name": "Your Application Name",
"owner": "github-username",
"repo": "repository-name",
"description": "A brief description of your application",
"homepage": "https://your-app-site.com",
"license": "MIT",
"category": "development-tools",
"download_url": "https://example.com/your-app-installer.exe"
}
Submit a PR with your changes. We'll review and merge it!
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | ✅ | Display name of the project |
owner |
string | ✅ | GitHub username or organization |
repo |
string | ✅ | GitHub repository name |
description |
string | ✅ | Brief description (max 200 chars) |
homepage |
string | ❌ | Project website or documentation URL |
license |
string | ❌ | SPDX license identifier (e.g., "MIT", "Apache-2.0") |
category |
string | ❌ | Category for filtering (see categories below) |
download_url |
string | ❌ | Direct download URL for binary releases |
name - The display name shown on the websiteowner - Your GitHub username or organization name repo - The exact repository name on GitHubdescription - A brief description of your project (keep it under 200 characters)homepage - Link to your documentation or project websitelicense - Use SPDX identifiers (MIT, Apache-2.0, GPL-3.0, etc.)category - Helps users filter and discover your projectdownload_url - Direct download link for pre-built binariesUsers can install packages directly using zig fetch:
# Using .tar.gz (recommended)
zig fetch --save https://github.com/{owner}/{repo}/archive/refs/tags/{version}.tar.gz
# Using .zip
zig fetch --save https://github.com/{owner}/{repo}/archive/refs/tags/{version}.zip
For repositories without releases, the main branch is used:
# Main branch (latest commit)
zig fetch --save https://github.com/{owner}/{repo}/archive/refs/heads/main.tar.gz
The website automatically generates these commands with copy-to-clipboard functionality!
After running zig fetch --save, add the dependency to your build.zig:
const std = @import("std");
pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
// Add dependency
const dep = b.dependency("package-name", .{
.target = target,
.optimize = optimize,
});
const exe = b.addExecutable(.{
.name = "my-app",
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
// Import module from dependency
exe.root_module.addImport("package-name", dep.module("package-name"));
b.installArtifact(exe);
}
| Page | URL | Description |
|---|---|---|
| Home | / |
Overview with stats and featured projects |
| Packages | /packages |
Browse all Zig packages |
| Applications | /applications |
Browse all Zig applications |
| Search | /search |
Advanced search with filters |
| Repository | /repo?owner=xxx&name=yyy |
Detailed project view |
| User Profile | /u?username=xxx |
Developer profile & projects |
| How to Add | /how-to-add |
Submission guide |
build.zig or build.zig.zon# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
This registry is open source under the MIT License.
We welcome contributions! Here's how you can help:
Made with ❤️ by the Zig Community