Skip to content
Proyectos

zigcc/awesome-zig has 2,556 GitHub stars and 179 forks. GitHot measured +2 stars in 24 hours and +11 in 7 days. Last checked 2026-11-11 09:33 UTC. Last push 2026-10-30.

Cómo se miden estas cifras

A collaborative list of awesome Zig libraries and resources.

Crecimiento de estrellas medido

in 24h
+2
in 7 days
+11
in 15 days
Actualización retrasada
in 1 month
Actualización retrasada

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Awesome Zig Awesome

Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.

[!IMPORTANT] Zig is a rapidly evolving language. Some projects listed here may require a specific version of the Zig compiler (e.g., the latest master or a stable release like 0.13.0). Always check the project's repository for compatibility.

Contributing

Contents

Fundamentals

Learning Resources

Community

  • Ziggit - The Zig forum.
  • Discord - Official Zig Discord server.
  • ZigCC - Chinese Zig community.
  • Reddit - The Zig subreddit.
  • Zig Monthly - Articles and news from the community.
  • Zigistry/Zigistry - A place where you can find all the libraries that suit your Zig lang needs.

Text Editors

Linters

Documentation and Testing

  • kristoff-it/zig-doctest - A tool for testing snippets of code, useful for websites and books that talk about Zig.
  • ryo-zen/zig-docs-mcp - MCP server providing access to Zig language docs, stdlib references, and working code examples.
  • sb2bg/marionette - Deterministic simulation testing for Zig with a std.Io implementation, letting you inject faults and replay failures from seeds.
  • newmathphys/kern - Zero-trust verification gateway: a claim is admitted only with machine evidence, so every Z3 proof DAG is re-checked inside KERN's own Zig kernel and each counterexample is replayed against the real function in Python (for C/Zig/Rust the counterexample comes from the SMT model with machine-type bounds). Contract annotations (@kern:requires/@kern:ensures) are checked in Python, Zig, C and Rust, and the toolchain ships 125 Lean 4 theorems with 0 sorry. AI-assisted.

Package and Version Manager

Utility

  • BrookJeynes/jido - Jido (formerly known as zte) is a small terminal file explorer, written in Zig.
  • fearedbliss/Honeydew - A simple snapshot cleaner for OpenZFS written in Zig.
  • fearedbliss/Cantaloupe - A simple backup replication tool for OpenZFS written in Zig.
  • forketyfork/architect - A flexible terminal grid for multi-agent AI workflows.
  • Arnau478/hevi - A minimalistic and modernized hex viewer, written in Zig.
  • gaskam/workspace - A powerful Zig-based tool to manage all your GitHub repositories with ease.
  • rockorager.dev/lsr - Efficient and fast ls alternative, written in Zig.
  • gauravnumber/move.zig - Zig-based mv with auto conflict resolution.
  • xcaeser/zig-dotenv - A powerful Zig library for loading, parsing, and managing environment variables from .env files.
  • deatil/zig-dotenv - A parse and set env library for Zig.
  • ktarasov/zigrep - A training project on the implementation of the similarity of the grep utility in Linux in the Zig language.
  • hspak/geteltorito-zig - Re-write of geteltorito in Zig.
  • NilsIrl/dockerc - Container image to single executable compiler.
  • shepherdjerred/macos-cross-compiler - Cross-compilation toolchain for Zig users to compile binaries for macOS on Linux.
  • rockorager/zzdoc - A scdoc-compatible manpage compiler for use in build.zig.
  • ghostty - Modern terminal emulator written in Zig.
  • midasdf/zt - Ultra-fast, minimal terminal emulator written in Zig with fbdev, X11, Wayland, and macOS backends.
  • zlist - A simple, colorful alternative to ls built with Zig.
  • zdu - A fast, low-memory TUI disk usage analyzer written in Zig.
  • zmx - Session persistence for terminal processes.
  • ghext - A small library for extracting head commits from Git repositories.
  • nrdmn/ilo_license_key - This library validates HP iLO license keys.
  • Decryptu/zigdex - Display Pokémon sprites in your terminal. A Zig rewrite of pokeget.
  • mtxr/claude-switch - Switch between Claude Code and Claude Desktop accounts without logging out, with per-directory profiles and concurrent terminals. Standalone binaries for macOS and Linux; Claude Desktop support is macOS only. AI-assisted.
  • copyleftdev/whatthediff - Deterministic semantic diff across many files at once — finds consensus, drift, and outliers with inspectable evidence, from configs and JSON/YAML/XML/PDF to executables (SSDeep-style fuzzy analysis). Zero dependencies.
  • bare-devcontainer/templates - Security-focused Zig dev container with zls integration and a persistent build cache. The base image is available at bare-devcontainer/images.
  • xsawyerx/vind - A tiny embeddable full-text search engine that also has a CLI app and a built-in service.
  • Illusionna/LocalTransfer - A fast cross-platform HTTP file server.
  • deatil/zig-rsa - An RSA library for Zig. No-AI.
  • ktarasov/check_links - A command-line utility (CLI) written in Zig for checking links on a web page. AI-assisted.
  • lkraider/keywise - View saved logins from a local Firefox profile. Single binary, TUI and native GUI on macOS and Windows, five OS/arch targets. AI-assisted.
  • hgrsd/duplik - Zig-based CLI to detect duplicate files. No-AI.
  • ensky0/tildaz - Native Quake-style drop-down terminal for Linux, macOS, and Windows, written in Zig on libghostty-vt. AI-assisted.
  • aikoschurmann/zog - Fast JSONL search engine with a SQL-like query language for filtering, field extraction and aggregation. A SIMD prefilter skips lines that cannot match and a validating parser decides the rest exactly. AI-assisted.

