A sleek, single-file web app that lets you scan, store, and manage your Morrisons supermarket coupons — powered by OpenAI Vision AI.
Upload a photo of any coupon and let AI extract the details automatically. No backend, no database — everything runs in your browser.
| Feature | Description |
|---|---|
| 📸 AI Coupon Scanner | Upload a coupon photo and OpenAI Vision reads the store name, discount, product, and expiry date |
| 🔍 AI-Powered Search | Instant local filtering as you type, plus an AI search button for natural language queries like “fuel discounts” or “expiring this week” |
| 📅 Expiry Calendar | Interactive month-view calendar highlighting days with expiring coupons — navigate months with one click |
| 🏷️ Smart Auto-Grouping | Coupons are automatically sorted into tabs: All, Expiring Soon, This Week, This Month, Expired, and by store name |
| 📊 Stats Dashboard | At-a-glance summary cards showing total coupons, expiring soon count, number of stores, and potential savings |
| ⏳ Expiry Status | Each coupon shows a human-readable countdown: Today, Tomorrow, 3 days, or Expired |
| 💾 Local Storage | All data is saved in your browser’s localStorage — no account needed, works offline after first load |
| 🎨 Modern UI | Glassmorphism design, smooth animations, Inter font, gradient accents, and fully responsive layout |
morrisons-coupons.html locally in any modern browserThe app features a clean, modern interface with:
This app requires an OpenAI API key to scan coupon photos. You can get one from platform.openai.com.
⚠️ Security note: Since this is a client-side app, your API key is visible to anyone with access to your browser’s developer tools. For production use, a backend proxy is recommended.
Morison-s-coupon-code-vault/
├── morrisons-coupons.html # The entire app — HTML, CSS, and JS in one file
└── README.md # This file
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is open source. Feel free to use and modify it for your own needs.