sz3/libcimbar is an AI-powered project on GitHub with 6.5k stars, written primarily in C++. Optimized implementation for color-icon-matrix barcodes
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Behold: an experimental barcode format for air-gapped data transfer.
It can sustain speeds of 850 kilobits/s (~106 KB/s) using just a computer monitor and a smartphone camera!
Explain?
The encoder outputs an animated barcode to a computer or smartphone screen:
Encoder web app: https://cimbar.org
While the decoder is a cell phone app that uses the phone camera to read the animated barcode:
Decoder android app: https://github.com/sz3/cfc
No internet/bluetooth/NFC/etc is used. All data is transmitted through the camera lens. You can try it out yourself, or take my word that it works. :)
How does it work?
cimbar is a high-density 2D barcode format. Data is stored in a grid of colored tiles -- bits are encoded based on which tile is chosen, and which color is chosen to draw the tile. Reed Solomon error correction is applied on the data, to account for the lossy nature of the video -> digital decoding. Sub-1% error rates are expected, and corrected.
libcimbar, this optimized implementation, includes a simple protocol for file encoding built on fountain codes (wirehair) and zstd compression. Files of up to 33MB (after compression!) are encoded in a series of cimbar codes, which can be output as images or a live video feed. Once enough distinct image frames have been decoded successfully, the file will be reconstructed and decompressed successfully. This is true even if the images are received out of order, or if some have been corrupted or are missing.
Platforms
The code is written in C++, and developed/tested on amd64+linux, arm64+android (decoder only), and emscripten+WASM (encoder only). It probably works, or can be made to work, on other platforms.
Crucially, because the encoder compiles to asmjs and wasm, it can run on anything with a modern web browser. For offline use, you can either install cimbar.org as a progressive web app, or download the latest release of cimbar_js.html, save it locally, and open it in your web browser.
Library dependencies
OpenCV and GLFW (+ OpenGL ES headers) must be installed before building. All other dependencies are included in the source tree.
By default, libcimbar will try to install build products under ./dist/bin/.
Build (windows MSVC + vcpkg)
Install Visual Studio with the Desktop development with C++ workload, CMake 3.14 or newer, and vcpkg. Set VCPKG_ROOT to the vcpkg checkout, then configure and build from PowerShell:
You can also encode a file using cimbar.org, or the latest release.
Performance numbers
PERFORMANCE
Implementation details
DETAILS
Room for improvement/next steps
TODO
Community Tools
cimbar-bigfile — A pure-frontend wrapper that splits files into multiple parallel encode_id streams (10–15 MB chunks per stream), and ships a manifest.json for SHA256-verified reassembly. Supports 100+ MB files. No changes to libcimbar or cfc required.
Yes — sz3/libcimbar ships under the MPL-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/sz3/libcimbar.
What else is in the AI Tools space?
sz3/libcimbar is tracked by TopGit under the AI Tools category, alongside 6 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is sz3/libcimbar?
sz3/libcimbar (sz3/libcimbar) is a C++ project on GitHub. From the project's own README: Optimized implementation for color-icon-matrix barcodes
What license does sz3/libcimbar use?
sz3/libcimbar is released under the MPL-2.0 license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where can I see sz3/libcimbar in action?
The project maintains a homepage at https://cimbar.org. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about sz3/libcimbar?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/sz3/libcimbar is the definitive source.
Why is sz3/libcimbar categorized under AI Tools?
TopGit places sz3/libcimbar in the AI Tools category based on its GitHub topics and description (tagged: "barcode", "cpp17", "fountain-codes"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Still deciding about libcimbar?
One click hands the question to an AI along with this page — see what it says about libcimbar.