Clubcode [fork]

Rating: 
4.90476
Your rating: None Average: 4.9 (21 votes)

No longer maintained, instead consider using BarWal

ClubCode is an app to store and show various types of barcodes. Leave your club cards at home. With this app you can collect all your barcode based club cards and show them to the scanner or cashier.

 

Currently supported barcode types:

  • Code 39
  • Code 93 ( a bit beta)
  • Code 128
  • EAN-8
  • EAN-13
  • UPC-A
  • UPC-E
  • QR-Code
  • KIX

CodeReader (to be found in the Jolla Store) can be used to scan codes and paste them via the clipboard (if the barcode type is supported of course).

Version >= 0.3-1 will break the old barcode database!

Now that more barcode types are supported, I need to add a barcode type, which breaks the datamodel.

Please note your codes before upgrading!

License: GPL-3.0

Original repo: github

Forked repo: github

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-clubcode-0.5-1.aarch64.rpm106.98 KB30/05/2021 - 18:48
File harbour-clubcode-0.5-1.armv7hl.rpm98.96 KB30/05/2021 - 18:48
File harbour-clubcode-0.5-1.i486.rpm112.05 KB30/05/2021 - 18:48
Changelog: 
  • 0.5-1 Support for MyBackup (thanks rob_k)
  • 0.4-1 Added Swedish translation thanks eson57
  • 0.3-18
    • Do not hardcode nemo user in paths
    • Added aarch64 build
  • 0.3-17
    • Added (dummy) QR-code preview on main page
    • Added KIX (Dutch postal barcode)
  • 0.3-16 Added QR-Code, thanks Fukuchi (libqrencode) and Slava Monich (Sailfish impl.)
  • 0.3-15 Czech translation by Malakay
  • 0.3-14 Added UPC-A support
  • 0.3-13 French translation added thanks Quenty31
  • 0.3-12 Fixed context open/close animation, slightly smaller barcode preview
  • 0.3-11
    • Updated Chinese translation
    • Small changes in about- and coverpage
  • 0.3-10
    • Chinese translation
    • Setting for orientation barcode display
  • 0.3-9 Barcodes now loaded sorted by name (thanks PawelSpoon)
  • 0.3-8 Added UPC-E support
  • 0.3-7
    • Barcodes can be made another step smaller
    • Added Code 93
  • 0.3-6 From upstream: changed enterkey to go to next field and accept the input
  • 0.3-5 Russian translation added (thanks Dikonov)
  • 0.3-4 Some minor visual changes
  • 0.3-3
    • Code 39 type added
    • About page added
    • Now 3 sizes for barcode by tapping
  • 0.3-2 EAN-13 added
  • 0.3-1
    • Added EAN-8 as barcode type
    • More compact list of barcodes
    • Resize cover icon
  • 0.2-3 Tap on barcode to toggle to half the size
  • 0.2-2
    • Better sizing for hires screens
    • Landscape support (barcode remains landscape oriented)
  • 0.2-1
    • Fixed issue of not loading barcodes at start
    • Added remorse timer for removing
    • More translatable strings
    • Fixed build issues

Comments

rob_k's picture

Adding Clubcode to MyBackup would be nice. Let's see whether I can manage to create a merge request...

broncheoli's picture

Hi @ade,

thanks for the great app. I also have an ITF-14 code and a , for me, strange 2 row bar code on a card of my wife. I understand that some codes are difficult to generate. I have made a copy of these cards and cleaned the picture up so I can also use them.

Now my suggestion: For these problematic codes it would be great to have the possibility to insert a picture of the barcode instead of generate it freshly. I understand that this is not the cleanest way but it´s better than not having the code in the app.
Greetings, broncheolus.

ade's picture

barwal supports ITF-14. You probably need to discard a leading indicator digit if present for it to be accepted.

ade's picture

ITF-14 has been discussed in this thread. Furthermore I do not have any intention to extend this program right now. Codereader does store its pictures taken, but that's not really a sorted list of course. "Merge requests are welcome" could be the obligatory closing sentence in this case :-)

Brummkreisel's picture

Hi! That was really fast!
Thank you very much.
Is there a way I could donate something?

ade's picture

Thanks for the offer, but I'm fine without donations. I'm glad this fix was easy :-)

Brummkreisel's picture

I'm able to add my codes, but after restarting the app nothing was saved. I'm on Xperia XA2 with Koli 4.0.1.48.

