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.
π Live Demo β’ π Documentation β’ π― Features β’ π» Setup
|
|
- 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:
- π Complete Setup Guide
- π Deployment Guide
- πΎ Blob Storage Setup
- π§ Environment Variables
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