- Go to GitHub and create a new repository
- Name it
virtual-wardrobe(or any name you like) - Make it Public
- Don't initialize with README (we'll upload files directly)
No file editing needed. Open the app, click ⚙️ Settings in the header, and paste your API key from https://console.anthropic.com/. It's saved to your browser's localStorage and sent directly to Anthropic when analyzing an image.
- The key never gets committed to the repo or embedded in the page source
- It stays in your browser only — each visitor must enter their own key
- For production/shared use, you'd want a backend proxy to hide the key
- Click "uploading an existing file" or "Add file" → "Upload files"
- Drag and drop the
index.htmlfile - Commit the file
- Go to repository Settings
- Click Pages in the left sidebar
- Under "Source", select main branch
- Click Save
- Wait 1-2 minutes for deployment
Your app will be available at:
https://YOUR_USERNAME.github.io/virtual-wardrobe/
✅ Upload single or multiple outfit images
✅ AI-powered item detection (clothes, shoes, accessories)
✅ Automatic color extraction
✅ Filter outfits by items
✅ Edit item names, types, and colors
✅ Mark items as owned/wishlist
✅ Export/Import wardrobe data
✅ All data stored locally in browser
✅ Drag & drop support
✅ Bulk upload support
- Storage: Uses browser's
localStorage- data persists across sessions - AI Analysis: Calls Anthropic's Claude API (Messages API, vision) directly from the browser to analyze outfit images
- Images: Stored as base64 in localStorage (note: storage limits apply)
- Storage Limits: Browser localStorage typically has 5-10MB limit
- Image Size: Compress images before upload for better performance
- Backup: Use Export feature regularly to backup your wardrobe
- API Costs: Each image analysis uses the Anthropic API (check pricing)
- All data stays in your browser
- Images are not sent anywhere except to Anthropic API for analysis
- No server-side storage
- No tracking
To run locally:
- Download
index.html - Add your API key
- Open in browser (or use a local server like
python -m http.server)
Images not loading?
- Check browser console for errors
- Verify API key is correct
- Check Anthropic API quota/limits
Storage full?
- Export and clear some outfits
- Compress images before upload
Slow AI analysis?
- Large images take longer
- Resize images to 1024px max width
Free to use for personal projects!