ade's picture

No issues here, but I fear you do not have user 'nemo', but 'defaultuser'. Looking at the sourcecode this will be the culprit in this case.
Will try to fix that later.
Edit: new version uploaded

chris7chris's picture

Thanks for this app!!!

b3pio's picture

Very nice app so far, can you add support for PDF417 and Data Matrix barcode types. Also possibly a scanning feature to add new cards aswell? (otherwise happy to scan with CodeReader then paste) Thank you

ade's picture

In essence, this app is focused on fonts representing linear (1D) barcodes. The widely used QR code was an exception so far, as opensource libraries where available and Slava Monich did further Sailfish integration in this apps that I could partly reuse. So no plans for other 2D codes ATM.

PawelSpoon's picture

I had to flash my phone today, i did loose all my code.. a export / impert would be realy great. Or a howto backup ... Thanks !

ade's picture

The data is stored in /home/nemo/.local/share/harbour-clubcode/database.

maier's picture

Ok sorry didn't know that's so annoying to work with the Jolla store. Width the other points that have been my thoughts. ... but I'm sure you know best what's good for your app. I'm happy that you took ownership and bring it in a useable condition. Thank you for your time.

maier's picture

Update in jolla store is also important )

maier's picture

ade are you fixed on the name ClubCode ? I ask because I saw / read now several times that users don't understand what your app is useful for. And additional give the users the possibility to make own folders to save the codes in. e.g. shops, clubs, ...
A search function is also important

ade's picture

I am not bound to the name ClubCode, but on the other hand not all app names have to reflect their direct purpose.
Some discussion on github has been going on about sorting and grouping. Sorting was implemented, grouping would be harder to implement in the current storage model. It's not on my priority list atm. As it is sorted, a search function would maybe be useful if you are talking about hundreds of barcodes.

And about the Jolla store: it's loaded with defunct apps. Jolla does not see it as their responsibility to remove those abandoned apps. Options would be to ask Jolla if you are allowed to take ownership of the app, or upload it using a different name. But OpenRepos is an excellent alternative store for those apps in my view, so why bother.

naytsyrhc's picture

Thx for adding yet another code type. Any idea, if ITF-14 is possible as well?

ade's picture

IFT14 is a 1D type barcode, so in theory it should be possible. It's different because of the bearer bars (e.g. surrounded by bars). But so far I have not found a (free) TTF font that supports ITF14.

naytsyrhc's picture

Understood. Wasn't aware that you are using a font. I'll check if I can find something.

Malakay's picture

Hi Ade, i want to make czech translatio, if youre interested, contact me :)

maier's picture

Best solution) Thank you it's working like a charm. Now I'm only missing the front & backside photo of the original card.

maier's picture

Thank you)

maier's picture

It is not the size (width) of the barcode it's the width of the device in horizontal format. If I can use the device in vertical format the width is smaller and I can shift it in scanner hole.

ade's picture

okay, I see what you mean. I'll see what I can do about that.

edit: v0.3-10 should allow rotation

maier's picture

Usefull and nice app. Thank you. From my side the following comments.
- Fixed code on display is a problem for big devices. Some of the scanner I use are not so big to shift the phone horizontal in. Smaller code at rotation will be fine. Maybe in the settings an option on/off
- A photo (front & backside) of the original card is very helpful if the seller like to control the original with the photo of the person on it.

ade's picture

About your first point: I anticipated on this, you can tap on the barcode for resizing to various sizes.

PawelSpoon's picture

You can use barcode reader instead of tyoing. That is a.separate app.

melg01's picture

Great app! It would be nice to add some way of organizing the codes, at least a simple categorization (shop types or whatsoever), also changing the position (moving them up and down in the list), maybe a search or filter function. And of course, being able to just take a photo of the code and having automatic recognition would be the top! (instead of mis-typing the numbers...). Anyway, keep up the good work!

ade's picture

There was already a request for sorting, but that's a bit harder than I anticipated. As the amount of barcodes grows, sorting/categorizing would be desirable.
Unfortunately, the storage backend is not very flexible, so it could break the database again. For that, it would be better to move to a sqlite backend.

As mentioned by in the description and by PawelSpoon just now, CodeReader can be used to scan and copy/paste. I see no reason to do all the effort to port that scan functionality to spare some seconds for one time scans.

Pages