Transform handcrafted products into compelling stories with AI-powered tools
A comprehensive platform designed for Indian artisans to showcase, market, and sell their handcrafted products globally using cutting-edge AI technology.
|
|
- Personalized Recommendations - Get AI suggestions for product positioning
- Market Trends Analysis - Understand current market demand
- Price Suggestions - Optimal pricing recommendations
- Design Improvement Tips - Enhance product aesthetics
- Social Media Captions - Engaging posts for Instagram, Facebook
- Ad Campaign Content - Complete marketing campaigns
- Speech-to-Text - Convert voice descriptions to text
- Real-time QR code tracking
- AI usage statistics
- Product performance metrics
- Engagement analytics
- Growth percentages
- Recent activity feed
Node.js: 18.x or higher
npm: 9.x or higher
Vercel CLI: Latest
Google Cloud Account
Vercel Account1️⃣ Clone the repository
git clone https://github.com/Afuu-coder/AITRYSTT.git
cd AITRYSTT2️⃣ Install dependencies
npm install3️⃣ Set up environment variables
Create .env.local file:
GOOGLE_API_KEY=your_google_api_key
GOOGLE_CLOUD_PROJECT_ID=your_project_id
GOOGLE_CLOUD_CREDENTIALS={"type":"service_account",...}
BLOB_READ_WRITE_TOKEN=your_vercel_blob_token4️⃣ Run development server
npm run dev5️⃣ Open in browser
http://localhost:3000
For complete setup instructions, see:
Or deploy via CLI:
# Install Vercel CLI
npm install -g vercel
# Login to Vercel
vercel login
# Deploy to production
vercel --prodAdd these in Vercel Dashboard → Settings → Environment Variables:
| Variable | Description | Required |
|---|---|---|
GOOGLE_API_KEY |
Google Gemini AI API key | ✅ Yes |
GOOGLE_CLOUD_PROJECT_ID |
Google Cloud project ID | ✅ Yes |
GOOGLE_CLOUD_CREDENTIALS |
Service account JSON | ✅ Yes |
BLOB_READ_WRITE_TOKEN |
Vercel Blob token | ✅ Yes |
-
Create Vercel Blob Storage
- Go to Vercel Dashboard → Storage
- Click "Create Database" → Select "Blob"
- Token is automatically added
-
Redeploy
vercel --prod
-
Test all features
- QR Microsite generation
- AI content generation
- Image enhancement
📚 Full deployment guide: DEPLOY_TO_VERCEL.md
Step-by-Step Workflow:
- 📸 Upload Product Image → Use Image Enhancer for professional photos
- 🎤 Record Description → Voice-to-text for easy product descriptions
- ✍️ Generate Content → AI creates compelling marketing copy
- 💰 Calculate Pricing → Get smart pricing recommendations
- 📱 Create QR Microsite → Generate shareable product page with QR code
- 🎉 Festival Campaigns → Create seasonal marketing content
- 📊 Track Performance → Monitor analytics in dashboard
- 📱 Scan QR Code → Access product information instantly
- 👀 View Details → See enhanced images and descriptions
- 💬 Contact Artisan → WhatsApp integration for direct orders
- 🔗 Share Products → Share with friends and family
| Endpoint | Method | Description |
|---|---|---|
/api/create-product-vercel |
POST | Create QR microsite with Vercel Blob |
/api/generate-content |
POST | Generate AI marketing content |
/api/analyze-image |
POST | Analyze product images with Vision AI |
/api/enhance-image |
POST | Enhance product photos |
/api/calculate-pricing |
POST | Calculate smart pricing |
/api/generate-festival-campaign |
POST | Generate festival campaigns |
/api/transcribe |
POST | Transcribe voice recordings |
/api/get-product |
GET | Retrieve product information |
| Endpoint | Description |
|---|---|
/api/ai-assistance/personalized-recommendations |
Get personalized recommendations |
/api/ai-assistance/market-trends |
Analyze market trends |
/api/ai-assistance/design-improvements |
Get design tips |
/api/ai-assistance/social-media-captions |
Generate social media captions |
/api/ai-assistance/ad-campaigns |
Create ad campaign content |
/api/ai-assistance/speech-to-text |
Convert speech to text |
📚 Full API documentation: END_TO_END_PROJECT_GUIDE.md
|
Next.js 14 |
TypeScript |
React 18 |
TailwindCSS |
|
Google Cloud |
Vercel |
Node.js |
npm |
Frontend:
- Next.js 14 (App Router)
- React 18
- TypeScript 5
- TailwindCSS 3.4
- shadcn/ui components
- Lucide React icons
Backend:
- Next.js API Routes
- Node.js 18+
- Google Gemini AI
- Google Cloud Vision
- Vercel Blob Storage
Deployment:
- Vercel (Hosting)
- Vercel Edge Network (CDN)
- Vercel Blob (File Storage)
aitrystt/
├── app/ # Next.js App Router
│ ├── api/ # API Routes (22 endpoints)
│ │ ├── ai-assistance/ # AI assistance features
│ │ ├── analyze-image/ # Image analysis
│ │ ├── calculate-pricing/ # Pricing calculations
│ │ ├── create-product-vercel/ # QR microsite generation
│ │ ├── enhance-image/ # Image enhancement
│ │ ├── generate-content/ # Content generation
│ │ └── ...
│ ├── about/ # About page
│ ├── dashboard/ # Analytics dashboard
│ ├── studio/ # Studio tools
│ │ ├── ai-assistance/ # AI assistance hub
│ │ ├── ai-content/ # AI content generator
│ │ ├── festival-campaigns/ # Festival campaigns
│ │ ├── image-enhancer/ # Image enhancer
│ │ ├── qr-microsite/ # QR microsite generator
│ │ ├── smart-pricing/ # Smart pricing
│ │ └── voice-recording/ # Voice recording
│ ├── globals.css # Global styles
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page
├── components/ # React components
│ ├── ui/ # UI components (shadcn/ui)
│ └── ...
├── lib/ # Utility libraries
├── public/ # Static assets
├── .env.local # Environment variables (local)
├── .gitignore # Git ignore rules
├── next.config.mjs # Next.js config
├── package.json # Dependencies
├── README.md # This file
├── END_TO_END_PROJECT_GUIDE.md # Complete documentation
├── PROJECT_FEATURES_DOCUMENTATION.md # Feature details
├── DEPLOY_TO_VERCEL.md # Deployment guide
└── tsconfig.json # TypeScript config
| Device | Status | Optimizations |
|---|---|---|
| 📱 Mobile | ✅ Optimized | Touch-friendly, mobile-first design |
| 📱 Tablet | ✅ Optimized | Adaptive layouts, optimized spacing |
| 💻 Desktop | ✅ Optimized | Full-featured, multi-column layouts |
Works seamlessly on all devices - smartphones, tablets, and desktops
Contributions are welcome! Here's how you can help:
-
Fork the repository
git clone https://github.com/Afuu-coder/AITRYSTT.git
-
Create a feature branch
git checkout -b feature/amazing-feature
-
Make your changes
- Write clean, documented code
- Follow existing code style
- Add tests if applicable
-
Commit your changes
git commit -m 'Add amazing feature' -
Push to the branch
git push origin feature/amazing-feature
-
Open a Pull Request
- Describe your changes
- Link related issues
- Wait for review
- ✅ Follow TypeScript best practices
- ✅ Write meaningful commit messages
- ✅ Update documentation
- ✅ Test your changes thoroughly
- ✅ Respect the existing code style
| Metric | Value |
|---|---|
| 📁 Total Files | 100+ |
| 📝 Lines of Code | 10,000+ |
| 🎨 Components | 50+ |
| 🔌 API Routes | 22 |
| 📄 Pages | 14+ |
| 🚀 Features | 10+ |
| ⚡ Build Time | ~2 min |
| 🎯 Lighthouse Score | 90+ |
- 📘 Complete Project Guide - Full end-to-end documentation
- 📗 Features Documentation - Detailed feature breakdown
- 🚀 Deployment Guide - Step-by-step deployment
- 💾 Blob Storage Setup - Configure Vercel Blob
- 🔧 Troubleshooting - Common issues and fixes
- ⚙️ Environment Variables - Required environment variables
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
- 🐛 Create an issue
- 📧 Contact the development team
- 📚 Check the documentation
Empowering traditional craftsmanship with modern AI technology