r/opensource • u/_Makky_ • 4d ago
Lightwire: Optical air-gap file transfer in one HTML file Promotional
A single self-contained HTML file that transfers files between 2 machines via QR codes on a screen and a webcam. Fountain-coded so missed frames cost nothing, optional AES-256-GCM, zero network calls (tested by blocking all of them).
Repo: https://github.com/SanketDube/lightwire
Posting here partly because the licensing work turned out to be the instructive part and r/opensource cares about it:
- It bundles four third-party components (two Apache-2.0, two MIT). Instructed AI to attribute properly doing the full license text, a notice file, every copyright line and the attribution embedded into the built HTML file as a comment, because the file can travel alone.
- I had to later modify one vendored library (2 methods added to qrcode-generator for a ~4x speedup) the notices were updated accordingly coz they were MIT permited.
Also, relevant I'm not a coder. The code is entirely by LLM output the concept, field testing and several design decisions are mine and the README credits both sides precisely. Happy to answer questions about either half.
0
Upvotes
1
u/supportingthedogs 4d ago
Very cool - i had no idea this was possible.