AI-powered inventory intelligence for small to mid-sized retailers — rebuilt as a modern Next.js app with a cyberpunk aesthetic.
- Upload inventory + sales CSVs via drag-and-drop
- Analyse stock levels using moving-average demand forecasting
- Identify dead stock (>90 DSI), urgent reorders (<14 DSI), and healthy SKUs
- Forecast 30-day demand per SKU using Claude AI (falls back to moving average when no API key is set)
- View all insights in a cyberpunk-styled executive dashboard
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| Language | TypeScript (strict) |
| Styling | Tailwind CSS 4 |
| AI | Anthropic Claude (claude-sonnet-4-5) |
| Charts | Recharts |
| CSV Parsing | PapaParse |
| State | Zustand + localStorage |
| DB (optional) | Supabase |
npm installcp .env.example .env.local
# Fill in your ANTHROPIC_API_KEY (required for AI forecasting)
# Supabase keys are optional for the core appnpm run devOpen http://localhost:3000.
- Go to Upload Data — drag your CSVs onto the drop zones (or use the templates)
- Click Run AI Analysis — metrics are computed instantly
- Navigate to Dashboard for KPIs and action items
- Open Inventory Grid to filter and search all SKUs
- Visit AI Forecast to run a Claude-powered 30-day demand forecast per SKU
inventory.csv
SKU,Cost,Price,Current_Stock
SKU-001,50.00,99.99,150
sales_history.csv
Date,SKU,Sales
2024-01-01,SKU-001,12
Column names are normalised automatically (e.g. qty_sold → Sales).
Bhargav Hari · GitHub