Linker

  • kubkon/bold - A drop-in replacement for Apple’s system linker ld.

Performance Benchmark

Language Essentials

Memory Allocator and Management

Data Structure and Algorithm

String Processing

  • atman/zg - Provides Unicode text processing for Zig projects. It works correctly with the Russian language and other languages.
  • shaik-abdul-thouhid/ezi-code - A comprehensive Unicode library for Zig covering UTF-8/16/32 encoding, normalization (NFC/NFD/NFKC/NFKD), segmentation (grapheme/word/sentence/line), casing, BiDi, collation (UCA/DUCET), and character properties. No dependencies.
  • JakubSzark/zig-string - Zig String (A UTF-8 String Library). This library is a UTF-8 compatible string library for the Zig programming language.
  • jecolon/zigstr - Zigstr is a UTF-8 string type for Zig programs.
  • ziglibs/string-searching - String(not limited to []const u8)-searching algorithms in Zig.
  • hwu1001/zig-string - A String struct made for Zig.

Parser Library

Logging Processing

  • emekoi/log.zig - A thread-safe logging library for Zig.
  • g41797/syslog - A syslog RFC5424 client library.
  • chrischtel/nexlog - A modern, feature-rich logging library for Zig with thread-safety, file rotation, and colorized output.
  • sam701/slog - A configurable, structured logging package for Zig with support for hierarchical loggers.
  • ross-weir/logex - A library that enriches std.log logging with additional functionality and features.
  • muhammad-fiaz/logly.zig - A modern, production-grade, high-performance structured logging library for Zig, built for speed and scalability.

File Format Processing

Date, Time and Timezones

Command Line and Argument Parser

  • Hejsil/zig-clap - A simple and easy to use command line argument parser library for Zig.
  • MasterQ32/zig-args - Simple-to-use argument parser with struct-based config.
  • jiacai2050/zigcli - A toolkit for building command lines programs in Zig.
  • PrajwalCH/yazap - The ultimate Zig library for seamless command line parsing. Effortlessly handles options, subcommands, and custom arguments with ease. prajwalch.github.io/yazap.
  • 00JCIV00/cova - Commands, Options, Values, Arguments. A simple yet robust cross-platform command line argument parsing library for Zig.
  • BanchouBoo/accord - A simple argument parser for Zig.
  • judofyr/parg - Lightweight argument parser for Zig.
  • sam701/zig-cli - A simple package for building command line apps in Zig.
  • GabrieleInvernizzi/zig-prompter - A flexible library for building interactive command line prompts.
  • kioz-wang/zargs - Another Comptime-argparse for Zig.
  • xcaeser/zli - Zig command-line interfaces made easy. A blazing fast CLI framework. Build ergonomic, high-performance command-line tools with Zig.
  • CogitatorTech/chilli - Chilli 🌶️ is a minimalistic CLI framework for Zig.
  • plutowang/zlap - A declarative, fluent, and type-safe command-line argument parser for Zig with subcommand support, inspired by Rust's clap.
  • muhammad-fiaz/args.zig - Fast, powerful, and developer-friendly CLI argument parsing library for Zig.
  • hgrsd/zopt - Low-ceremony schemaless command line argument parser for the Zig ecosystem. No-AI.

