0.1.0 • Published 5 years ago

wbar v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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: