Point your camera, get the file.

BlinkCode AI compresses a file into a compact File DNA container, paints it as SpectraCode colour matrices, and recovers it by pointing a camera at the sender's screen. No server, no network after the first launch.

licence pwa no deps stars

What it does

Colour, not black and white

36 reference colours, five bits per cell — a single SpectraCode frame holds kilobytes where a QR holds hundreds of bytes.

Real compression

An order-1 arithmetic coder with a match (LZP) model, plus a lossy perceptual image mode for photos.

Built to survive

Reed-Solomon RS(255,223) repairs up to 16 damaged bytes per block; the decoder fits a colour-correction matrix from a calibration strip.

Offline-first PWA

The model bundle downloads once and is cached. After that the app never touches the network.

How it works

file ─▶ arithmetic coder ─▶ File DNA ─▶ frames ─▶ RS(255,223) ─▶ colour grid
                                                                      │
        file ◀─ arithmetic decoder ◀─ CRC-32 ◀─ collector ◀─ RS ◀──────┘
                                              ▲
        camera ─▶ bullseye detect ─▶ homography ─▶ colour correction ─▶ classify

Compression, measured

corpusorder-1+ matchgzip
english prose (repeated)6.6×53.9×136×
english prose (varied)2.6×12.5×13.3×
JSON records4.0×8.6×15.5×
source code2.1×2.9×3.3×
random bytes0.93×0.92×1.00×

The match model added ~31% over the original order-1 coder. It cannot beat entropy — random data stays at ~1× — and the app says so plainly.

Free for people, licensed for business

BlinkCode AI is free for personal, academic, hobby and non-profit use under the PolyForm Noncommercial License 1.0.0. Commercial use needs a paid licence, issued by invoice on request.