this post was submitted on 02 Feb 2025
197 points (98.0% liked)

Canada

7564 readers
938 users here now

What's going on Canada?



Related Communities


๐Ÿ Meta


๐Ÿ—บ๏ธ Provinces / Territories


๐Ÿ™๏ธ Cities / Local Communities

Sorted alphabetically by city name.


๐Ÿ’ SportsHockey

Football (NFL): incomplete

Football (CFL): incomplete

Baseball

Basketball

Soccer


๐Ÿ’ป Schools / Universities

Sorted by province, then by total full-time enrolment.


๐Ÿ’ต Finance, Shopping, Sales


๐Ÿ—ฃ๏ธ Politics


๐Ÿ Social / Culture


Rules

  1. Keep the original title when submitting an article. You can put your own commentary in the body of the post or in the comment section.

Reminder that the rules for lemmy.ca also apply here. See the sidebar on the homepage: lemmy.ca


founded 4 years ago
MODERATORS
 

cross-posted from: https://lemmy.ca/post/38473938

I spent last night putting together this tool. You can try it out here: https://isitcanadian.cynber.dev/product-search

Some barcodes that you can try with:

  • 0673513001507
  • 0013000052528

It lets you search for a product by the barcode, and then using the Open Food Facts database, it will tell you where the product is from (origin of ingredients, location of manufacturing / processing, and where it is sold). You can then search for Canadian alternatives.

It uses the categories of the item to search for similar items in the database, and filters out items that aren't Canadian in at least one of the ways above. You can further filter by those categories or by origin and manufacturing / processing location.

I chose Open Food Facts because it is an existing open source initiative, run by a non-profit, and already has lots of data. When a product is missing or incorrect, you can contribute it with their mobile app. This has the added benefit of improving the data for everyone, and there's a lot more there than just the country of origin.

Some things I'd like to do:

  • Ability to search by name, not just barcode
  • Ability to scan a barcode instead of typing it in / pasting it
  • Gather articles and compilations from community members since the search alone would be tedious
  • Go through the mess I made of the code while trying to do it all in one night

I hope it's helpful, and I'd love to hear feedback. It's open source so if you want to contribute, you can find the code here: https://github.com/cynber/is-it-canadian

I'll be back again tonight to respond to comments and feedback. Thanks you!

top 15 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 11 points 5 days ago* (last edited 5 days ago)

I'm also planning to set up a community on this instance project, if there is enough interest for it. I didn't make the commuinity yet because I haven't settled on a name. I mentioned those plans here:

https://isitcanadian.cynber.dev/community

[โ€“] Reverendender 7 points 5 days ago

I want it to be, "Does it Canada?"

[โ€“] [email protected] 7 points 5 days ago

This is really great, thanks for working on it!

Watching folks rally together like this warms my little heart and gives me hope. (I'm Canucks fan, so you can imagine how alien this whole "hope" thing feels to me.)

[โ€“] [email protected] 7 points 5 days ago (1 children)

Good idea but url seems dead.

There's also this already https://madeinca.ca/

Maybe not completely the same, but similar idea.

[โ€“] [email protected] 8 points 5 days ago (1 children)

Could you share which link? They seem to be working for me.

I was having DNS issues when setting it up, which could be related

https://madeinca.ca/

This is great! I might remove the blog section and focus on the search functionality, since there are a lot of these compilations/guides already.

[โ€“] [email protected] 6 points 5 days ago

Seems it's my zenarmour blocking it.

[โ€“] [email protected] 4 points 5 days ago (1 children)

I envy Canadians for getting up in arms about this. People in the US couldn't do something similar if their life depended on it.

[โ€“] [email protected] 6 points 5 days ago (2 children)

Multiple US states made BDS a hate crime.

[โ€“] Typotyper 2 points 5 days ago (1 children)
[โ€“] Nythos 6 points 5 days ago* (last edited 5 days ago) (1 children)
[โ€“] Typotyper 0 points 4 days ago

I kind of like the deer one. Fuck humans and their stupid antics.

[โ€“] [email protected] 1 points 5 days ago

The USA: "Land of the Free ยฎ" has made it illegal to boycott the Zionist entity.

[โ€“] Typotyper 2 points 5 days ago (1 children)

How hard would it be to add your camera to scan bar codes. Are there standing libraries to use

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

I've been trying a few packages, such as ZXing, some have worked better than others. I can get it to scan a barcode, but it doesn't work reliably yet. I have a few more issues to iron out, but it will be possible

[โ€“] Typotyper 1 points 3 days ago

โ€ฆthe hero we need