reibekuchen

joined 1 year ago
[โ€“] [email protected] 1 points 1 year ago

I was not aware of this app. Thanks for mentioning it!

[โ€“] [email protected] 3 points 1 year ago

I can confirm that this is the case at "Albert Heijn" in the Netherlands, where you can "save" a bit of money during checkout if you were to present your loyalty card.

[โ€“] [email protected] 1 points 1 year ago

Thanks for your suggestion! I've created a dedicated post for the app.

Regarding your suggestions, it's already possible to use a random code: When clicking the "Enter code" button at the top, a random code is suggested to you. With a click on "Let's go", you get to the card with that random number.

If you have some experience with TypeScript and/or React, feel free to fork and contribute! I'm always happy for pull requests.

 

Hey /c/privacy,

Similar to the idea that was proposed a month ago by @[email protected], I built a little web app that allows one to "emulate" EAN13-based loyalty cards. I call it the Loyalty Card Emulator. ๐Ÿช„

The app allows you to either select one of the built-in card numbers that I have found on the internet. (Only for demonstration purposes, of course!) Or you can just enter a code manually and create the loyalty card from it. The link to a card can be shared (e.g. if you and your SO use the same loyalty card).

At the moment, it is very basic and only has one single design that is supposed to visually mimic one of the biggest loyalty card providers that I know.

Architectural-wise, the app is written in TypeScript, powered by React and Vite. The app does not transmit and/or store your codes anywhere but on your device; it's a single-page application that runs entirely in your browser, without any server component.

The source code is publicly available here. The hosting is taken care of by Codeberg Pages - cheers for that!

Adding new card designs and/or preset codes can be achieved quite easily, so feel free to fork and contribute!

[โ€“] [email protected] 2 points 1 year ago (2 children)

That's a great idea! I have thrown together a small web app to "emulate" the loyalty card for Payback, one of Germany's biggest loyalty card providers. Take a look here: https://apfelkompott.codeberg.page/loyalty-card-hosting/

To get started with some of the codes, I have scoured the web for images of cards, and added those to a list. (I've also provided the sources as part of the app.) You can also modify the code in the URL. As long as it's a valid EAN13 value, the bar code should render just fine.

Adding new providers/codes should be easily doable, if we had screenshot of the apps that show the design and the number format used for the code.

Let me know what you think.

PS: For the record, I am not affiliated with Payback, nor do I endorse using other people's card or code. This emulator is meant to be used with your number and your number alone.