GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dfloureiro/OrigEU: Know where your brands come from — EU/EFTA origin badges on Portuguese supermarket sites

BranchesTags
Open more actions menu

Latest commit

 

History

49 Commits
49 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
_locales
_locales
 
 
backend
backend
 
 
background
background
 
 
content
content
 
 
data
data
 
 
docs
docs
 
 
icons
icons
 
 
lib
lib
 
 
popup
popup
 
 
.gitignore
.gitignore
 
 
ARCHITECTURE.md
ARCHITECTURE.md
 
 
LICENSE
LICENSE
 
 
PRIVACY.md
PRIVACY.md
 
 
README.md
README.md
 
 
manifest.firefox.json
manifest.firefox.json
 
 
manifest.json
manifest.json
 
 

Repository files navigation

OrigEU

A small browser extension (Chrome and Firefox) that tells you where a product actually comes from, right while you're shopping online at a supported supermarket.

It adds a little badge to each product — on the search/listing page and on the product page — showing whether that brand is from the EU, from a closely-linked non-EU country (Switzerland, Norway, Iceland, Liechtenstein), or from somewhere else entirely.

Available in the Chrome Web Store    Get the Add-on for Firefox

OrigEU badges shown on a Continente search results page

What the badges mean

Badge Meaning
🇪🇺 OrigEU ❤️ Portugal Brand is from an EU country
🤝 OrigEU 🇳🇴 (EFTA) Brand is from Switzerland, Norway, Iceland or Liechtenstein — not EU, but closely tied to it
🌍 OrigEU United States Brand is from somewhere else
❓ OrigEU Unknown Source Not in the database yet — you can suggest it from the badge itself

Click a badge for a source link, when one has been recorded. On a product page, the badge is bigger and impossible to miss:

OrigEU badge on a Continente product page

Click the toolbar icon to show/hide the badge, or switch it between the full text shown above and a compact flag-only style.

Where it works

Country Sites
🇵🇹 Portugal continente.pt, auchan.pt, pingodoce.pt, intermarche.pt
🇪🇸 Spain mercadona.es (tienda.mercadona.es), carrefour.es, alcampo.es (compraonline.alcampo.es)
🇫🇷 France auchan.fr, carrefour.fr
🇩🇪 Germany rewe.de

Same retailer, different country, doesn't mean the same website — Continente/Auchan/Pingo Doce (all three Portuguese) happen to share a platform, but e.g. auchan.fr runs on completely different tech from auchan.pt, so each site listed above has its own dedicated, verified adapter (see ARCHITECTURE.md).

Honest limitations

This is a personal project, not a certified label. The data is brand-level (not per-product), it's only as complete as what's been entered, and a brand's general country of origin can occasionally miss a regional or licensed exception. Treat the badge as a helpful nudge, not a guarantee — and if you spot something wrong or missing, the badge itself has a link to suggest a fix.

Setting it up yourself

The badge data comes from a small database that you host yourself for free (on Cloudflare) — nobody else's server, no shared account, fully under your control.

1. Load the extension

Chrome (or any Chromium-based browser):

  • Clone or download this repository
  • Open chrome://extensions
  • Turn on "Developer mode" (top right)
  • Click "Load unpacked" and select the folder you cloned

Firefox:

  • Clone or download this repository
  • Firefox's loader expects a file literally named manifest.json, and Chrome/Firefox need slightly different manifests (see note below) — copy the Firefox one into place: cp manifest.firefox.json manifest.json (do this in a separate clone/copy of the repo if you also want the Chrome version loaded from the same machine)
  • Open about:debugging#/runtime/this-firefox
  • Click "Load Temporary Add-on…" and select the manifest.json you just copied (temporary add-ons unload when Firefox restarts — for a permanent local install, package it with web-ext and self-sign it, or submit it to addons.mozilla.org)

Then visit continente.pt, auchan.pt, auchan.fr, pingodoce.pt, intermarche.pt, tienda.mercadona.es, carrefour.es, carrefour.fr, rewe.de, or compraonline.alcampo.es and search for a product.

Why two manifests? Chrome's Manifest V3 validator rejects background.scripts outright, while Firefox's Manifest V3 support doesn't use background.service_worker and needs scripts instead — there's no single background block that satisfies both. manifest.json is the Chrome version; manifest.firefox.json is Firefox's. They're kept in sync by hand, so if you change permissions, version, or anything else in one, mirror it in the other.

At this point every product will show "unknown" — that's expected, there's no database connected yet.

2. Deploy your own database

Follow the step-by-step guide in backend/README.md. It's free at this scale on Cloudflare's Workers + D1, and takes about 10 minutes. At the end you'll have your own private backoffice where you add brands and countries yourself.

3. Point the extension at it

cp lib/config.example.js lib/config.js
# edit lib/config.js: set BACKEND_URL to the Worker URL from step 2

Reload the extension (chrome://extensions or about:debugging#/runtime/this-firefox) and you're done — the badge will start showing real data for whatever brands you've added.

Want the technical details?

ARCHITECTURE.md covers how the matching works, the supported sites' platform details, and how to add a new site or a new browser target.

Privacy

PRIVACY.md — short version: no data collection, nothing you browse or buy is ever sent anywhere.

License

GPL-3.0 — if you redistribute this or a modified version, it must stay open-source under the same license.

About

Know where your brands come from — EU/EFTA origin badges on Portuguese supermarket sites

Resources

Readme
GPL-3.0 license
Activity

Stars

4 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.