Finite State Machine

Systems Programming

Asynchronous Runtime

  • mitchellh/libxev - A cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and WebAssembly + WASI. Available as both a Zig and C API.
  • kprotty/zap - An asynchronous runtime with a focus on performance and resource efficiency.
  • Thomvanoorschot/backstage - Concurrent Actor framework.
  • floscodes/coroutinez - A small runtime for running tasks using coroutines in Zig.
  • lithdew/pike - Async I/O for Zig.
  • neurocyte/thespian - An actor library for Zig, C & C++ applications.

Multithreading

Embedded Development

Operating Systems

Compilers and Interpreters

  • Aro - A C compiler with the goal of providing fast compilation and low memory usage with good diagnostics.
  • buzz - A small/lightweight statically typed scripting language.
  • dawk - Reasonably fast POSIX-compliant AWK implementation with good diagnostics.
  • Element 0 - A small embeddable Lisp dialect written in Zig.
  • fubark/cyber - Fast and concurrent scripting.
  • Fun - A statically-typed language that transpiles to C, combining safety and performance with C's efficiency.
  • fury - A gradual, safe systems language.
  • squeek502/zua - An implementation of Lua 5.1 in Zig, for learning purposes.
  • Vexu/bog - Small, strongly typed, embeddable language.
  • zish - An opinionated shell written in Zig.

Emulators

Kernel and Containers

  • zbpf - Writing eBPF in Zig.
  • oci-spec-zig - OCI (Open Container Initiative) runtime, image and distribution spec in Zig.

Network & Web

Network

  • Nyarum/zigtgshka - Memory-safe, high-performance Telegram Bot API library for Zig with zero-cost abstractions and comprehensive examples.
  • sleep3r/mtproto.zig - High-performance Telegram MTProto proxy written in Zig.
  • Vexu/routez - HTTP server for Zig.
  • Vexu/zuri - URI parser for Zig.
  • karlseguin/http.zig - An HTTP/1.1 server for Zig.
  • muhammad-fiaz/httpx.zig - Production-ready HTTP/1.x/2/3 client and server runtime for Zig with proxy support, concurrency, and protocol primitives.
  • ducdetronquito/h11 - I/O-free HTTP/1.1 implementation inspired by hyper/h11.
  • lun-4/zigdig - Naive dns client library in Zig.
  • connectFree/ZigZag - Noise Framework implementation in Zig Language for use in EVER/IP and WireGuard.
  • YUX/floo - High-throughput, token-authenticated tunneling built in Zig. Multiplexes TCP and UDP services through a Noise-protected transport with 29+ Gbit/s encrypted throughput.
  • euantorano/ip.zig - A Zig library for working with IP Addresses.
  • lun-4/ziget - Simple wget in Zig without libc.
  • marler8997/netpunch - Punch Protocol.
  • mstroecker/zig-robotstxt - Lightweight Docker image for serving a disallow robots.txt file using the Zig programming language.
  • remeh/statsd-zig - Basic DogStatsD UDP/UDS server supporting gauges and counters and sending these metrics to Datadog.
  • gernest/url - This is RFC 3986 compliant url parser for Zig.
  • ringtailsoftware/misshod - Experimental minimalist SSH client and server in Zig.
  • g41797/beanstalkz - Thread-safe client library for beanstalkd, a queue for background job processing.
  • vascocosta/zircon - A simple IRC library written in Zig.
  • tardy-org/zzz - A framework for writing performant and reliable networked services in Zig. Supports HTTP and HTTPS.
  • Thomvanoorschot/async_zocket - Async WebSocket library for Zig, able to run concurrently on a single thread.
  • Thomvanoorschot/wire - Basic TCP Server/Client able to run concurrently on a single thread.
  • cocky-punch/raft - Raft consensus algorithm implemented in Zig.
  • rktr1998/zig-wol - Wake-on-lan CLI written in Zig.
  • williamw520/zigjr - A lightweight Zig library for building JSON-RPC 2.0 applications.
  • zat.dev/zat - AT Protocol building blocks for zig.
  • zigcord - Typed Discord API for Zig.
  • zquic - QUIC transport protocol (RFC 9000/9001/9002) with HTTP/3 and QPACK support, written in pure Zig with zero C dependencies.
  • zigtls - Zig-native TLS Implementation library for edge/load-balancer event loops, with BoGo strict, interop, and reliability gates.
  • zora - Telegram bot server that runs hot-reloadable Lua 5.4 rules, with coroutine-based async I/O, SQLite-backed state, and a durable scheduler. Targets Linux and FreeBSD.
  • zig-nostr/nostr - The Nostr protocol natively in Zig: secp256k1/Schnorr keys, events, relay transport with the outbox model, a local-first LMDB event store, NIP-46 remote signing, and more.
  • guanchzhou/zig-klient - Kubernetes client library for Zig. AI-assisted.
  • zig-nostr/deed - Fastest and smallest nostr command line, built for AI agents and humans. AI-assisted.
  • guanchzhou/zig-telegram - Telegram Bot API 10.3 client, pure-Zig MTProto 2.0 core, and TDLib bridge for Zig 0.17. AI-assisted.

