Client·
SEO Image Optimizer
Shopify app that compresses images, generates AI alt text, and auto-optimizes stores. Live on 50+ stores, generating thousands in client revenue.
Node.jsReactSharpBullMQRedisMongoDBGoogle GeminiShopify APIPrisma
SEO Image Optimizer
A production Shopify app that compresses images, converts formats, generates AI-powered alt text and meta descriptions, and auto-optimizes new uploads on a schedule. Published on the Shopify App Store.
Results
- Live on 50+ Shopify stores within the first month
- Generating thousands of dollars in recurring revenue for the client
- Client review: "Working with Gagan has been an amazing experience. He completely changed my perception of working with developers. Enthusiastic, open to feedback, and highly professional. First project completed successfully, and many more to come."
Features
| Feature | Details |
|---|---|
| Image Compression | JPEG, PNG, WebP, GIF, TIFF, AVIF via Sharp |
| WebP Conversion | Configurable per-shop |
| Original Backup & Restore | 90-day retention, 500MB/shop cap |
| AI Alt Text | Google Gemini 2.5 Flash |
| AI Meta Descriptions | Same model, concurrency-limited (3 workers) |
| Auto-Optimizer | Configurable: 2h, 4h, 8h, 12h, 24h intervals |
| Billing | Starter ($21), Pro ($49), Enterprise ($79), Business ($99) |
| Credit Enforcement | Per-shop credit tracking with plan-based limits |
| Stuck Job Cleanup | 15-min threshold, runs every 10 minutes |
Architecture
┌──────────────────────────────────────────────────────┐
│ VPS (Debian 12) │
│ ┌──────────────┐ ┌──────────────┐ ┌────────────┐ │
│ │ Web Server │ │ Worker │ │ Redis │ │
│ │ (React │ │ (BullMQ │ │ (localhost │ │
│ │ Router │ │ + Sharp │ │ :6379) │ │
│ │ :3001) │ │ + GenAI) │ │ │ │
│ └──────┬───────┘ └──────┬───────┘ └─────┬──────┘ │
│ └────────────┬────┘─────────────────┘ │
│ │ │
└──────────────────────┼───────────────────────────────┘
│
┌──────────▼──────────┐
│ MongoDB Atlas │
└─────────────────────┘
Web server handles Shopify OAuth, session management, and the React dashboard. Worker process runs BullMQ jobs for compression, AI generation, and scheduled auto-optimization. Redis queues everything. MongoDB stores sessions, shop configs, and credit/billing state.