Live data from Hacker News

Show HN: Cimbar – File transfer via color barcodes and the Android camera

github.com

1–10 of 27 posts

Re: Show HN: Cimbar – File transfer via color barcodes and the Android camera

#2
Hello all,

You've seen QR codes, maybe Microsoft HCCB [0], maybe jabcode [1] – well, here's a prototype of something new for the pile. :)

I saw txqr [2] a while back and was impressed, but also curious about how much throughput was possible with animated bar codes. I may have gotten carried away in my research into the question.

cimbar is a single and multi-frame color barcode format using reed solomon (for now) and wirehair [3] for error correction. Files are encoded into an animated series of bar codes drawn to the display. Files are decoded by an Android app [4] with its camera pointed at the cimbar code. This works with all antennas off, e.g. in airplane mode, because it's only using the visual data channel.

I ported the encoder to wasm, because I could: https://cimbar.org

Sustained transfer speed is currently on the order of 800 kilobits/second. So it's not very practical for files larger than a couple of MB, unless you have a lot of free time. :)

[0] https://en.wikipedia.org/wiki/High_Capacity_Color_Barcode

[1] https://github.com/jabcode/jabcode

[2] https://github.com/divan/txqr

[3] https://github.com/catid/wirehair

[4] https://github.com/sz3/cfc/releases/latest

Re: Show HN: Cimbar – File transfer via color barcodes and the Android camera

#7
post #5

Earlier quoted context omitted.

It's simple to try out by uploading a file via the web page at https://cimbar.org

I have no android device.

I just dragged a file into the site on my desktop computer and it worked. OP said the site uses the wasm implementation so any browser with javascript enabled should be able to encode files.

Decoding needs the Android app.

Post reply on HN