Release Description:
This release enhances barcode detection reliability by ensuring that a default barcode ("0000000000000"
) is always served when no valid barcode is found in the clipboard.
Changelog:
✅ Improved Clipboard Handling – The program now continuously monitors clipboard changes and updates only when a new barcode is detected.
✅ Fallback Mechanism – If no valid 13-digit barcode is found, the server will always return "0000000000000"
instead of ignoring the request.
✅ Better Console Logging – "Barcode changed" is logged only when a new barcode is detected, reducing redundant outputs.
✅ Performance Optimization – Reduced unnecessary writes to shared memory for efficiency.
How to Use:
1️⃣ Run the binary – The local server will start automatically at http://localhost:3030/barcode
.
2️⃣ Copy a barcode – The program will detect and update the barcode in real time.
3️⃣ No barcode? No problem! – If no barcode is found, the server will still respond with "0000000000000"
.
This update makes barcode handling more robust and ensures seamless communication between the OS-level clipboard listener and the Chrome extension. 🚀