Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 2.19 KB

README.md

File metadata and controls

46 lines (27 loc) · 2.19 KB

Comb Code

A color code made of hexagons. Make one from text or a link, scan it with a camera or a photo, lock it with a password, and sign it so readers can check who issued it.

Free to use, with or without credit. See LICENSE.md.

Site: https://getcombcode.github.io/

Try it

Everything runs in the browser. No account, no analytics, no network calls while you read or make a code. A Comb Code is not a QR code, and ordinary QR readers cannot read it.

What it does

  • Encodes text or raw bytes into a hexagonal color grid, exported as PNG.
  • Reads codes from a photo or a live camera, with a step-by-step debug view.
  • Comb Code Secure adds AES-256 password locking and signed codes with a verified-issuer list.
  • Error correction uses Reed-Solomon blocks plus CRC checks, so a wrong payload is rejected instead of shown.

Measured results

On a synthetic image set of 772 test images, Comb Code read 728 and a QR code read 633. Comb Code produced 0 wrong reads. These are synthetic tests, not real-camera guarantees.

With error correction, the largest Comb Code holds 4,071 bytes (color, 20% parity) and the largest QR code holds 2,953 bytes (version 40-L, lowest level). Details and limits are on the progress page.

Use it from code

Ports of the encoder and reader live in ports/: C, C++, C#, Go, Java, Kotlin, PHP, Python, Ruby, Rust, Swift and TypeScript. Each folder has its own README with build and usage steps.

To run the site locally, open index.html, or download comb.html and open it. The camera needs HTTPS or localhost; photo upload works anywhere.

Add a verified issuer

Listing is free. Open an issue with the issuer request form.

More

Comb Code, Copyright (c) 2026 Avi Shor. No warranty.