[Zig]Tools, Frameworks & Examples
keywords: Zig Resources Collections
Collection
awesome-zig
https://github.com/nrdmn/awesome-zig
A collection of zig libraries which provide interfaces over the system for writing high performance applications
https://github.com/kprotty/zap
Examples
Ray Tracing
Ray Tracing in One Weekend (Zig)
https://github.com/Nelarius/weekend-raytracer-zig
simple raytracer in zig
https://github.com/tiehuis/zig-raytrace
Ray Tracing in One Weekend in Zig!
https://github.com/ryoppippi/Ray-Tracing-in-One-Weekend.zig
Vulkan
simple triangle displayed using vulkan, glfw, and zig
https://github.com/andrewrk/zig-vulkan-triangle/
Vulkan binding generator for Zig
https://github.com/Snektron/vulkan-zig
OpenGL
Zig OpenGL Wrapper
https://github.com/ziglibs/zgl
OpenGL Triangle Example made with Zig
https://github.com/Kiakra/Zig-OpenGL-Triangle
3D Game Engine
Zig 3D game engine.
https://github.com/zenith391/didot
Game Emulator
Game Boy Advance “Hello World” using Zig programming language
https://github.com/wendigojaeger/ZigGBAHelloWorld
Tools & Frameworks
Rendering
Building gamedev ecosystem for Zig!
https://github.com/michal-z/zig-gamedev
OpenGL
https://learnopengl.com tutorials ported to zig
https://github.com/cshenton/learnopengl
Application framework based on OpenGL ES 2.0. Runs on desktop machines, Android phones and the web
https://github.com/MasterQ32/zero-graphics
GUI
Zootdeck Fediverse GTK Desktop Reader (it contains usage of Vulkan and GLFW)
https://github.com/donpdonp/zootdeck
Zig GUI Toolkit: Portable library for making native GUIs in Zig
https://github.com/zenith391/zgt
Pixel art editor made with Zig.
https://github.com/foxnne/pixi
Code Transforming
Transforms LLVM feature and CPU data into representative code for the Zig standard library.
https://github.com/layneson/zig-llvm-target-details-generator
API Bindings
A shallow wrapper around SDL that provides object API and error handling
https://github.com/MasterQ32/SDL.zig
A complete autogenerated set of Zig bindings for the Win32 API.
https://github.com/marlersoft/zigwin32
Ziggified GLFW bindings with 100% API coverage, zero-fuss installation, cross compilation, and more.
https://github.com/hexops/mach-glfw
Zig language bindings for the incredible Tracy profiler
https://github.com/SpexGuy/Zig-Tracy
zigwin32gen. Complete Autogenerated Zig bindings for Windows.
https://github.com/marlersoft/zigwin32gen
Scripting
Simple V8 builds with C and Zig bindings.
https://github.com/fubark/zig-v8
Single binary tool for building graphical and cli apps in Javascript/TS.
https://github.com/fubark/cosmic
TigerBeetle Node.js client
https://github.com/coilhq/tigerbeetle-node
napi.zig, fast napi bindings for zig.
https://github.com/evanwashere/napi.zig
A Sol-inspired minimalist Lua binding for Zig.
https://github.com/ranciere/zoltan
This is a Zig interpreter written in TypeScript.
https://github.com/mbrock/zigjs
A general purpose runtime for Javascript/WASM.
https://github.com/fubark/cosmic
Bit Twiddling Hacks
Zig Bit Twiddling Hacks
https://github.com/cryptocode/bithacks
Archive
Simple archive format designed for quickly reading some files without extracting the entire archive. Possibly will be used in Bun.
https://github.com/Jarred-Sumner/hop
JSON
simdjzon, This is a port of simdjson, a high performance JSON parser developed by Daniel Lemire and Geoff Langdale to zig.
https://github.com/travisstaloch/simdjzon
Image Compression
Quite OK Image format encoder/decoder written in Zig
https://github.com/MasterQ32/zig-qoi
Games
Casual Games
Simple Pacman clone written in Zig.
https://github.com/floooh/pacman.zig
A clone of the classic QBasic Gorillas written in the Zig programming language
https://github.com/fabioarnold/zig-gorillas
A game written in ~1 day using zig and vulkan
https://github.com/Avokadoen/gamejam-zig-vulkan
Arcade Games
multiplayer arcade game for bare metal Raspberry Pi 3 B+
https://github.com/andrewrk/clashos
prototyping the game for andrewrk/clashos
https://github.com/andrewrk/clashproto
Arcade style game written in Zig
https://github.com/dbandstra/oxid
Puzzle Game
A simple tetris clone written in zig programming language.
https://github.com/andrewrk/tetris
Tutorials
Websites of Tutorials
Zig Learning
https://ziglearn.org/
林中有两条路,你永远只能走一条,怀念着另一条。──罗伯特·弗罗斯特(Robert Frost)