Skip to content
Z

Zigar

Toolkit enabling the use of Zig code in JavaScript and PHP projects

by chung-leongFree

#3514in Developer Tools
0In stores

Description

Zigar is a toolkit that lets JavaScript and PHP projects use code written in Zig. It marshals calls in both directions, so Zig functions can…

Highlights

  • Call Zig code from JavaScript and PHP
  • Native code on Node.js, Bun, Electron and NW.js
  • WebAssembly builds for Webpack, Rollup and Vite
  • Threads and async task management
  • Tutorials and browser demos

Ratings & Reviews

No ratings yet

Be the first to rate Zigar.

People also visit

Z

Zig.guide

Repo for https://zig.guide content. Get up to speed with Zig quickly

Education
Launch
F

Fizzy

Pixel art editor made with Zig

Utilities
Launch
Z

Zig Gamedev

Dev repo for @zig-gamedev libs and sample applications

Entertainment
Launch
R

Rzweb

A complete browser-based reverse engineering platform built on Rizin

Developer Tools
Launch
G

Globe

Where Your Code Runs

AI
Launch
K

Kyushu

A Self-Hostable Wasm Sandbox for JavaScript Workers

Developer Tools
Launch

Zigar FAQ

What is Zigar?

A toolkit for using Zig code in JavaScript and PHP projects.

Which platforms are supported?

macOS, Linux and Windows, in 64-bit and 32-bit. Native code runs on Node.js, Bun.js, Electron and NW.js, and WebAssembly works with Webpack, Rollup and Vite.

Where is the documentation?

In the project wiki, with tutorials for hello world, SHA-1 digests, image processing and an HTTP server.

Do the browser demos need anything special?

Some use WebAssembly threads, which may not be available in older browsers.

Is it open source?

Yes. The source is public on GitHub at chung-leong/zigar.

What are the best Zigar alternatives?

Popular alternatives to Zigar include Rzweb, Kyushu and Czkawka Tauri. See all Zigar alternatives

Developer Stuff

Badges