The official registry of Zig packages and applications for Zig Index.
Zig Index is a community-driven registry for discovering and sharing Zig packages, libraries, and applications. It provides:
- ๐ฆ Package Discovery: Browse and search through curated Zig packages
- ๐ Application Showcase: Find tools and software built with Zig
- ๐ Live Statistics: Real-time GitHub stats (stars, forks, issues)
- ๐ README Display: View project documentation directly
- ๐ง Installation Commands: Copy-to-clipboard
zig fetchcommands - ๐ค Developer Profiles: View contributors and their Zig projects
- ๐ Advanced Search: Filter by category, license, and more
repositories/
โโโ 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 namerepo- 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 binaries
Users 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}.zipFor 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.gzThe 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 |
- โ Open source Zig projects on GitHub
- โ
Projects with
build.zigorbuild.zig.zon - โ Well-documented projects with READMEs
- โ Active projects (updated within the last year)
- โ Closed source projects
- โ Non-Zig projects
- โ Abandoned/archived repositories
- โ Forks without significant changes
- โ Tutorial/example code (unless it's a library)
- Node.js 18+
- npm or pnpm
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview- Framework: Astro v5
- UI: React + Tailwind CSS v4
- Components: shadcn/ui
- Animations: Framer Motion
- Data Fetching: TanStack Query
- Caching: IndexedDB via Dexie.js
- Hosting: GitHub Pages
This registry is open source under the MIT License.
- Website: https://zig-index.github.io
- Repository: https://github.com/Zig-Index/zig-index.github.io
- Zig Language: https://ziglang.org
- Zig Discord: https://discord.gg/ziglang
We welcome contributions! Here's how you can help:
- Add Projects: Submit PRs to add Zig packages/applications
- Report Issues: Found a bug? Open an issue
- Improve Code: PRs for bug fixes and features welcome
- Spread the Word: Share Zig Index with the community!
Made with โค๏ธ by the Zig Community