atlaslogo 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +136 -2
  3. package/TRADEMARKS.md +41 -0
  4. package/bin/atlaslogo.js +302 -0
  5. package/bin/component.js +185 -0
  6. package/dist/countries/de.json +634 -0
  7. package/dist/countries/fr.json +616 -0
  8. package/dist/countries/gb.json +679 -0
  9. package/dist/countries/jp.json +649 -0
  10. package/dist/countries/us.json +984 -0
  11. package/dist/index.cjs +267 -0
  12. package/dist/index.d.cts +34 -0
  13. package/dist/index.d.ts +34 -0
  14. package/dist/index.js +242 -0
  15. package/dist/meta.json +5353 -0
  16. package/dist/react.d.ts +7 -0
  17. package/dist/react.js +115 -0
  18. package/dist/svelte/index.d.ts +6 -0
  19. package/dist/svelte/index.js +31 -0
  20. package/dist/vue.d.ts +5 -0
  21. package/dist/vue.js +107 -0
  22. package/logos/atlas/berlin-duotone.svg +25 -0
  23. package/logos/atlas/berlin-line.svg +21 -0
  24. package/logos/atlas/berlin-seal.svg +36 -0
  25. package/logos/atlas/london-duotone.svg +26 -0
  26. package/logos/atlas/london-line.svg +23 -0
  27. package/logos/atlas/london-seal.svg +37 -0
  28. package/logos/atlas/new-york-duotone.svg +24 -0
  29. package/logos/atlas/new-york-line.svg +22 -0
  30. package/logos/atlas/new-york-seal.svg +35 -0
  31. package/logos/atlas/paris-duotone.svg +29 -0
  32. package/logos/atlas/paris-line.svg +27 -0
  33. package/logos/atlas/paris-seal.svg +37 -0
  34. package/logos/atlas/tokyo-duotone.svg +42 -0
  35. package/logos/atlas/tokyo-line.svg +33 -0
  36. package/logos/atlas/tokyo-seal.svg +60 -0
  37. package/logos/banks/ally-mono.svg +3 -0
  38. package/logos/banks/ally.svg +3 -0
  39. package/logos/banks/barclays-mono.svg +6 -0
  40. package/logos/banks/barclays.svg +3 -0
  41. package/logos/banks/bnp-paribas-mono.svg +6 -0
  42. package/logos/banks/bnp-paribas.svg +3 -0
  43. package/logos/banks/bofa-mono.svg +6 -0
  44. package/logos/banks/bofa.svg +3 -0
  45. package/logos/banks/boursobank-mono.svg +3 -0
  46. package/logos/banks/boursobank.svg +3 -0
  47. package/logos/banks/brex-mono.svg +6 -0
  48. package/logos/banks/brex.svg +3 -0
  49. package/logos/banks/capital-one-mono.svg +7 -0
  50. package/logos/banks/capital-one.svg +7 -0
  51. package/logos/banks/chase-mono.svg +6 -0
  52. package/logos/banks/chase.svg +57 -0
  53. package/logos/banks/chime-mono.svg +6 -0
  54. package/logos/banks/chime.svg +59 -0
  55. package/logos/banks/citi-mono.svg +15 -0
  56. package/logos/banks/citi.svg +15 -0
  57. package/logos/banks/comdirect-mono.svg +6 -0
  58. package/logos/banks/comdirect.svg +17 -0
  59. package/logos/banks/commerzbank-mono.svg +6 -0
  60. package/logos/banks/commerzbank.svg +186 -0
  61. package/logos/banks/credit-agricole-mono.svg +6 -0
  62. package/logos/banks/credit-agricole.svg +3 -0
  63. package/logos/banks/credit-mutuel-mono.svg +17 -0
  64. package/logos/banks/credit-mutuel.svg +17 -0
  65. package/logos/banks/deutsche-bank-mono.svg +6 -0
  66. package/logos/banks/deutsche-bank.svg +3 -0
  67. package/logos/banks/dkb-mono.svg +97 -0
  68. package/logos/banks/dkb.svg +97 -0
  69. package/logos/banks/halifax-mono.svg +3 -0
  70. package/logos/banks/halifax.svg +3 -0
  71. package/logos/banks/hsbc-mono.svg +6 -0
  72. package/logos/banks/hsbc.svg +17 -0
  73. package/logos/banks/ing-mono.svg +3 -0
  74. package/logos/banks/ing.svg +3 -0
  75. package/logos/banks/japan-post-bank-mono.svg +131 -0
  76. package/logos/banks/japan-post-bank.svg +131 -0
  77. package/logos/banks/klarna-mono.svg +6 -0
  78. package/logos/banks/klarna.svg +3 -0
  79. package/logos/banks/la-banque-postale-mono.svg +42 -0
  80. package/logos/banks/la-banque-postale.svg +42 -0
  81. package/logos/banks/lcl-mono.svg +6 -0
  82. package/logos/banks/lcl.svg +71 -0
  83. package/logos/banks/lloyds-mono.svg +3 -0
  84. package/logos/banks/lloyds.svg +3 -0
  85. package/logos/banks/mercury-mono.svg +3 -0
  86. package/logos/banks/mercury.svg +3 -0
  87. package/logos/banks/mizuho-mono.svg +43 -0
  88. package/logos/banks/mizuho.svg +43 -0
  89. package/logos/banks/monzo-mono.svg +6 -0
  90. package/logos/banks/monzo.svg +3 -0
  91. package/logos/banks/mufg-mono.svg +3 -0
  92. package/logos/banks/mufg.svg +3 -0
  93. package/logos/banks/n26-mono.svg +6 -0
  94. package/logos/banks/n26.svg +3 -0
  95. package/logos/banks/nationwide-mono.svg +3 -0
  96. package/logos/banks/nationwide.svg +3 -0
  97. package/logos/banks/natwest-mono.svg +6 -0
  98. package/logos/banks/natwest.svg +35 -0
  99. package/logos/banks/paypay-mono.svg +6 -0
  100. package/logos/banks/paypay.svg +47 -0
  101. package/logos/banks/pnc-mono.svg +6 -0
  102. package/logos/banks/pnc.svg +50 -0
  103. package/logos/banks/postbank-mono.svg +6 -0
  104. package/logos/banks/postbank.svg +24 -0
  105. package/logos/banks/qonto-mono.svg +6 -0
  106. package/logos/banks/qonto.svg +14 -0
  107. package/logos/banks/rakuten-bank-mono.svg +6 -0
  108. package/logos/banks/rakuten-bank.svg +21 -0
  109. package/logos/banks/resona-mono.svg +73 -0
  110. package/logos/banks/resona.svg +73 -0
  111. package/logos/banks/revolut-mono.svg +6 -0
  112. package/logos/banks/revolut.svg +3 -0
  113. package/logos/banks/santander-mono.svg +80 -0
  114. package/logos/banks/santander.svg +80 -0
  115. package/logos/banks/schwab-mono.svg +6 -0
  116. package/logos/banks/schwab.svg +59 -0
  117. package/logos/banks/smbc-mono.svg +6 -0
  118. package/logos/banks/smbc.svg +309 -0
  119. package/logos/banks/societe-generale-mono.svg +6 -0
  120. package/logos/banks/societe-generale.svg +54 -0
  121. package/logos/banks/sofi-mono.svg +6 -0
  122. package/logos/banks/sofi.svg +135 -0
  123. package/logos/banks/sparkasse-mono.svg +6 -0
  124. package/logos/banks/sparkasse.svg +8 -0
  125. package/logos/banks/starling-mono.svg +6 -0
  126. package/logos/banks/starling.svg +3 -0
  127. package/logos/banks/trade-republic-mono.svg +13 -0
  128. package/logos/banks/trade-republic.svg +13 -0
  129. package/logos/banks/us-bank-mono.svg +6 -0
  130. package/logos/banks/us-bank.svg +3 -0
  131. package/logos/banks/volksbank-mono.svg +6 -0
  132. package/logos/banks/volksbank.svg +9 -0
  133. package/logos/banks/wells-fargo-mono.svg +6 -0
  134. package/logos/banks/wells-fargo.svg +3 -0
  135. package/logos/banks/wise-mono.svg +6 -0
  136. package/logos/banks/wise.svg +3 -0
  137. package/logos/brand/atlaslogo-mark.svg +10 -0
  138. package/logos/categories/cloud.svg +1 -0
  139. package/logos/categories/coffee.svg +1 -0
  140. package/logos/categories/dining.svg +1 -0
  141. package/logos/categories/education.svg +1 -0
  142. package/logos/categories/entertainment.svg +1 -0
  143. package/logos/categories/finance.svg +1 -0
  144. package/logos/categories/groceries.svg +1 -0
  145. package/logos/categories/health.svg +1 -0
  146. package/logos/categories/housing.svg +1 -0
  147. package/logos/categories/shopping.svg +1 -0
  148. package/logos/categories/software.svg +1 -0
  149. package/logos/categories/streaming.svg +1 -0
  150. package/logos/categories/transfers.svg +1 -0
  151. package/logos/categories/transport.svg +1 -0
  152. package/logos/categories/travel.svg +1 -0
  153. package/logos/categories/utilities.svg +1 -0
  154. package/logos/merchants/adobe.svg +31 -0
  155. package/logos/merchants/aeon.svg +7 -0
  156. package/logos/merchants/air-france.svg +7 -0
  157. package/logos/merchants/airbnb.svg +7 -0
  158. package/logos/merchants/aldi.svg +6 -0
  159. package/logos/merchants/aliexpress.svg +6 -0
  160. package/logos/merchants/amazon.svg +6 -0
  161. package/logos/merchants/american-airlines.svg +6 -0
  162. package/logos/merchants/ana.svg +32 -0
  163. package/logos/merchants/anthropic.svg +6 -0
  164. package/logos/merchants/apple-music.svg +6 -0
  165. package/logos/merchants/apple.svg +6 -0
  166. package/logos/merchants/argos.svg +6 -0
  167. package/logos/merchants/asda.svg +6 -0
  168. package/logos/merchants/att.svg +6 -0
  169. package/logos/merchants/au.svg +9 -0
  170. package/logos/merchants/auchan.svg +6 -0
  171. package/logos/merchants/aws.svg +7 -0
  172. package/logos/merchants/best-buy.svg +17 -0
  173. package/logos/merchants/bic-camera.svg +119 -0
  174. package/logos/merchants/blablacar.svg +7 -0
  175. package/logos/merchants/blue-bottle.svg +5 -0
  176. package/logos/merchants/bolt.svg +7 -0
  177. package/logos/merchants/booking.svg +7 -0
  178. package/logos/merchants/boots.svg +6 -0
  179. package/logos/merchants/bouygues-telecom.svg +32 -0
  180. package/logos/merchants/british-airways.svg +6 -0
  181. package/logos/merchants/bt.svg +6 -0
  182. package/logos/merchants/burger-king.svg +6 -0
  183. package/logos/merchants/canal-plus.svg +20 -0
  184. package/logos/merchants/carrefour.svg +6 -0
  185. package/logos/merchants/cash-app.svg +6 -0
  186. package/logos/merchants/chipotle.svg +11 -0
  187. package/logos/merchants/cloudflare.svg +7 -0
  188. package/logos/merchants/costa.svg +7 -0
  189. package/logos/merchants/costco.svg +7 -0
  190. package/logos/merchants/coursera.svg +6 -0
  191. package/logos/merchants/cvs.svg +16 -0
  192. package/logos/merchants/daiso.svg +12 -0
  193. package/logos/merchants/decathlon.svg +38 -0
  194. package/logos/merchants/deezer.svg +8 -0
  195. package/logos/merchants/deliveroo.svg +6 -0
  196. package/logos/merchants/delta.svg +6 -0
  197. package/logos/merchants/deutsche-bahn.svg +7 -0
  198. package/logos/merchants/digitalocean.svg +6 -0
  199. package/logos/merchants/disney-plus.svg +42 -0
  200. package/logos/merchants/dm.svg +6 -0
  201. package/logos/merchants/docomo.svg +15 -0
  202. package/logos/merchants/dominos.svg +15 -0
  203. package/logos/merchants/don-quijote.svg +52 -0
  204. package/logos/merchants/doordash.svg +6 -0
  205. package/logos/merchants/doutor.svg +25 -0
  206. package/logos/merchants/dropbox.svg +6 -0
  207. package/logos/merchants/dunkin.svg +48 -0
  208. package/logos/merchants/duolingo.svg +6 -0
  209. package/logos/merchants/easyjet.svg +6 -0
  210. package/logos/merchants/ebay.svg +6 -0
  211. package/logos/merchants/edeka.svg +6 -0
  212. package/logos/merchants/edf.svg +42 -0
  213. package/logos/merchants/emirates.svg +6 -0
  214. package/logos/merchants/etsy.svg +6 -0
  215. package/logos/merchants/expedia.svg +6 -0
  216. package/logos/merchants/familymart.svg +87 -0
  217. package/logos/merchants/figma.svg +18 -0
  218. package/logos/merchants/fnac.svg +21 -0
  219. package/logos/merchants/free.svg +10 -0
  220. package/logos/merchants/github.svg +6 -0
  221. package/logos/merchants/google-cloud.svg +6 -0
  222. package/logos/merchants/google.svg +6 -0
  223. package/logos/merchants/greggs.svg +5 -0
  224. package/logos/merchants/grubhub.svg +6 -0
  225. package/logos/merchants/hilton.svg +6 -0
  226. package/logos/merchants/hm.svg +6 -0
  227. package/logos/merchants/home-depot.svg +7 -0
  228. package/logos/merchants/ikea.svg +6 -0
  229. package/logos/merchants/instacart.svg +6 -0
  230. package/logos/merchants/jal.svg +6 -0
  231. package/logos/merchants/jr-east.svg +7 -0
  232. package/logos/merchants/just-eat.svg +6 -0
  233. package/logos/merchants/kaufland.svg +6 -0
  234. package/logos/merchants/kfc.svg +6 -0
  235. package/logos/merchants/kroger.svg +7 -0
  236. package/logos/merchants/lawson.svg +70 -0
  237. package/logos/merchants/leclerc.svg +40 -0
  238. package/logos/merchants/leroy-merlin.svg +6 -0
  239. package/logos/merchants/lidl.svg +6 -0
  240. package/logos/merchants/lieferando.svg +5 -0
  241. package/logos/merchants/linear.svg +7 -0
  242. package/logos/merchants/lufthansa.svg +6 -0
  243. package/logos/merchants/lyft.svg +6 -0
  244. package/logos/merchants/marks-and-spencer.svg +553 -0
  245. package/logos/merchants/marriott.svg +6 -0
  246. package/logos/merchants/mcdonalds.svg +6 -0
  247. package/logos/merchants/mediamarkt.svg +6 -0
  248. package/logos/merchants/mercari.svg +75 -0
  249. package/logos/merchants/microsoft.svg +11 -0
  250. package/logos/merchants/monoprix.svg +6 -0
  251. package/logos/merchants/morrisons.svg +6 -0
  252. package/logos/merchants/mos-burger.svg +7 -0
  253. package/logos/merchants/muji.svg +21 -0
  254. package/logos/merchants/netflix.svg +6 -0
  255. package/logos/merchants/netto.svg +6 -0
  256. package/logos/merchants/nike.svg +6 -0
  257. package/logos/merchants/nintendo.svg +27 -0
  258. package/logos/merchants/notion.svg +7 -0
  259. package/logos/merchants/octopus-energy.svg +66 -0
  260. package/logos/merchants/openai.svg +6 -0
  261. package/logos/merchants/orange-fr.svg +30 -0
  262. package/logos/merchants/otto.svg +6 -0
  263. package/logos/merchants/patreon.svg +6 -0
  264. package/logos/merchants/peloton.svg +6 -0
  265. package/logos/merchants/penny.svg +6 -0
  266. package/logos/merchants/playstation.svg +6 -0
  267. package/logos/merchants/pret.svg +137 -0
  268. package/logos/merchants/rakuten.svg +25 -0
  269. package/logos/merchants/ratp.svg +595 -0
  270. package/logos/merchants/rewe.svg +6 -0
  271. package/logos/merchants/rossmann.svg +6 -0
  272. package/logos/merchants/ryanair.svg +6 -0
  273. package/logos/merchants/sainsburys.svg +7 -0
  274. package/logos/merchants/sephora.svg +7 -0
  275. package/logos/merchants/seven-eleven.svg +96 -0
  276. package/logos/merchants/sfr.svg +48 -0
  277. package/logos/merchants/shein.svg +7 -0
  278. package/logos/merchants/shopify.svg +6 -0
  279. package/logos/merchants/slack.svg +6 -0
  280. package/logos/merchants/sncf.svg +6 -0
  281. package/logos/merchants/softbank.svg +55 -0
  282. package/logos/merchants/spotify.svg +6 -0
  283. package/logos/merchants/starbucks.svg +7 -0
  284. package/logos/merchants/steam.svg +6 -0
  285. package/logos/merchants/subway.svg +24 -0
  286. package/logos/merchants/sweetgreen.svg +14 -0
  287. package/logos/merchants/t-mobile.svg +8 -0
  288. package/logos/merchants/target.svg +7 -0
  289. package/logos/merchants/telekom.svg +6 -0
  290. package/logos/merchants/temu.svg +7 -0
  291. package/logos/merchants/tesco.svg +6 -0
  292. package/logos/merchants/tfl.svg +6 -0
  293. package/logos/merchants/ticketmaster.svg +6 -0
  294. package/logos/merchants/trader-joes.svg +21 -0
  295. package/logos/merchants/trainline.svg +7 -0
  296. package/logos/merchants/tripadvisor.svg +6 -0
  297. package/logos/merchants/twitch.svg +6 -0
  298. package/logos/merchants/uber-eats.svg +6 -0
  299. package/logos/merchants/uber.svg +6 -0
  300. package/logos/merchants/udemy.svg +6 -0
  301. package/logos/merchants/uniqlo.svg +71 -0
  302. package/logos/merchants/united.svg +6 -0
  303. package/logos/merchants/venmo.svg +6 -0
  304. package/logos/merchants/vercel.svg +6 -0
  305. package/logos/merchants/verizon.svg +6 -0
  306. package/logos/merchants/vodafone.svg +6 -0
  307. package/logos/merchants/waitrose.svg +22 -0
  308. package/logos/merchants/walgreens.svg +27 -0
  309. package/logos/merchants/walmart.svg +7 -0
  310. package/logos/merchants/western-union.svg +6 -0
  311. package/logos/merchants/whole-foods.svg +7 -0
  312. package/logos/merchants/xbox.svg +7 -0
  313. package/logos/merchants/yodobashi.svg +12 -0
  314. package/logos/merchants/yoshinoya.svg +3026 -0
  315. package/logos/merchants/youtube.svg +6 -0
  316. package/logos/merchants/zalando.svg +6 -0
  317. package/logos/merchants/zara.svg +6 -0
  318. package/logos/merchants/zelle.svg +6 -0
  319. package/logos/merchants/zillow.svg +6 -0
  320. package/logos/merchants/zoom.svg +6 -0
  321. package/logos/networks/amex.svg +115 -0
  322. package/logos/networks/apple-pay.svg +25 -0
  323. package/logos/networks/discover.svg +76 -0
  324. package/logos/networks/google-pay.svg +57 -0
  325. package/logos/networks/jcb.svg +141 -0
  326. package/logos/networks/mastercard.svg +34 -0
  327. package/logos/networks/paypal.svg +3 -0
  328. package/logos/networks/sepa.svg +264 -0
  329. package/logos/networks/stripe.svg +3 -0
  330. package/logos/networks/visa.svg +3 -0
  331. package/package.json +114 -4
  332. package/skills/atlaslogo/SKILL.md +57 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AtlasLogo Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,137 @@
1
- # Temporary Holding Version
1
+ <p align="center">
2
+ <img src="./logos/brand/atlaslogo-mark.svg" width="64" height="64" alt="AtlasLogo mark" />
3
+ </p>
2
4
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
5
+ <h1 align="center">AtlasLogo</h1>
6
+
7
+ <p align="center">
8
+ <strong>Open-source global bank, payment network &amp; merchant logos, offline card statement enrichment (<code>matchMerchant</code>), 16 MIT fintech category icons, and hand-drawn City Atlas seals — organized in Country Packs (<code>us</code>, <code>gb</code>, <code>fr</code>, <code>de</code>, <code>jp</code> + <code>global</code>).</strong>
9
+ </p>
10
+
11
+ <p align="center">
12
+ <a href="https://atlaslogo.com">atlaslogo.com</a> ·
13
+ <a href="https://atlaslogo.com/logos">Browse Logos</a> ·
14
+ <a href="https://atlaslogo.com/docs">Docs</a> ·
15
+ <a href="https://atlaslogo.com/sponsor">Sponsor</a>
16
+ </p>
17
+
18
+ <p align="center">
19
+ <a href="https://github.com/steveanh2203/atlaslogo/actions/workflows/ci.yml"><img src="https://github.com/steveanh2203/atlaslogo/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
20
+ <a href="https://github.com/steveanh2203/atlaslogo/actions/workflows/sandbox.yml"><img src="https://github.com/steveanh2203/atlaslogo/actions/workflows/sandbox.yml/badge.svg" alt="Docker Cloud Sandbox" /></a>
21
+ <a href="https://github.com/steveanh2203/atlaslogo/actions/workflows/codeql.yml"><img src="https://github.com/steveanh2203/atlaslogo/actions/workflows/codeql.yml/badge.svg" alt="CodeQL" /></a>
22
+ <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT license" /></a>
23
+ </p>
24
+
25
+ ---
26
+
27
+ Zero runtime dependencies. One source of truth compiled for **Node/TS (ESM & CJS)**, **React / Vue / Svelte**, **shadcn/ui registry**, **Python**, **AI Coding Agents (`SKILL.md`)**, **Cloudflare Workers**, and **Docker**.
28
+
29
+ ## Highlights
30
+
31
+ - **Free MIT Core, Forever (Open Core)**: Logos, statement matching, SDKs, the CLI, category icons, and hand-drawn City Atlas artwork are never paywalled. Funded today by community and fintech sponsors ([Polar.sh](https://polar.sh/atlaslogo)); a hosted Match API and Pro packs of original icons are planned on top of the free core. See [How AtlasLogo is funded](#how-atlaslogo-is-funded).
32
+ - **Offline Card Statement Enrichment**: Turns raw bank descriptors like `SQ *BLUE BOTTLE COFFEE SAN FRANCISCO CA`, `PAYPAL *SPOTIFY 4029357733`, or `CRV*PRET A MANGER` into clean merchant identities, payment aggregators (`square`, `toast`, `paypal`, `curve`, `doordash`, ...), ISO 18245 MCC codes, spend categories, and brand hex colors — **0ms latency, 0 API keys**.
33
+ - **Modular Country Packs**: Ship only what you need (`us`, `gb`, `fr`, `de`, `jp`, plus `global` networks/merchants/icons).
34
+ - **Hand-Drawn Original MIT City Atlas**: 5 flagship cities (`new-york`, `london`, `paris`, `berlin`, `tokyo`) in 3 styles (`line`, `duotone`, and `200×200` `seal`) — MIT licensed for commercial projects.
35
+ - **Zero-Install Copy-Paste CLI & shadcn Registry**: `npx atlaslogo add chase amazon visa groceries` or `npx shadcn@latest add https://atlaslogo.com/r/chase.json`.
36
+ - **AI Agent-Native**: Ships with `AGENTS.md`, `CLAUDE.md`, `skills/atlaslogo/SKILL.md`, `.claude-plugin/`, and deterministic `--json` CLI output so coding agents never hallucinate IDs or SVGs.
37
+ - **Docker Cloud Sandbox + Full CI/CD**: Multi-stage `Dockerfile`, `.devcontainer/`, `docker-compose.yml`, and GitHub Actions workflows for automated verification, Cloudflare Workers deployment, and npm/PyPI releases.
38
+
39
+ ---
40
+
41
+ ## Quick Start
42
+
43
+ ### 1. Copy-paste standalone components (React / Vue / Svelte)
44
+ ```bash
45
+ npx atlaslogo add chase amazon visa groceries
46
+ ```
47
+
48
+ ### 2. Install the zero-dependency package (JS / TS)
49
+ ```bash
50
+ npm install atlaslogo
51
+ ```
52
+ ```ts
53
+ import { matchMerchant, getBank, getCountryPack } from "atlaslogo";
54
+ import { BankLogo, MerchantTile, CategoryIcon } from "atlaslogo/react";
55
+
56
+ const hit = matchMerchant("SQ *BLUE BOTTLE COFFEE SAN FRANCISCO CA", { country: "us" });
57
+ // => { merchant: { id: "blue-bottle", ... }, aggregator: "square", category: { id: "coffee", ... }, confidence: 0.99 }
58
+ ```
59
+
60
+ ### 3. Install Python SDK (100% offline parity)
61
+ ```bash
62
+ pip install atlaslogo
63
+ ```
64
+ ```python
65
+ from atlaslogo import match_merchant, get_bank
66
+
67
+ hit = match_merchant("PAYPAL *SPOTIFY 4029357733", country="us")
68
+ print(hit["merchant"]["id"], hit["aggregator"]) # spotify paypal
69
+ ```
70
+
71
+ ### 4. Install AI Agent Skill
72
+ ```bash
73
+ npx atlaslogo skill
74
+ ```
75
+
76
+ ---
77
+
78
+ ## Repository Structure
79
+
80
+ ```text
81
+ data/
82
+ global/ aggregators.json, networks.json, categories.json, merchants.json, atlas.json
83
+ countries/ us/, gb/, fr/, de/, jp/ (each with country.json, banks.json, merchants.json)
84
+ fixtures/ statements.json (30 shared JS + Python accuracy fixtures)
85
+ removed.json trademark takedown blocklist enforced by CI
86
+ logos/ brand/, categories/ (MIT), atlas/ (MIT), banks/, merchants/, networks/
87
+ extra/ sources.json (provenance ledger) & sponsor/tiers.json (sponsor options) & pricing.json (Pro packs, hosted Match API)
88
+ src/ core.js (zero-dep matcher/lookups) + react.js, vue.js, svelte/
89
+ bin/ atlaslogo CLI & standalone component generator
90
+ python/ zero-dependency Python SDK & unittest parity suite
91
+ registry/ auto-generated shadcn/ui registry items + registry.json
92
+ web/ Vite + React 19 + Tailwind v4 storefront (atlaslogo.com)
93
+ worker/ Cloudflare Worker (static storefront + /api/health + /api/match + /api/webhooks/polar)
94
+ scripts/ build, test, registry, web-assets, py-bundle, sync-logos, seed-assets, server
95
+ .devcontainer/ Docker Cloud Sandbox / GitHub Codespaces definition
96
+ .github/ CI/CD workflows (ci.yml, deploy.yml, release.yml) & issue templates
97
+ handoff.md Engineering, deployment & launch handoff guide
98
+ kaban.md Project Kanban board (Done, Ready to Launch, Backlog, Roadmap)
99
+ ```
100
+
101
+ ---
102
+
103
+ ## Local & Docker Workflow
104
+
105
+ ```bash
106
+ # Run full verification (JS core, CLI, shadcn registry, Python parity, Web build)
107
+ npm run verify
108
+
109
+ # Start local storefront dev server
110
+ npm run web:dev
111
+
112
+ # Run inside Docker Cloud Sandbox
113
+ docker compose run --rm sandbox
114
+
115
+ # Run production storefront + /api/match container locally on :8080
116
+ docker compose up --build app
117
+ ```
118
+
119
+ ---
120
+
121
+ ## How AtlasLogo is funded
122
+
123
+ AtlasLogo is **open core**: the core is MIT and stays free forever. Paid products only add hosting or new original artwork on top of it.
124
+
125
+ | | Free forever (MIT) | Paid (planned) |
126
+ | --- | --- | --- |
127
+ | Brand logos | Every bank, network, and merchant mark in this repo | Never sold: third-party marks are not ours to sell |
128
+ | Statement matcher | npm, Python, CLI, and self-hosted `/api/match` (Cloudflare Worker or Docker) | Hosted Match API with API keys, usage quotas, and an uptime commitment |
129
+ | Icons & artwork | 16 category icons and 15 City Atlas artworks | Pro icon packs drawn in AtlasLogo's own style, under a commercial license |
130
+ | Support | Issues, pull requests, and sponsor tiers on Polar.sh / GitHub Sponsors | — |
131
+
132
+ Two rules hold this together: anything released under MIT stays MIT, and Pro packs contain only original artwork made for AtlasLogo, never third-party marks or redrawn versions of them.
133
+
134
+ ## License & Trademarks
135
+
136
+ - Code, data, statement matcher, 16 category icons (`logos/categories/`), and 15 City Atlas artworks (`logos/atlas/`): **MIT License** ([LICENSE](LICENSE)).
137
+ - Bank, payment network, and merchant marks belong to their respective owners and are included purely for identification ([TRADEMARKS.md](TRADEMARKS.md)). Brand owners can request edits or removal anytime via GitHub Issues.
package/TRADEMARKS.md ADDED
@@ -0,0 +1,41 @@
1
+ # Trademarks & Asset Licensing
2
+
3
+ AtlasLogo strictly separates **open-source code & original icons** from **third-party brand marks**.
4
+
5
+ ## What is covered by what
6
+
7
+ | Path / Asset | Rights & License |
8
+ | --- | --- |
9
+ | `src/`, `bin/`, `scripts/`, `python/`, `data/` | **MIT License** |
10
+ | `logos/categories/` (24px Fintech Category Line Icons) | **MIT License** — drawn originally for AtlasLogo |
11
+ | `logos/banks/`, `logos/merchants/`, `logos/networks/` | **Trademark of each respective owner** (nominative fair use only; placeholder monograms are MIT until replaced with a sourced official file) |
12
+ | `logos/atlas/` (City Atlas artwork) | **MIT License** — drawn originally for AtlasLogo |
13
+ | **AtlasLogo Pro Packs** (planned, sold separately via Polar.sh) | **Commercial License** — original icons & UI kits drawn for AtlasLogo in its own style. **Never contain third-party marks, or redrawn/restyled versions of them.** Nothing already released under MIT moves into a Pro Pack. |
14
+
15
+ ## Permitted use of third-party brand marks
16
+
17
+ Third-party bank, payment network, and merchant logos are included solely for **nominative identification** inside financial applications (for example: next to a card transaction, connected bank account, or payment selector).
18
+
19
+ You must **not**:
20
+ 1. Imply partnership, endorsement, or sponsorship by any bank or brand.
21
+ 2. Modify, distort, or rebrand a third-party mark (except applying a single UI tint to official `*-mono.svg` masks).
22
+ 3. Use any third-party mark in phishing, deceptive login screens, or impersonation flows.
23
+ 4. Resell third-party brand marks as part of a paid icon pack, theme, or stock bundle. Redrawing a mark in another style does not change this: the result is still the owner's trademark.
24
+
25
+ ## Sourcing & provenance
26
+
27
+ Every third-party mark must come from one of these sources, in order of preference, with its provider and source URL recorded in `extra/sources.json`:
28
+
29
+ 1. The owner's own press kit, brand guidelines, official app store icon, or the logo file served on the brand's own website.
30
+ 2. Wikimedia Commons.
31
+ 3. Public vector libraries that track official marks: Simple Icons, svgl, and vectorlogo.zone.
32
+
33
+ When an owner's own file becomes available, it replaces a file from a lower source. A source file's own license (for example CC-BY-SA on some Commons files) still applies alongside the owner's trademark. If no source can be verified, the brand keeps a placeholder monogram tile.
34
+
35
+ ## Removal requests (Fast-track takedown)
36
+
37
+ If you represent a trademark owner and want a mark updated or removed, open a [Trademark Removal Request](.github/ISSUE_TEMPLATE/removal.yml).
38
+ Within **7 days**:
39
+ 1. The asset is deleted from `main` and the website.
40
+ 2. Its `id` is permanently added to `data/removed.json` (enforced by CI so it cannot be re-added).
41
+ 3. A new npm and PyPI release is published without the asset, and older versions are deprecated where applicable.
@@ -0,0 +1,302 @@
1
+ #!/usr/bin/env node
2
+ // AtlasLogo CLI — zero dependencies, agent-ready (--json on all query commands).
3
+ import { copyFileSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
4
+ import { homedir } from "node:os";
5
+ import { dirname, join, resolve } from "node:path";
6
+ import { fileURLToPath } from "node:url";
7
+ import { renderComponent } from "./component.js";
8
+
9
+ const rootDir = resolve(dirname(fileURLToPath(import.meta.url)), "..");
10
+ const distPath = join(rootDir, "dist/index.js");
11
+ if (!existsSync(distPath)) {
12
+ console.error("AtlasLogo is not built yet. Run `npm run build` first.");
13
+ process.exit(1);
14
+ }
15
+
16
+ const pkg = JSON.parse(readFileSync(join(rootDir, "package.json"), "utf8"));
17
+ const api = await import(distPath);
18
+
19
+ const args = process.argv.slice(2);
20
+ const cmd = args[0];
21
+
22
+ function parseFlags(argv) {
23
+ const flags = {};
24
+ const positional = [];
25
+ for (let i = 0; i < argv.length; i++) {
26
+ const a = argv[i];
27
+ if (a.startsWith("--")) {
28
+ const key = a.slice(2);
29
+ if (["country", "region", "dir", "mcc"].includes(key) && argv[i + 1] && !argv[i + 1].startsWith("--")) {
30
+ flags[key] = argv[++i];
31
+ } else {
32
+ flags[key] = true;
33
+ }
34
+ } else {
35
+ positional.push(a);
36
+ }
37
+ }
38
+ return { flags, positional };
39
+ }
40
+
41
+ function allEntries() {
42
+ return [
43
+ ...api.banks.map((b) => ({ kind: "bank", ...b })),
44
+ ...api.merchants.map((m) => ({ kind: "merchant", ...m })),
45
+ ...api.networks.map((n) => ({ kind: "network", ...n })),
46
+ ...api.categories.map((c) => ({ kind: "category", ...c })),
47
+ ...api.atlas.map((a) => ({ kind: "atlas", ...a })),
48
+ ];
49
+ }
50
+
51
+ function findEntry(id, preferredKind) {
52
+ const all = allEntries();
53
+ if (preferredKind) {
54
+ const exact = all.find((e) => e.id === id && e.kind === preferredKind);
55
+ if (exact) return exact;
56
+ }
57
+ return all.find((e) => e.id === id);
58
+ }
59
+
60
+ function detectProject(cwd) {
61
+ let framework = "react";
62
+ let typescript = existsSync(join(cwd, "tsconfig.json"));
63
+ let defaultDir = "src/components/logos";
64
+ const pkgFile = join(cwd, "package.json");
65
+ if (existsSync(pkgFile)) {
66
+ try {
67
+ const p = JSON.parse(readFileSync(pkgFile, "utf8"));
68
+ const deps = { ...p.dependencies, ...p.devDependencies };
69
+ if (deps.svelte) {
70
+ framework = "svelte";
71
+ defaultDir = deps["@sveltejs/kit"] ? "src/lib/components/logos" : "src/components/logos";
72
+ } else if (deps.vue) {
73
+ framework = "vue";
74
+ }
75
+ if (deps.typescript) typescript = true;
76
+ } catch {}
77
+ }
78
+ return { framework, typescript, defaultDir };
79
+ }
80
+
81
+ function help() {
82
+ console.log(`atlaslogo v${pkg.version} — Global bank, merchant & payment marks + offline statement matcher
83
+
84
+ Commands:
85
+ atlaslogo list [query] [--region <us|uk|eu|global>] [--banks|--merchants|--networks|--categories] [--json]
86
+ atlaslogo info <id...> [--json]
87
+ atlaslogo match "<statement>" [--region <r>] [--mcc <code>] [--json]
88
+ atlaslogo add <id...> [--react|--vue|--svelte] [--ts|--js] [--dir <path>] [--overwrite]
89
+ atlaslogo copy <dir> [--banks|--merchants|--networks|--categories] [--overwrite]
90
+ atlaslogo skill [--dir <path>] [--global] [--overwrite]
91
+ `);
92
+ }
93
+
94
+ if (!cmd || cmd === "-h" || cmd === "--help") {
95
+ help();
96
+ process.exit(0);
97
+ }
98
+
99
+ const { flags, positional } = parseFlags(args.slice(1));
100
+
101
+ if (cmd === "list") {
102
+ const query = positional.join(" ").trim().toLowerCase();
103
+ const kindFilter = flags.banks
104
+ ? "bank"
105
+ : flags.merchants
106
+ ? "merchant"
107
+ : flags.networks
108
+ ? "network"
109
+ : flags.categories
110
+ ? "category"
111
+ : flags.atlas
112
+ ? "atlas"
113
+ : null;
114
+ const rawCountry = flags.country || flags.region;
115
+ const countryFilter = rawCountry ? (String(rawCountry).toLowerCase() === "uk" ? "gb" : String(rawCountry).toLowerCase()) : null;
116
+
117
+ let items = allEntries();
118
+ if (kindFilter) items = items.filter((e) => e.kind === kindFilter);
119
+ if (countryFilter) items = items.filter((e) => !e.country || e.country === countryFilter || e.country === "global");
120
+ if (query) {
121
+ items = items.filter((e) => {
122
+ const hay = [
123
+ e.id,
124
+ e.name,
125
+ e.region || "",
126
+ e.category || "",
127
+ e.domain || "",
128
+ ...(e.aliases || []),
129
+ ...(e.mccs || []),
130
+ ]
131
+ .join(" ")
132
+ .toLowerCase();
133
+ return hay.includes(query);
134
+ });
135
+ }
136
+
137
+ if (flags.json) {
138
+ console.log(
139
+ JSON.stringify(
140
+ items.map((e) => ({
141
+ kind: e.kind,
142
+ id: e.id,
143
+ name: e.name,
144
+ region: e.region || "global",
145
+ category: e.category || null,
146
+ mccs: e.mccs || [],
147
+ add: `npx atlaslogo add ${e.id}`,
148
+ })),
149
+ null,
150
+ 2
151
+ )
152
+ );
153
+ } else {
154
+ for (const e of items) {
155
+ console.log(`${e.kind.padEnd(10)} ${(e.region || "global").padEnd(7)} ${e.id.padEnd(18)} ${e.name}`);
156
+ }
157
+ console.log(`\nTotal: ${items.length} entries`);
158
+ }
159
+ process.exit(0);
160
+ }
161
+
162
+ if (cmd === "info") {
163
+ if (positional.length === 0) {
164
+ console.error("Usage: atlaslogo info <id...> [--json]");
165
+ process.exit(1);
166
+ }
167
+ const results = [];
168
+ for (const id of positional) {
169
+ const entry = findEntry(id);
170
+ if (!entry) {
171
+ console.error(`Unknown id: "${id}". Run "atlaslogo list ${id}" to search.`);
172
+ process.exit(1);
173
+ }
174
+ const cdnBase = `https://cdn.jsdelivr.net/npm/atlaslogo@${pkg.version}/logos`;
175
+ const files = {};
176
+ if (entry.logos) {
177
+ for (const [k, v] of Object.entries(entry.logos)) {
178
+ files[k] = { file: v.file, cdnUrl: `${cdnBase}/${v.file}` };
179
+ }
180
+ } else if (entry.logo) {
181
+ files.default = { file: entry.logo.file, cdnUrl: `${cdnBase}/${entry.logo.file}` };
182
+ }
183
+ results.push({ ...entry, files });
184
+ }
185
+ console.log(JSON.stringify(results.length === 1 ? results[0] : results, null, 2));
186
+ process.exit(0);
187
+ }
188
+
189
+ if (cmd === "match") {
190
+ const statement = positional.join(" ").trim();
191
+ if (!statement) {
192
+ console.error('Usage: atlaslogo match "SQ *BLUE BOTTLE COFFEE SF" [--region us] [--mcc 5814] [--json]');
193
+ process.exit(1);
194
+ }
195
+ const hit = api.matchMerchant(statement, { country: flags.country || flags.region, mcc: flags.mcc });
196
+ if (flags.json) {
197
+ console.log(JSON.stringify({ statement, match: hit }, null, 2));
198
+ } else if (!hit) {
199
+ console.log(`No merchant match found for: ${statement}`);
200
+ } else {
201
+ console.log(`Merchant: ${hit.merchant.name} (${hit.merchant.id})`);
202
+ console.log(`Region: ${hit.region}`);
203
+ console.log(`Category: ${hit.category ? hit.category.name : "n/a"}`);
204
+ console.log(`Aggregator: ${hit.aggregatorName || "direct"}`);
205
+ console.log(`MCCs: ${hit.merchant.mccs.join(", ")}`);
206
+ console.log(`Confidence: ${Math.round(hit.confidence * 100)}%`);
207
+ }
208
+ process.exit(0);
209
+ }
210
+
211
+ if (cmd === "add") {
212
+ if (positional.length === 0) {
213
+ console.error("Usage: atlaslogo add <id...> [--react|--vue|--svelte] [--ts|--js] [--dir <path>]");
214
+ process.exit(1);
215
+ }
216
+ const cwd = process.cwd();
217
+ const detected = detectProject(cwd);
218
+ const framework = flags.vue ? "vue" : flags.svelte ? "svelte" : flags.react ? "react" : detected.framework;
219
+ const typescript = flags.js ? false : flags.ts ? true : detected.typescript;
220
+ const outDir = resolve(cwd, flags.dir || detected.defaultDir);
221
+ mkdirSync(outDir, { recursive: true });
222
+
223
+ const written = [];
224
+ for (const id of positional) {
225
+ const entry = findEntry(id);
226
+ if (!entry) {
227
+ console.error(`Unknown id: "${id}"`);
228
+ process.exit(1);
229
+ }
230
+ const { filename, exportName, code } = renderComponent({
231
+ item: entry,
232
+ kind: entry.kind,
233
+ rootDir,
234
+ framework,
235
+ typescript,
236
+ });
237
+ const dest = join(outDir, filename);
238
+ if (existsSync(dest) && !flags.overwrite) {
239
+ console.log(`Skipped (exists): ${dest} (pass --overwrite to replace)`);
240
+ continue;
241
+ }
242
+ writeFileSync(dest, code);
243
+ written.push({ id: entry.id, kind: entry.kind, exportName, file: dest });
244
+ console.log(`Wrote ${dest} -> import { ${exportName} } from "./${filename.replace(/\.(tsx|jsx)$/, "")}"`);
245
+ }
246
+ if (flags.json) console.log(JSON.stringify(written, null, 2));
247
+ process.exit(0);
248
+ }
249
+
250
+ if (cmd === "copy") {
251
+ const destRoot = positional[0];
252
+ if (!destRoot) {
253
+ console.error("Usage: atlaslogo copy <dir> [--banks|--merchants|--networks|--categories]");
254
+ process.exit(1);
255
+ }
256
+ const kinds = flags.banks
257
+ ? ["bank"]
258
+ : flags.merchants
259
+ ? ["merchant"]
260
+ : flags.networks
261
+ ? ["network"]
262
+ : flags.categories
263
+ ? ["category"]
264
+ : ["bank", "merchant", "network", "category"];
265
+ const entries = allEntries().filter((e) => kinds.includes(e.kind));
266
+ let copied = 0;
267
+ for (const e of entries) {
268
+ const files = e.logos ? Object.values(e.logos).map((l) => l.file) : e.logo ? [e.logo.file] : [];
269
+ for (const rel of files) {
270
+ const src = join(rootDir, "logos", rel);
271
+ const dst = join(resolve(process.cwd(), destRoot), rel);
272
+ mkdirSync(dirname(dst), { recursive: true });
273
+ if (!existsSync(dst) || flags.overwrite) {
274
+ copyFileSync(src, dst);
275
+ copied++;
276
+ }
277
+ }
278
+ }
279
+ console.log(`Copied ${copied} files to ${destRoot}`);
280
+ process.exit(0);
281
+ }
282
+
283
+ if (cmd === "skill") {
284
+ const targetDir = flags.dir
285
+ ? resolve(process.cwd(), flags.dir)
286
+ : flags.global
287
+ ? join(homedir(), ".claude/skills/atlaslogo")
288
+ : resolve(process.cwd(), ".claude/skills/atlaslogo");
289
+ mkdirSync(targetDir, { recursive: true });
290
+ const dst = join(targetDir, "SKILL.md");
291
+ if (existsSync(dst) && !flags.overwrite) {
292
+ console.log(`Skill already exists at ${dst} (pass --overwrite to update).`);
293
+ } else {
294
+ copyFileSync(join(rootDir, "skills/atlaslogo/SKILL.md"), dst);
295
+ console.log(`Installed AtlasLogo Agent Skill to ${dst}`);
296
+ }
297
+ process.exit(0);
298
+ }
299
+
300
+ console.error(`Unknown command: ${cmd}`);
301
+ help();
302
+ process.exit(1);