Skip to content

Zig-Index/zig-index.github.io

Repository files navigation

Zig Index

A curated indexing registry for discovering Zig packages and applications.

Live Site · Add Your Project · Registry

Your Merged PRs will appear on the live site within 30 minutes automatically!

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.

Features

  • 📦 Curated Registry - Quality-focused collection of Zig projects
  • Fast - Static site with on-demand GitHub stats
  • 🔍 Search & Filter - Find packages by topic, license, or text search
  • 💾 Aggressive Caching - Stats cached client-side for fast repeat visits
  • Live Stats - Stars, forks, and watchers from GitHub
  • 🎨 Dark Mode - Beautiful light and dark themes
  • 📱 Responsive - Works great on all devices

Repository Structure

This is the main website repository. The registry data is maintained separately:

Add Your Project

To add your project to Zig Index:

  1. Fork the registry repository
  2. Create a JSON file in repositories/packages/ or repositories/applications/
  3. Submit a Pull Request

See the registry README for details.

Development

Prerequisites

  • Node.js 18+
  • npm or pnpm

Setup

# Clone with submodules
git clone --recurse-submodules https://github.com/Zig-Index/zig-index.github.io.git
cd zig-index.github.io

# Or if already cloned, initialize submodules
git submodule update --init --recursive

# Install dependencies
npm install

# Start dev server
npm run dev

# Build for production
npm run build

Environment Variables

Create a .env file (see .env.example):

# Optional: GitHub token for higher API rate limits
# Get one at https://github.com/settings/tokens
GITHUB_TOKEN=your_github_token_here

Tech Stack

License

MIT License - see LICENSE file.

Links