Browser

Web Framework

Web3 Framework

WebAssembly

Data & Science

Database

Linear Algebra

Scientific Computation

Machine Learning Framework

Large Language Model

  • cgbur/LLaMa2.zig - Inference LLaMA 2 in one file of pure Zig.
  • clebert/LLaMa2.zig - Inference LLaMA 2 in pure Zig.
  • CogitatorTech/zigformer - ZigFormer is a transformer-based LLM implemented in pure Zig.
  • cognisoc/zigllm - Educational: build an LLM in Zig from scratch — tensors to text generation.
  • cztomsik/clown-code - AI Coding assistant.
  • ddalcu/mlx-serve - Native LLM inference server for Apple Silicon (MLX + GGUF) with OpenAI- and Anthropic-compatible APIs; ships MLX Core, a macOS menu-bar app. MIT.
  • EugenHotaj/zig_gpt2 - Neural Network Inference Engine in Zig. GPT2 inference engine written in Zig. The inference engine can run NanoGPT.
  • nullclaw/nullclaw - Fastest, smallest, and fully autonomous AI assistant infrastructure written in Zig.
  • ollama-zig - Ollama Zig library.
  • renerocksai/gpt4all.zig - Zig build for a terminal-based chat client for an assistant-style large language model with ~800k GPT-3.5-Turbo Generations based on LLaMA.
  • SMC17/faiss-zig - Pure-Zig vector similarity search; Flat + HNSW + IVFFlat + IVFPQ. AGPL-3.0.
  • SMC17/safetensors-zig - Pure-Zig Hugging Face safetensors reader; ~5x faster than the Rust upstream on Llama-shape parse fixtures. AGPL-3.0.
  • SMC17/tokenizers-zig - Pure-Zig Hugging Face tokenizers covering BPE / WordPiece / Unigram with full HF Encoding parity, sub-token offsets, and a 600-iter property fuzz. AGPL-3.0.
  • SMC17/vllm-zig - LLM serving substrate. Real TinyLlama forward pass through Zig kernels: RoPE + GQA + KV cache + multi-thread SIMD matmul + streaming. AGPL-3.0.
  • guanchzhou/zig-select - Budgeted selection of retrieved chunks for LLM context: knapsack packing, score calibration, and diversity. AI-assisted.
  • guanchzhou/zig-diffuse - Re-ranking of retrieval scores by diffusion on link and nearest-neighbor graphs. AI-assisted.
  • guanchzhou/zig-lsh - Cross-polytope and hyperplane LSH with multi-probe for approximate nearest-neighbor search. AI-assisted.
  • guanchzhou/zig-rabitq - RaBitQ one- to eight-bit vector codes with error bounds for approximate nearest-neighbor search. AI-assisted.
  • guanchzhou/zig-pq - Product quantization, k-means, and IVF-PQ for approximate nearest-neighbor search. AI-assisted.

