Additional examples - chung-leong/zigar GitHub Wiki
-
HTTP server
Creating a simple HTTP server that serves static contents.
node native multithread
-
Cowsay
Running a silly C program in the browser with the help of Zig.
vite wasm c
-
Lua interpreter
Creating a cross-platform Lua interpreter with the help of a third-part package.
electron native package
-
SQLite
Accessing an in-process database with the help of Zig.
electron native package
-
Using snprintf
Calling a C variadic function from JavaScript--because you can.
node vite wasm native c
-
MySQL/MaraiDB
Reading from and writing to a MySQL/MariaDB database.
electron native package multithread
-
HTTP server (zzz) (Node.js)
Creating a fast web server that obtains contents from JavaScript.
node native package multithread callback 0.14.x
-
Donut
Running another silly C program in the web browser.
vite wasm c multithread
-
Raylib
Exploring the possibility of using Electron to enhance game development.
electron node native package
-
Saving to server over HTTP 2
Writing to a HTTP 2 server using Fetch API.
vite wasm multithread vfs
-
Tarball viewer
Scanning a tarball a Github using Zig and Fetch API.
vite wasm multithread vfs
-
Tarball server
Generating tarballs on-the-fly in threads using Zig.
node native multithread vfs 0.14.x
-
Client-side SQLite
Retrieving data from a SQLite database in the browser.
vite wasm package multithread vfs
-
Client-side SQLite with remote file
Using HTTP range requests to read a remote file.
vite wasm package multithread vfs
⚠️ **GitHub.com Fallback** ⚠️