nimzbar

zbar wrapper for Nim

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install nimzbar
choosenim install nimzbar
git clone https://github.com/genotrance/nimzbar

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
nimzbar - - - - - - -

Source

Repository https://github.com/genotrance/nimzbar
Homepage https://github.com/genotrance/nimzbar
Registry Source nimble_official

README

Nimzbar is a Nim wrapper for the zbar library.

Nimzbar is distributed as a Nimble package and depends on nimgen and c2nim to generate the wrappers. The zbar source code is downloaded using Git so having git in the path is required.

Installation

Nimzbar can be installed via Nimble:

> nimble install https://github.com/genotrance/nimzbar

This will download, wrap and install nimzbar in the standard Nimble package location, typically ~/.nimble. Once installed, it can be imported into any Nim program.

Nimzbar is not supported on Mac as of yet. PRs enabling support are welcome.

Usage

Module documentation can be found here.

Refer to the tests directory for examples on how the library can be used.

Credits

Nimzbar wraps the zbar source code and all licensing terms of zbar apply to the usage of this package.

Credits go out to c2nim as well without which this package would be greatly limited in its abilities.

Feedback

Nimzbar is a work in progress and any feedback or suggestions are welcome. It is hosted on GitHub with an MIT license so issues, forks and PRs are most appreciated.