Machine Learning

Encryption

Sensor and Communication Interface

Multimedia & Graphics

GPU Computing

  • gwenzek/cudaz - Toy Cuda wrapper for Zig.
  • lennyerik/cutransform - CUDA kernels in any language supported by LLVM.
  • Snektron/vulkan-zig - Vulkan binding generator for Zig.
  • hexops/mach-gpu - Provides a truly cross-platform graphics API for Zig (desktop, mobile, and web) with unified low-level graphics & compute backed by Vulkan, Metal, D3D12, and OpenGL (as a best-effort fallback).
  • hexops/mach-gpu-dawn - Google's Dawn WebGPU implementation, cross-compiled with Zig into a single static library.
  • ckrowland/simulations - GPU accelerated visual simulations.
  • Avokadoen/zig_vulkan - Voxel ray tracing using Vulkan compute.
  • akhildevelops/cudaz - Cuda wrapper for interacting with GPUs in Zig.
  • e253/zig-ocl - Static Zig Build of the OpenCL ICD Loader from Khronos Group.
  • MASS4/MEGA4/GPU - Minimal window + GPU device platform layer for Zig built on SDL3's GPU API (Vulkan/Metal/D3D12).

Graphics Library

GUI

Game Development

Audio Processing

Image and Video Processing

Interoperability

FFI Bindings

Zig wrappers and bindings for existing C/C++ libraries, providing idiomatic Zig APIs.

Build with Zig

Existing C/C++ projects that have replaced their original build systems with Zig's build system, enabling seamless cross-compilation and dependency management via zig build.

  • libz - Library zlib with the build system replaced by Zig.
  • libmp3lame - Library libmp3lame with the build system replaced by Zig.
  • libvorbis - Library libvorbis with the build system replaced by Zig.
  • libogg - Library libogg with the build system replaced by Zig.
  • nasm - Library nasm with the build system replaced by Zig.
  • FFmpeg - Library FFmpeg with the build system replaced by Zig.
  • libebur128 - Library libebur128 with the build system replaced by Zig.
  • pulseaudio - Library pulseaudio with the build system replaced by Zig.
  • libchromaprint - Library chromaprint with the build system replaced by Zig.
  • libxlsxwriter - A C library for creating Excel XLSX files, build system replaced by Zig.
  • raylib - A simple and easy-to-use library to enjoy videogames programming.
  • openssl - TLS/SSL and crypto library (uses Zig Build).
  • wolfssl - Library WolfSSL Using Zig Build.
  • fmt - A modern formatting library (uses Zig build-system).
  • boost unordered - Boost.org unordered module (uses Zig build).
  • boost async - Coroutines for C++20 & asio (uses Zig build for testing).
  • json - Library JSON for Modern C++ (uses Zig build-system).
  • context - Library boost.context using Zig build.
  • fiber - Userland threads using Zig build.
  • outcome - Provides very lightweight outcome<T> and result<T> (non-Boost edition) (uses Zig build-system).
  • Standalone - An Asio standalone C++ HTTP/S Server (uses Zig build-system).
  • asio - The Asio C++ Library with Zig build-system.
  • observable - Unique-ownership smart pointers with observable lifetime.
  • Catch2 - A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch) - uses Zig build-system.
  • cppfront - Build Cppfront with Zig build.
  • hana - Your standard library for metaprogramming.
  • intrusive - Boost.org intrusive module.
  • range - The Range library for C++14/17/20, basis for C++20's std::ranges.
  • benchmark - A microbenchmark support library. First posted on Ziggit.
  • boring_tls - Google's BoringTLS client and server. Adds TLS to any (including non standard library) TCP/HTTP traffic.
  • libui-ng - Library libui-ng (a portable GUI library for C) with the build system replaced by Zig.

Explorar proyectos relacionados