TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Getting my library cards onto my phone the hard way

325 pointsby alex_hirnerover 1 year ago

33 comments

k8svetover 1 year ago
Oooh, now do Orca cards next. Seattle is one of the tech capitals of the United States, and on top of the metro system just being not great, it&#x27;s also technically inferior to nearly every single other major city that I&#x27;ve used public transit. Pick any European city, CDMX, Denver. They&#x27;re all light years ahead of Seattle. Denver might have been my favorite.<p>Fun fact, one of the orgs that runs Orca actually wrote a blog post mentioning they were adding NFC support to their Android app (with some absurdly long timeline). That post is no longer to be found, and of course, years later, that functionality is absent.
评论 #38052356 未加载
评论 #38052155 未加载
评论 #38052350 未加载
评论 #38052537 未加载
评论 #38053078 未加载
评论 #38055463 未加载
评论 #38055441 未加载
评论 #38053464 未加载
评论 #38054178 未加载
tomsmedingover 1 year ago
For the Android users around who hate Google Wallet because it, like Apple&#x27;s Passbook, doesn&#x27;t allow you to just put in any old barcode, there is a delightful app on F-Droid (not on the Google Play Store, unfortunately) called Loyalty Card Keychain ( <a href="https:&#x2F;&#x2F;f-droid.org&#x2F;en&#x2F;packages&#x2F;protect.card_locker&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;f-droid.org&#x2F;en&#x2F;packages&#x2F;protect.card_locker&#x2F;</a> ).<p>This app allows you to simply enter a number (or scan an existing barcode), choose a barcode type (with lots of options, <i>including</i> Codabar!), and save it. Selecting the entry on the app&#x27;s main screen shows the generated barcode and does the screen-brightening thing. Also the app opens super fast because presumably it doesn&#x27;t do anything but, you know, displaying barcodes.<p>It has only one purpose but it may well be my most favourite app. I&#x27;ve even used it to transfer a barcode from some label in the supermarket to the self-checkout post, where for some reason the supermarket assumed that you use the hand-held self-scanning devices that I also don&#x27;t like.<p>EDIT: it seems they want you to use Catima instead these days. Trying it briefly it&#x27;s similarly simple, and seems to be based on the same codebase.
评论 #38059277 未加载
评论 #38069800 未加载
amlutoover 1 year ago
&gt; for some reason, passes are cryptographically signed, and they have to be signed with a key known to one of Apple’s certificate authorities. Cryptographically signing these files makes some sense when you consider that passes were designed to get automatic updates from their vendors; for example, your boarding pass for a flight reflecting gate changes or changing your seat assignment.<p>How does this make sense? There’s a perfectly well supported system for doing this: HTTPS.<p>Maybe Apple wants passes to be verifiable by the phone offline instead of just when updated? This still seems silly — a malicious actor could <i>replace</i> a pass instead of updating it.
评论 #38052688 未加载
mherdegover 1 year ago
Gosh. I just emailed myself a .png of the barcode containing my library card number and open it in, like, the Photos or Gmail app when I&#x27;m at the kiosk.
评论 #38052320 未加载
评论 #38055286 未加载
评论 #38055863 未加载
cglongover 1 year ago
This was a great blogpost, but then ends with:<p>&gt; I will note that I have not yet tested this pass in a real library yet<p>I get this project was mostly for fun, but why not spend the 10 minutes it takes to test the final solution before sharing your work?
评论 #38053571 未加载
评论 #38054030 未加载
评论 #38053346 未加载
somatover 1 year ago
Only slightly related but my preferred way to generate barcodes is the barcode writer in pure postcsript.<p><a href="https:&#x2F;&#x2F;bwipp.terryburton.co.uk&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;bwipp.terryburton.co.uk&#x2F;</a>
评论 #38054098 未加载
评论 #38052347 未加载
dkurthover 1 year ago
I solved this problem by taking a photograph of my library card. To check out a book, I load the picture and hold it up to the scanner.
评论 #38052167 未加载
评论 #38052204 未加载
评论 #38053290 未加载
ajotover 1 year ago
For anyone wanting to do something like this on an Android phone, there is Catima (on Google Play and FDroid), which supports many types of barcodes.<p><a href="https:&#x2F;&#x2F;catima.app&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;catima.app&#x2F;</a>
评论 #38054649 未加载
评论 #38056136 未加载
Ayeshover 1 year ago
Those cheap laser &quot;1D&quot; bar code scanners cannot read off a screen (except maybe eInk). It sucks because the supermarkets I frequent have their loyalty cards based off barcodes. Fortunately, barcode readers emulate keyboards so you can just type the code on a keyboard.
评论 #38054070 未加载
评论 #38052748 未加载
评论 #38054265 未加载
karaterobotover 1 year ago
&gt; Our local libraries, The Seattle Public Library and the King County Library System, issue pieces of plastic with barcodes printed on the back assigned to your borrower account.<p>I just memorized my account number for KCLS. It should take maybe 30 seconds to commit it to memory—though your mileage may vary, I have to believe it&#x27;s faster than this. After that, you just type in the account number instead of scanning the bar code, and probably do it in less time than it takes to get your phone ready. I don&#x27;t know if SPL works the same way, as I&#x27;m not in Seattle.
评论 #38052702 未加载
desroover 1 year ago
This is a really great write up, very clear and easy to follow. Was very impressed at your pure bash barcode generator. I&#x27;m eager to try this out on my own library card!
samthoover 1 year ago
I really love barcodes and barcode symbology for reasons I cannot fully explain. I even wore the npm module named ‘barcode’ which I desperately need to update.<p>Fun fact about codabar, it is among the only barcode symbologies that can be implemented completely as a plain font.
评论 #38054099 未加载
评论 #38053623 未加载
tzsover 1 year ago
&gt; But having the barcode is far more convenient, and I’d like to have it without having to keep yet another plastic card I rarely use in my wallet.<p>&gt; So I put it on my phone, in my iPhone’s Wallet app<p>Another option would be to literally put the barcode <i>on</i> the phone.<p>Print it on a small piece of paper, about 15mm wide, and tape it to the back of the phone with some transparent tape.
评论 #38052041 未加载
yonatan8070over 1 year ago
&gt; My library card uses… [stares at Wikipedia for half an hour] Codabar<p>You can just scan it with a barcode scanner like Binary Eye [1] and it will tell you<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;markusfisch&#x2F;BinaryEye">https:&#x2F;&#x2F;github.com&#x2F;markusfisch&#x2F;BinaryEye</a>
nashover 1 year ago
So.. I just added my card to Stocard and used it a King County. Took 2 minutes, on my phone, synced across devices.<p>Or yeah, you could do it that way I guess.
评论 #38052108 未加载
评论 #38053100 未加载
x0ulover 1 year ago
This is a great hack to get custom passes&#x2F;codes into the wallet, and I&#x27;m glad the author wrote it up. I may end up doing this myself. That shell script to generate a bmp was wild.
dividuumover 1 year ago
Pass4wallet is a nice app for that, if you’re ok with your pass data being (according to their privacy policy) sent to their server, signed and then deleted.
评论 #38054377 未加载
评论 #38052367 未加载
评论 #38052178 未加载
kodapodaover 1 year ago
Ah I was planning to look into this, glad to hear it&#x27;s possible to self-generate a pass.<p>My gym requires subscribers to use their app-generated QR code for entry. I have been using the same QR screenshot for the past 2 years to avoid pulling up the app every time. But even the screenshot takes more time to find in Photos than I would like to.
评论 #38054785 未加载
评论 #38055973 未加载
评论 #38055964 未加载
com2kidover 1 year ago
The overdrive app has supported digital library cards for years now.<p>I agree having all the cards in one place is nice, but the fact is libraries put their cards in overdrive, so in effect all my <i>library</i> cards are in one place.<p>Since overdrive is also how you access ebooks from the library, there is a good chance that any &quot;technologically with it&quot; people have it installed already.<p>Now overdrive not being part of Amazon Kindle Fire for Kids tablets, separate issue I have..<p>Edit: I just checked, Google Wallet has built in support specifically for Seattle Public Library cards. Thanks, now I don&#x27;t have to worry about forgetting my card ever again!
评论 #38054487 未加载
kazinatorover 1 year ago
Wouldn&#x27;t it be easier to just stick a copy of the barcode somewhere onto the phone&#x27;s case?<p>You can check out books even if the battery dies.<p>If this end result must be attained:<p><a href="https:&#x2F;&#x2F;iliana.fyi&#x2F;blog&#x2F;ios-wallet-library-card&#x2F;pass.png" rel="nofollow noreferrer">https:&#x2F;&#x2F;iliana.fyi&#x2F;blog&#x2F;ios-wallet-library-card&#x2F;pass.png</a><p>can be achieved by displaying simple PNG image.<p>The point of applications that can store cards is that they enable use with wireless payment terminals. If I couldn&#x27;t tap my phone to pay with credit cards, I wouldn&#x27;t have a reason to put them into the phone.
electrondoodover 1 year ago
This is indeed the hard way.<p>I just used Stocard to scan my library card barcodes. Done.
rhplusover 1 year ago
Stocard app worked for me. Simple and has an Apple Watch app to boot.<p><a href="https:&#x2F;&#x2F;stocardapp.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;stocardapp.com&#x2F;</a>
评论 #38054096 未加载
评论 #38055695 未加载
0x38Bover 1 year ago
I use a shortcut and Siri for things like this:<p>1. Save the image to Photos, favorite it, and get the name (e.g IMG_2678).<p>2. Make a shortcut with two actions:<p>- find All Photos where name is IMG_2678 and is favorite.<p>- Quick look<p>I most often use “Siri, share my contact”, which shows a QR code for my contact with my cell and email address. It’s proven handy when I was busy (making drinks) but wanted to give someone my contact. Qrafter is what I use to make QR codes on iOS.
underseacablesover 1 year ago
My library card and a lot of other barcoded cards that I use are stored in an app called Key Ring. It works really well.
jlduggerover 1 year ago
Google wallet supports barcodes. While technically you can only set up cards for libraries who have gone through the registration program, in practice they pretty much all work interchangably. Downside is you can&#x27;t change the display name, so if you have more than one nearby library, it can be confusing.
boguscoderover 1 year ago
But but but those Yodas on physical cards in King County at least <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;A2oond2" rel="nofollow noreferrer">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;A2oond2</a>
user3939382over 1 year ago
The part of my article that caught my attention was the non-trivial bash script. I do write these myself from time to time, but when you see them it&#x27;s always like, gah! [Shield your eyes]
oldbbsnicknameover 1 year ago
I believe there were or are arbitrary pass generator apps that can slap a logo and various data into a custom pass.<p>Alternative solutions to barcodes are RFID&#x2F;NFCs and geofenced authorization.
jedrekover 1 year ago
My trick for doing this for a summer pool pass in Berlin was to take a photo of the QR code on the ticket and just show that to the scanners.
inasioover 1 year ago
I expected something more like squeezing the cards with NIF lasers (and alchemy) into diamond lattices encoding the information and then hacking it alongside phone storage
评论 #38053594 未加载
llacb47over 1 year ago
I solved this by memorizing my library card number.
kinematikkover 1 year ago
Very interesting, thank you!
js2over 1 year ago
So wait: you don&#x27;t want to pay Apple $99 and you don&#x27;t want to pay for one of the apps that generates a pass for you, but you&#x27;ll extract the cert from one of those apps thereby piggybacking on another developer&#x27;s $99 payment to Apple.<p>That&#x27;s uncool.<p>On a slightly related note: a site I login to regularly uses Semantic VIP Access for 2FA. You can convert these to standard TOTP codes so that you can load them into the Apple Keychain or whatever other TOTP program you prefer:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dlenski&#x2F;python-vipaccess">https:&#x2F;&#x2F;github.com&#x2F;dlenski&#x2F;python-vipaccess</a>
评论 #38052110 未加载
评论 #38055178 未加载