mirror of
https://github.com/infrost/RaptorQR.git
synced 2026-08-31 15:07:50 +08:00
b20e5c9c17
- Protocol: packet format, CRC32C, CBOR manifest, fragmentation - FEC: GF(256) arithmetic, xoshiro128** PRNG, systematic RLNC encoder/decoder - QR: generation (qrcode-generator), rasterization (3px/module), decoding (jsQR) - GIF: animated GIF generation (gifenc) with 2-colour palette - Preprocessing: deflate compression, SHA-256 hashing - Sender pipeline: packetizer, frame scheduler with interleaving - Workers: encode, gif generation, decode/reconstruction in Web Workers - UI: Preact SPA with Sender/Receiver tabs, dark theme - Tests: 93 passing (unit, property-based, integration, E2E) - Default profile: Robust (V31-Q, K=24, R=12) - Deployed to /hermes-web-demos/qr-transfer/
32 lines
605 B
JSON
32 lines
605 B
JSON
{
|
|
"name": "qr",
|
|
"module": "index.ts",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"@preact/preset-vite": "2",
|
|
"@types/bun": "latest",
|
|
"happy-dom": "17",
|
|
"vite": "6",
|
|
"vitest": "3"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "5.7.3"
|
|
},
|
|
"dependencies": {
|
|
"cbor-x": "^1.6.4",
|
|
"fflate": "^0.8.2",
|
|
"gifenc": "^1.0.3",
|
|
"jsqr": "^1.4.0",
|
|
"preact": "10.26.5",
|
|
"qrcode-generator": "1"
|
|
}
|
|
}
|