Skip to content
/ wbar Public

WebAssembly zbar

Notifications You must be signed in to change notification settings

chrp/wbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wbar - zbar on Web Assembly

This is a playground project aimed at finding out how C, Web Assembly and JS play together. Not suitable for anyone else.

Usage

Not yet usable :) Don't use for production.

Build

The best way to build wbar is with docker to ensure all dependencies are met. You might try to build without on a Linux system and maybe lucky. Run build.sh. for repeated builds. For the first run you need to build the docker image itself:

# Build the build environment from Dockerfile
docker build -t wbar-build-env . 

# Build wbar.js and wbar.wasm: 
docker run -v "$PWD:/src" -it wbar-build-env bash 
make build/wbar.js 

Sources

This is where we got ideas & code from: