How mc-cya2014/qr-fault works
QR//FAULT is an intentionally broken, offline QR-code prank/demo. The documented workflow accepts text only to count its characters, discards it, then selects a non-recent error message, generates a QR code containing that error, and displays it with failure metadata and a log; users can download the PNG or try again. The README describes these responsibilities as inline in index.html, but no source excerpts were provided, so edges reflect documented behavior only; the README’s alternate filename is not in the supplied tree.
Main entry points: index.html Failure progress
Components 12
User interface
- Input and discard
index.html - Failure progress
index.html - Result and metadata
index.html - Ignored settings
index.html
Failure generation
- Error text pool
index.html - Avoid-repeat chooser
index.html - Error code
index.html
QR output
- QR encoder
index.html - Canvas QR rendering
index.html - Failure history
index.html - PNG download
index.html
Other components
- User
Connections 16
- User → Input and discard: enters text
README.md - Input and discard → Result and metadata: shows count
README.md - User → Failure progress: starts generation
README.md - Failure progress → Avoid-repeat chooser: runs selection
README.md - Avoid-repeat chooser → Error text pool: selects text
README.md - Avoid-repeat chooser → Error code: creates code
README.md - Error code → Error text pool: fills placeholder
README.md - Failure progress → QR encoder: generates QR
README.md - QR encoder → Canvas QR rendering: draws matrix
README.md - Canvas QR rendering → Result and metadata: displays QR
README.md - Failure progress → Result and metadata: updates metadata
README.md - Failure progress → Failure history: records failure
README.md - Failure history → Result and metadata: renders log
README.md - User → PNG download: requests PNG
README.md - Canvas QR rendering → PNG download: exports PNG
README.md - User → Ignored settings: selects setting
README.md