Point your camera at a barcode. Feel the haptic buzz. Watch the ISBN appear. This is the future, and it took forty lines of code.
What It Does
The barcode scanner lets you scan ISBN barcodes using your device's camera, directly from the Book Lookup or Enrich pages. Point the camera at a barcode, and Shelvd reads it, fills in the ISBN field, and — if you feel it — gives your phone a satisfying little vibration to confirm the scan.
No app to install. No third-party scanner. Just the camera icon next to the ISBN field, a live viewfinder, and the quiet satisfaction of not having to type thirteen digits.
Where to Find It
A small camera icon appears next to every ISBN field in Shelvd:
- Book Lookup — next to the ISBN search field
- Enrich Mode — next to the ISBN field in the enrich panel
- Add/Edit Book — next to the ISBN-13 and ISBN-10 fields
Tap the icon. The camera opens in a viewfinder overlay. Hold the barcode in view. When detected, the viewfinder flashes green, the number populates, and the overlay closes.
Supported Barcode Formats
The scanner reads:
- EAN-13 — the standard ISBN barcode found on every book published since 1970
- EAN-8 — shorter variant, occasionally used
- UPC-A — the American retail barcode, sometimes found on US editions
It does not read QR codes, Code 128, or other non-book barcodes. If you're scanning something that isn't a book barcode, nothing will happen. The scanner is stubbornly specific.
How It Works (The Nerdy Bit)
Shelvd uses two detection engines, depending on your browser:
Native BarcodeDetector API — Available in Chrome 83+ and other Chromium-based browsers. This is fast, runs on the GPU, and doesn't require any additional downloads. If your browser supports it, Shelvd uses it automatically.
ZBar WASM fallback — For Safari, Firefox, and other browsers that don't support the BarcodeDetector API. Shelvd loads a WebAssembly build of the ZBar barcode library, which runs entirely in the browser. It's slightly slower to initialize (the WASM module needs to load once) but works reliably across all modern browsers.
You don't need to choose between them. Shelvd detects which engine is available and picks the best one. The green flash and haptic feedback work identically either way.
Tips
- Hold steady. The scanner needs a clear frame. Slow, deliberate movement beats waving the book around.
- Good lighting helps. Barcodes printed on dark backgrounds or inside folds can be tricky in low light.
- Distance matters. Too close and the barcode is blurry. Too far and it's too small. Arm's length usually works.
- Matte barcodes scan faster than glossy ones, which can reflect light and confuse the camera.
The Vibration
If your device supports haptic feedback (most phones do, most laptops don't), Shelvd triggers a short vibration pulse when a barcode is successfully detected. It's the same feedback pattern your phone uses for a successful tap — brief, satisfying, and entirely optional.
If your device doesn't support haptics, you still get the green overlay flash. You just don't get to feel smug about it.
After the Scan
The scanned ISBN appears in the field. What happens next depends on where you scanned:
- Book Lookup: The ISBN populates the search field. Hit Search to query your active providers.
- Enrich Mode: The ISBN is used to search for matching records to compare with your existing data.
- Add/Edit form: The ISBN-13 (or ISBN-10) field is filled. Save when ready.
The scanner doesn't auto-search after scanning — it fills the field and waits for you. This is deliberate. Sometimes you want to scan the ISBN, glance at it, and decide whether to search or type something else. Control stays with you.
Availability
The barcode scanner is available on all tiers, including the free Collector tier. Scanning a barcode doesn't cost credits — it's just reading a number off a sticker.
See also: Library Lookup · Enrich Mode · Identifiers