Zig Zig

Open-source Zig projects categorized as Zig

Top 23 Zig Zig Projects

  • bun

    Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

    Project mention: GitHub - Redfire75369/spiderfire: JavaScript Runtime built with Mozilla's SpiderMonkey Engine | reddit.com/r/javascript | 2023-05-26

    Bun's implementation of ReadableStream is broken, ReadbleStream reads to completion in server, does not stream #1886.

  • zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

    Project mention: Zig emulating any target architecture - how is it achieved? | reddit.com/r/Zig | 2023-06-02

    On Home ⚡ Zig Programming Language (ziglang.org), it is stated that Zig comptime will emulate target architecture.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • ziglings

    Learn the Zig programming language by fixing tiny broken programs.

    Project mention: Learning how to use the Zig build system. | reddit.com/r/Zig | 2023-05-28
  • river

    A dynamic tiling Wayland compositor (by riverwm)

    Project mention: Is there any way to remove the Title bar from zathura on RiverWM | reddit.com/r/riverwm | 2023-05-29

    Here is the related github issue

  • mach

    Mach is a game engine & graphics toolkit for the future.

    Project mention: Learn WebGPU | news.ycombinator.com | 2023-04-27

    Zig fits pretty naturally here too. We've got ~19 WebGPU examples[1] which use Dawn natively (no browser support yet), and we build it using Zig's build system so it 'just works' out of the box with zero fuss as long as you grab a recent Zig version[2]. No messing with cmake/ninja/depot_tools/etc.

    WASM support in Zig, Rust, and C++ is also not equal. C++ prefers Emscripten which reimplements parts of popular libraries like SDL, for me personally that feels a bit weird as I don't want my compiler implementing my libraries / changing how they behave. Rust I believe generally avoids emscripten(?), but Zig for sure lets me target WASM natively and compile C/C++ code to it using the LLVM backend and soon the custom Zig compiler backend.

    [1] https://github.com/hexops/mach-examples

    [2] https://github.com/hexops/mach#supported-zig-version

  • zls

    The @ziglang language server for all your Zig editor tooling needs, from autocomplete to goto-def!

    Project mention: Have questions/requests/issues related to the Zig Language Server? | reddit.com/r/Zig | 2023-05-06

    There is no official documentation but the standard library provides definitions for the exchange format and an incomplete set of function for exchanging messages in Client.zig and Server.zig. You can find examples of the zig compile server in action in my PR for ZLS and a showcase of hot-code-swapping by kubkon. The code that implements the ZCS in the zig codebase can be found here.

  • capy

    💻Build one codebase and get native UI on Windows, Linux and Web

    Project mention: Zig, the Small Language | news.ycombinator.com | 2022-09-07

    The fanaticism of Rust devs makes me think it's probably massively overrated (see Node yesterday and Ruby/Rails the day before) and Go is associated by Google which gets a perhaps unfair but still unignorable knee-jerk reaction from me to avoid it.

    I don't know enough about Nim to pass judgment.

    Two reasons I decided to give Zig a try: The official chat channel is on IRC, instead of Discord or Slack (so the people involved care about efficiency, open standards, and avoiding trends/bandwagoning), and it has an early but promising-looking Swift UI-like cross-platform UI framework in development: https://github.com/capy-ui/capy

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • gyro

    A Zig package manager with an index, build runner, and build dependencies.

    Project mention: [Zig] Quelle est la bonne façon d'installer / utiliser la bibliothèque? | reddit.com/r/enfrancais | 2023-05-11
  • buzz

    👨‍🚀 buzz, A small/lightweight statically typed scripting language (in development) (by buzz-language)

    Project mention: Show HN: Buzz, strongly typed scripting language written in Zig | reddit.com/r/patient_hackernews | 2022-11-21
  • zigmod

    📦 A package manager for the Zig programming language.

  • libxev

    libxev is 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 Wasm + WASI. Available as both a Zig and C API.

    Project mention: Zig: The Modern Alternative to C | news.ycombinator.com | 2023-03-10


    - one from the Tigerbeetle DB

  • arocc

    A C compiler written in Zig.

    Project mention: no more bit fiddling (and introducing bilge) | reddit.com/r/rust | 2023-05-15

    Possible reference as it requires to use the compiler as part of language abi: https://github.com/Vexu/arocc/issues/178 Not sure, where a better thread with explanations of the flaws is.

  • zig-clap

    Simple command line argument parsing library

  • bog

    Small, strongly typed, embeddable language.

    Project mention: Bog – small, strongly typed, embeddable language | reddit.com/r/patient_hackernews | 2023-01-29
  • kernel-zig

    :floppy_disk: hobby x86 kernel zig

  • microzig

    Unified abstraction layer and HAL for several microcontrollers

    Project mention: I want some opinions and advices on a personal/educational project (zig on stm32 ,a simple grbl) | reddit.com/r/Zig | 2023-01-11

    Maybe you could look into MicroZig (https://github.com/ZigEmbeddedGroup/microzig). You could also look into some projects kn github built by the community. I’m sure there would be some example projects built by someone in the community using stm32 boards as they’re very popular in general.

  • zap

    An asynchronous runtime with a focus on performance and resource efficiency. (by kprotty)

  • zf

    a commandline fuzzy finder designed for filtering filepaths

    Project mention: Zf: Command line fuzzy finder that prioritizes matches on filenames | news.ycombinator.com | 2023-03-04
  • zhp

    A Http server written in Zig

    Project mention: I want to run simple http server that I also know how it works | reddit.com/r/Zig | 2022-10-03
  • zigup

    Download and manage zig compilers.

    Project mention: Made a little tool to download & update zig nightly binaries for you | reddit.com/r/Zig | 2023-05-19

    You might be interested in https://github.com/marler8997/zigup - which many people use.

  • cosmic

    A platform for computing and creating applications. (by fubark)

    Project mention: Zig is becoming more production-worthy - zigmonthly | reddit.com/r/stephentest | 2022-07-04

    What if you could develop native applications in JavaScript or WASM, with a runtime that is not Electron? Cosmic is one answer to that, and a project to keep an eye on for sure:

  • zig-network

    A smallest-common-subset of socket functions for crossplatform networking, TCP & UDP

    Project mention: Zig Common Tasks - a collection of Zig code snippets for some of the most common tasks | reddit.com/r/Zig | 2022-07-06

    There is an external package which you can use instead here that is cross compatible between systems: https://github.com/MasterQ32/zig-network

  • mecha

    A parser combinator library for Zig (by Hejsil)


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-06-02.

Zig Zig related posts


What are some of the best open-source Zig projects in Zig? This list will help you:

Project Stars
1 bun 41,601
2 zig 22,516
3 ziglings 2,952
4 river 2,287
5 mach 1,819
6 zls 1,518
7 capy 811
8 gyro 555
9 buzz 551
10 zigmod 512
11 libxev 510
12 arocc 508
13 zig-clap 435
14 bog 422
15 kernel-zig 383
16 microzig 362
17 zap 336
18 zf 328
19 zhp 308
20 zigup 305
21 cosmic 289
22 zig-network 282
23 mecha 270
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises