Tag2AJIO is a mobile-first React PWA and Capacitor Android wrapper for scanning Reliance Trends clothing tags and opening the matching AJIO search page.
It detects the preferred ART number from tag text, falls back to the barcode, and never stores scanned data.
| Flow | Result |
|---|---|
| Scan barcode | Opens AJIO search for the detected barcode |
| Capture ART with OCR | Extracts ART: 443017579005 style numbers |
| Detect color from tag text | Suggests AJIO direct product URL format |
| Manual entry | Lets the user type ART or barcode when scanning is unclear |
Safe fallback search:
https://www.ajio.com/search/?text=<detected_value>
Smart direct product suggestion when both ART and color are detected:
https://www.ajio.com/p/<first_9_digits_of_ART>_<color_lowercase>?query=:relevance&classifier=intent
Example:
ART: 443017579005
Color: OLIVE
Direct URL: https://www.ajio.com/p/443017579_olive?query=:relevance&classifier=intent
The direct product page is only a suggestion. AJIO search remains the reliable fallback.
Tag2AJIO is intentionally local-first:
- No backend database
- No login
- No saved scan history
- No analytics
- No server-side storage
- No AJIO scraping
Barcode scanning and OCR run in the browser or Android WebView on the user's device.
- React
- Vite
@zxing/browserfor barcode scanningtesseract.jsfor on-device OCR- PWA manifest and service worker
- Capacitor Android wrapper
npm install
npm run devOpen:
http://127.0.0.1:5173/
Camera access works on localhost/127.0.0.1 during development. For a remote web deployment, HTTPS is required.
npm run buildThe production web build is generated in dist/.
Create or refresh the Capacitor Android project:
npm install
npm run build
npx cap add android
npx cap sync android
npx cap open androidIf the android/ project already exists:
npm run build
npx cap sync android
npx cap open androidIn Android Studio, build the APK from:
Build > Build Bundle(s) / APK(s) > Build APK(s)
The Android build requires Java 11 or newer.
.
├── android/ Capacitor Android wrapper
├── public/ PWA manifest, service worker, icon
├── src/ React app
├── capacitor.config.json Capacitor app configuration
├── package.json Scripts and dependencies
└── vite.config.js Vite configuration
Tag2AJIO is an independent utility. It is not affiliated with, endorsed by, or sponsored by AJIO, Reliance Trends, or Reliance Retail.
MIT