Settings

Theme

Getting my library cards onto my phone the hard way

iliana.fyi

4 points by elasticdog 2 years ago · 4 comments

Reader

bradknowles 2 years ago

So, the question I would ask is why not just scan the card or make a photograph of it, and store that in your photo library? That should work for most types of cards, right?

NoZebra120vClip 2 years ago

Cryptographically exciting. Unfortunate that the code is all copyrighted, and nobody in Seattle or anywhere else would be able to test, use, or extend it.

  • elasticdogOP 2 years ago

    I had attempted to create a pass for my local library in the past, but never got a working barcode, and this post helped me to understand the issues I was hitting.

    I was able to adapt the OP's shell script to generate a working Codabar image (after I figured out that my local library used "A" and "T" as beginning and end markers) that matched the physical card exactly, and there was enough useful metadata for me to piece together a working pass using that barcode as a store card's background image. I ended up using the Pass2U Wallet iOS app directly, rather than hacking around signing keys, but found the documented process helpful.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection