sz3/libcimbar hiện có 6.5k sao trên GitHub, viết chủ yếu bằng C++. Optimized implementation for color-icon-matrix barcodes
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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.
sz3/libcimbar thuộc nhóm AI Tools trên TopGit, cùng 6 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về sz3/libcimbar ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/sz3/libcimbar là nguồn chính thức.
sz3/libcimbar có phải mã nguồn mở không?
Có — sz3/libcimbar phát hành theo license MPL-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/sz3/libcimbar.
sz3/libcimbar có trang demo không?
Dự án có trang chủ ở https://cimbar.org. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
sz3/libcimbar dùng license gì?
sz3/libcimbar phát hành theo license MPL-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
sz3/libcimbar là gì?
sz3/libcimbar (sz3/libcimbar) là dự án C++ trên GitHub. Theo mô tả gốc: Optimized implementation for color-icon-matrix barcodes
Vì sao sz3/libcimbar được xếp vào nhóm AI Tools?
TopGit xếp sz3/libcimbar vào nhóm AI Tools dựa trên GitHub topics và mô tả của repo (gắn thẻ: "barcode", "cpp17", "fountain-codes"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về libcimbar?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về libcimbar.