vnlogos
Star on GitHub86

Contributing

vnlogos grows one logo at a time. If you saw a bank or shop on a statement and it is not here, it should be. You can suggest it in a minute, or add it yourself with a pull request.

Last updated 29 November 2026

Suggest a logo

The quickest way: open an issue with the name of the bank, brand or dish, how it is printed on your statement, and a link to an official logo if you have one. That is all the maintainer needs.

Add or update a logo

  1. Pick an id. Lower case, kebab-case, no diacritics: phuc-long, bach-hoa-xanh. Banks use their short code: vcb, tcb.
  2. Add the file. A brand is logos/brands/<id>.png, square and at least 512 px. A bank is logos/banks/<id>.svg (preferred) or a PNG at most 240 px high; if a one-colour fill would cover a detail, add a mask as <id>-mono.svg. SVGs must not contain scripts.
  3. Add the data to data/brands.json or data/banks.json: name, colours, statement spellings, category and MCCs for a brand; colours and the credit-card page for a bank.
  4. Run the checks. The build fails on a missing file, a bad colour, a duplicate id or a tile that is not square.
  5. Open a pull request with a link to where the logo came from.
Terminal
npm test
npm run readme

Sources we accept

No redrawn, fan-made, AI-generated or seasonal versions. The legal notice explains why.

Draw a dish

Dishes are drawn for vnlogos, so the rules are about style rather than sources. Each dish has two SVGs on a 200 × 200 view box: logos/dishes/<id>.svg, the dish in three-quarter view on a clear ground, and <id>-seal.svg, the same drawing in a round stamp with the region's colour, the name on top and the hometown below. Prefix every internal id with <id>- so drawings can share a page, then add the entry to data/dishes.json.

Work on the code

The package has no runtime dependencies; keep it that way. scripts/build.mjs turns data/ and logos/ into dist/, and src/ holds the hand-written parts. The website lives in site/.

Terminal
npm run site
python3 -m http.server -d _site

By contributing you agree that your code and data are released under the MIT license.