5 ms·
Show HN: WalletWallet – create Apple passes from anything
I got my Apple developer certificate and built a simple app to solve a problem I had. One shop I buy from doesn't have Apple Wallet passes. Since you need signed certificates to build these very simple things, I created a minimal app that signs them. It's available if you need it too. It won't scan cards with AI - you manually enter the barcode, which I think makes it less prone to error.
- 081guy 10mo agoThis is great! Are you sure you are not violating any ToS for that? I’d hate to see it go
- saxenaabhi 10mo agoIt probably is violating the ToS. But would like to know more.
- jackdh 10mo agoUnlikely, I've used apps similar to this such as passbook [0] for a while now and they're still up. [0] https://apps.apple.com/us/app/passbook-wallet-pass-creator/id1633472455 https://apps.apple.com/us/app/passbook-wallet-pass-creator/i...
- saagarjha 10mo agoNothing wrong with signing a pass
- deleted 10mo ago[deleted]
- deleted 10mo ago[deleted]
- CraftThatBlock 10mo agoThis also works for Google Wallet, you could change the messaging around it to indicate that.
- alentodorov 10mo agonice! don't have an android device to test - did u download it and it worked?
- viiralvx 10mo agoI did! It worked just fine for my gym pass
- StrangeSound 10mo agoI wouldn't worry too much about android - you can very easily add cards manually.
- subscribed 10mo agoOK, stupid question, what is the thing this utility does that can't be achieved with scanning a physical pass with barcode or entering the details manually into a Google Wallet? Because I don't see the.... utility if it? Unless this achieves something specific I don't know.
- radicality 10mo agoI don’t know about Google Wallet, but for iOS Wallet, it is not possible to create a new entry there yourself as a normal user. It has to be signed with a $99/yr certificate, so this thing does the signing for you. The utility is that whatever you created now lives with the rest of the passes in one place.
- nickthegreek 10mo agoand they are accessible without unlocking your device.
- subscribed 10mo agoYep, same with Google wallet. Display boarding pass, lock the device, wake up the phone without unlocking, and it's right there.
- pseudosavant 10mo agoThis is excellent! Wish the Wallet had this ability built in.
- artificialLimbs 10mo agoWe’ve been using Apple Wallet (and Google Pay) with bar code scanners with some success, but the bar codes sometimes do not scan correctly and we get garbled or completely wrong data maybe 1 in 20-30 scans. Tried various scanner settings/speeds, etc, no dice so far, and the scanner/pos combo was the one recommended by our processing vendor. Both were among the highest dollar models. This looks like a very cool project!
- amaccuish 10mo agoAs an aside, I find it really sad that, having a de-Googled Anroid phone, it's actually easier for me to download the Apple Wallet .pkpass files Anything to do with Google Wallet passes just forwards me to a Google login page.
- Semaphor 10mo agoCondor airlines has an "open with Google wallet" link, that doesn't work because I don't have that app. .pkpass files just work with my foss wallet
- saagarjha 10mo agoA curious example of a compatibility feature ending up having a much better experience than the thing that they clearly want you to do. Hopefully some Google PM doesn't see this comment and ruin things…
- jeroenhd 10mo agoThe Google Wallet app will let you import any pkpass file. The trouble is that most websites that support the format will only offer them for download of you're coming from an iPhone. Google's format also has a download option but that format doesn't work well for desktop users, so Google prefers to import via the web. One annoyance I've faced is that Apple Wallet will not accept a downloaded file, or a file transferred from another app. You must click a link in Safari or it will refuse to load the damn pass. I'm surprised how terrible all of these major wallet apps are at handling the slightest of edge cases.
- deleted 10mo ago[deleted]
- dickiedyce 10mo agoCode39 would be really useful ;-)
- corprew 10mo agoYeah, Code39 would be really festive.
- x3n0n 10mo agoYeah, Code39 would be really festive.
- alentodorov 10mo agonoted
- fragmede 10mo agoscanning for barcodes is an easy enough pre-AI computer vision algorithm with OpenCV. AI could "write" that for you!
- alessandropier 10mo agoLove the idea, thanks for sharing! One obvious concern here is data privacy, since the pass details are sent to the server. Any chance it would be possible to run everything in the browser, without sending data back to the server?
- alentodorov 10mo agonot really. the .pkpass needs to be signed. you can build the file locally but you won't be able to load it in apple wallet.
- alessandropier 10mo agoyeah was expecting that, thanks! do not use my gym pass pls
- zeckalpha 10mo agoPlease be clearer about this on the site!
- matrss 10mo agoThe site is pretty clear: "Free and works in browser", "Processed locally", "Private". But apparently the site (sorry for the harsh word, but I can't interpret it any other way) lies.
- fragmede 10mo ago"is incorrect" is slightly less harsh, but in this case, I'd call it a lie. It's a rather subtle but important implementation detail. I don't think the author (who is here in this thread) is necessarily malicious because of this, but, well, it's a lie.
- gruez 10mo agoI'm not exactly sure how passes are signed, but in most digital signature schemes, you only sign the hash of the message, not the actual contents. Therefore you could conceivably do this in a privacy preserving way by only passing in the hash to be signed, which would allow the server to generate a valid signature without knowing the contents.
- jimkleiber 10mo agoMaybe a dumb question: if I'm entering a QR code, which info do i put in?
- hopelite 10mo agoThat will vary. It can technically include any text up to a limit, but most likely it will be a URI, but it could be as simple as and account number. You would want to decode the QR (you can likely do that using your phone camera) and that would be the data to enter. Ideally this tool would simply use the camera to capture the visual code (bar, QR, etc.) and enter it/replicate it.
- alentodorov 10mo agoagree. implemented QR code scanning using the great html5-qrdecode package so scanning happens locally.
- ivanjermakov 10mo agoI solved this issue with Wallet Creator: https://apps.apple.com/app/id1486573384 https://apps.apple.com/app/id1486573384 Didn't know it was this simple to just provide a download for prepared file. Is it open source?
- hopelite 10mo agoI don’t see it that way. I would rather have a browser based, one-off tool that can generate a .pkpass served up for local “installation”, not installing an app that is necessary to separately manage the passes separately and very well could be tracking its users.
- mbirth 10mo agoMakePass is an app that creates independent/proper Wallet *.pkpass files. You can completely customise the pass appearance according to Apple’s specs. (Not sure whether the current licensing offerings are worth it, though. I’ve got grandfathered in from before it had AI support.) https://pvieito.com https://pvieito.com
- kimos 10mo agoThis looks like it would work well, but it’s a subscription. It makes no sense to charge me a yearly fee to make one pass file for my library card.
- thwarted 10mo ago> It won't scan cards with AI - you manually enter the barcode, which I think makes it less prone to error. This is a very interesting sentence. I interpret this sentence as saying that manually entering a barcode is less error prone than letting AI do it, that AI would have an unacceptable margin of error (and this is probably an accurate assessment). But you don't need AI to find or read barcodes. Finding and reading barcodes is a reasonably mature technology that has existed long before AI. Barcodes exist as a fast, machine readable data transfer format meant to avoid data entry errors by avoiding manual data entry, and yet you've implemented manual entry in order to avoid errors? Now, if one of the constraints you've put on your implementation is that it work only in the browser and you don't want to have to download a large barcode scanning library to the browser, then it makes sense to implement manual entry. But that has nothing to do with AI. That being said, there are some barcode reading apps that can be used to prompt for a scan from a web page, and you get the barcode payload back. I've used an app called "bineye" on Android (source on GitHub) that works like this. This helps avoid error prone manual entry and gets the full barcode payload (many barcodes store/encode more information than the human readable text printed next to them).
- alentodorov 10mo agoi should've been clearer: while browsing i found multiple apps that do this. most use AI to extract data from images and are much more feature-rich - you can photo your boarding pass and it goes straight to wallet. however, i noticed that AI sometimes gets details wrong. for example, when i uploaded just a barcode image, it couldn't create the pass because the model also wanted a "name" field.
- Moto7451 10mo agoWhen I’ve done similar things in the past I found there was always a library for barcode/QR use cases before such things ended up being built into the OS/Framework I’m in. https://serratus.github.io/quaggaJS/ https://serratus.github.io/quaggaJS/ seems browser friendly? Generally I agree with your point on AI fuzziness here not being useful.
- dmd 10mo ago
- the_lucifer 10mo agoThis is such a quick and neat way to get a pass for all the random codes in your wallet. I've had a long shelved project (>8 years now?) where I was working on a solution to doing this from a mobile device but with loads more customization (including image options for different slots), but the cost effectiveness thanks to the PKPass signing as you noticed, put me off to provide it as a public utility as I was a student then. This gives me motivation to revisit it.
- mbirth 10mo agoHave a look at MakePass[0] - which sounds exactly like you describe. It allows you to design a pass as per spec. [0] https://pvieito.com https://pvieito.com
- emodendroket 10mo agoI don’t think I fully understand the use case for this. What would you use the card for?
- ms7m 10mo agoA personal use case: my local gym that issues only physical barcode cards -- I used a different app (similar in this style) that allowed me keep it on my apple watch / iPhone instead
- emodendroket 10mo agoI see, so this is specifically you have a physical, eg, loyalty card that has a barcode, and you want to use the Apple Wallet?
- alentodorov 10mo agomy use case is a loyalty barcode for a major retailer here. they provided a digital version but you had to download their app or take a picture. apple wallet is convenient, u just double tap and the Wallet loads on screen with full brightness to make it easy to scan. i dont have to keep anymore. but on apple wallet u can't create your own a pass from a simple scan. creatign the ".pkpass" need a signature from a apple developer account.
- wlonkly 10mo agoI have my library card in Apple Wallet so I don't need to bother with the actual card.
- yoan9224 10mo agoThis is genuinely useful. I have so many loyalty cards that exist only as physical barcodes that stores refuse to look up by phone number. The privacy concern about sending pass data to the server is valid though. Since .pkpass files need to be cryptographically signed with Apple's certificate, there's no way to generate them purely client-side. Potential solution: open source the signing code and let users run it locally with their own Apple Developer account ($99/year). Power users would do this, casual users can use your hosted version. Also works with Google Wallet apparently, which is great for Android users.
- jbverschoor 10mo agoFor loyaltycards there was Stocard, but it got acquired by the toxic company Klarna. SuperCards is very very similar, and in my opinion more useful than putting everything in Apple Wallet. You get to store a pictures, and everything is in one place. Apple Wallet is already cluttered with tons of creditcards, tickets, etc
- DrewADesign 10mo agoWeird thing from the pretty ho-hum super cards privacy policy: > The Service Provider will retain User Provided data for as long as you use the Application and for a reasonable time thereafter. If you'd like them to delete User Provided Data that you have provided via the Application, please contact them at blub@blob.com and they will respond in a reasonable time. That looks like a placeholder address to me? Not exactly confidence inspiring if so…
- windmark 10mo agoLooks like they were notified of this miss > please contact them at support@supercardsapp.com and they will respond in a reasonable time. https://supercardsapp.com/privacy-policy/privacy https://supercardsapp.com/privacy-policy/privacy
- DrewADesign 10mo ago
- jacobajit 10mo agoI wish there were a way to “archive” cards and passes in the Wallet app. I’d be much more likely to pass-ify my life if that were the case. The Wallet app is just too important and used frequently in time sensitive actions to clutter with cards/passes that I use once every few months. That is, when I’m about to tap to pay, I don’t want to infrequently used cards to clutter my payment experience. Likewise, when I’m about to board a flight, I don’t want random loyalty cards to clutter the interface. At the same time, I would really like to keep these occasional cards and passes in Wallet, just not on the main screen. It definitely beats hanging onto these physically, especially because they are in fact infrequently used so I would never carry them around. It should be a similar distinction to Apple’s Home Screen vs App Library for long-term archival.
- pimlottc 10mo agoIt’s possible to make a pass with location info so that it pops up on your Home Screen when you’re nearby a relevant location (e.g. a store, library, train station, etc). Doesn’t seem to be supported by this tool, though.
- mcgrath_sh 10mo agoI use my password manager for those. The only card I have in my Apple wallet is my grocery card. Otherwise, I go to my password manager and pull up the entry and the attached images. Some, I have just a barcode png. Others I have screenshots of the card from an app/website. This has been a really good balance for me. As an aside, I tried to use base64 for the images so everything was in text, but decoding with a shortcut was annoying enough I went with the image attachment.
- wateralien 10mo agoSource? Can we get a repo please?
- listless 10mo agoI have been looking for something like this for so long! All I wanna do is stop carrying this rec center card around. Perfect.
- StrLght 10mo agoThat's very useful, thanks! One small-ish feature request: could you please add support for EAN-8?
- deleted 10mo ago[deleted]
- shantanulume 10mo agoThis is great am I weird for wanting an app?
- hn111 10mo agoOne CSS tip: make sure the input fields have a minimum font-size of 16px. That way iOS won’t zoom-in the page when focussing one.
- below43 10mo agoThis is very cool thanks. It would be awesome as a PWA so I can have it installed on my home screen/use it offline (edit: it looks like I misunderstood what the website meant by "runs on the browser" - I didn't it has a server dependency. Even so, it's easy to get Claude to generate a manifest and service worker to make it a PWA). Also, minor UX feedback. Make the barcode type the first form field.
- viiralvx 10mo agoThis is amazing, thank you! Works with Google Wallet too!
- kimos 10mo agoThis is great. And it send me down the path of trying to get my library card to work. Turns out it uses a format called Codebar which is from 1972 and not supported by Apple wallet passes. This tool and most of the other linked ones in this thread did not work. (And also tried to charge me a recurring subscription to use once, but that’s another issue) I found this one which generates many other barcode formats and generates them as images as a workaround. That seems to work. https://apps.apple.com/app/id1423106610 https://apps.apple.com/app/id1423106610
- Daneel_ 10mo agoI've been using Pass4Wallet (the app you linked) for a number of years and it's been fantastic. I'd recommend it.
- gorgoiler 10mo agoBrilliant! Suggestion: most store cards get scanned as a bar code 99% of the time but when calling them they will want you to quote your membership number over the phone. It would be useful to have it printed below the barcode so I can quote it directly from my Apple wallet.
- 2dvisio 10mo agoI solved this same problem adding a label with the number corresponding to the barcode number alongside
- toobulkeh 10mo agoI immediately tried this with my Seattle Orca card, but the barcode is different
- Daneel_ 10mo agoTry Pass4Wallet. It has a long list of supported barcode types and it's free, so win-win. I'm not affiliated, I've just found it to be very flexible over a few years of using it.
- Angostura 10mo agoJust a question about privacy. It says works entirely in browser, but if you load the page, and then switch off mobile data and put the details in, it seems impossible to create the pass without a data
- exandr 10mo agoGreat job! What are you using on the backend?
- alentodorov 10mo agoThanks. Decided on a CF worker to keep costs low.
- exandr 10mo ago[dead]
- hoistbypetard 10mo agoThis is a good idea, and one I've wanted to build out myself. I think I need source to review before I'm willing to use this one, though.
- alentodorov 10mo agoopen-source BYOK coming right up. with your permission i'll ping you on you profile
- hoistbypetard 10mo agoYeah, please do!
- alentodorov 10mo agoso not only me! 8K passes generated since the show hn post.
- mythoughtsexact 10mo agoCool, so 8k stolen passes! People have zero f'ing reasoning skills, I swear.
- maltalex 10mo agoThis might be naive, but why not just scan both sides of the card using Apple Notes or a similar app, then present the scan at the store?
- aareet 10mo agoApple wallet is smoother to swipe through
- limagnolia 10mo agoI am curios why Apple requires such rigamorale to add such items to Apple Wallet. Google Wallet has this feature builtin.
- Jeremy1026 10mo agoIt'd be awesome if you could add a location to the pass. Apple allows a pass to automatically pop up on the screen based on the device location[1]. If you make it so the user could pick the point on a map for the pass to pop up at it'd be great. That way for example, if you're at the grocery store, your custom pass could be on your lock screen ready for you. [1] https://developer.apple.com/documentation/walletpasses/pass/locations-data.dictionary https://developer.apple.com/documentation/walletpasses/pass/...
- loremm 10mo agoooh so nice
- rovr138 10mo agoVery interesting, and you can define multiple already, https://developer.apple.com/documentation/walletpasses/showing-a-pass-on-the-lock-screen https://developer.apple.com/documentation/walletpasses/showi..., { ... "locations" : [ {"latitude" : 37.3229, "longitude" : -122.0323}, {"latitude" : 37.3286, "longitude" : -122.0143}, { "altitude" : 10.0, "latitude" : 37.331, "longitude" : -122.029, "relevantText" : "Store nearby on 3rd and Main." } ], "relevantDate" : "2014-12-05T09:00-08:00" }
- ccorcos 10mo agoThis is awesome. Can I do this myself? Or does this need to be implemented in their backend?
- nc 10mo agoPretty useful, just used it to make a "Business Card" that links to my LinkedIn profile.
- noja 10mo agoHow are you signing the pass in my browser?
- b3lvedere 10mo agoI've tried it with two cards that just have barcodes (i have no idea which bar code format they are). Your barcode (code 128) doesn't look like the original barcodes on the cards, so unfortunately i can't use the generated wallet cards. Would be nice to have a preview of the generated card before downloading the correctly generated file.
- cicko 10mo agoIt does not seem to generate barcode passes, although the option is there. My PassWallet only shows the QR code from a generated .pkpass.
- cdong 10mo agoThanks for making this, I just used it for gym stuff
- mythoughtsexact 10mo agoI'm so confused, is HN now littered with nothing but Supported Bots and Crappy AI Generating supposedly a small developer Bots? Nothing about this app is unique or cool, just one peek at the source code reveals OP or the Bot literally wrote Jack Shit. Everything on the App is powered by Cloudflare's AI tools. In fact, every other App listed on the page is exactly the same. So with all those thoughts out there, if OP is a real human, then the best we could do is shame them for not having a single drop of creativity and for relying on AI to do all the work. Or are we still pretending this AI is actually useful? Because from the point of an actual engineer with decades of experience and several successful startups that went public, this is seriously concerning, and tells me that the next generation is going to be F'd when they wake up one morning and everything is falling to pieces and they realize that they have no real skills beyond asking a computer to do their work for them.
- deleted 10mo ago[deleted]