Skip to content

Afuu-coder/AITRYST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 AITRYST - AI-Powered Artisan Platform

Empowering Indian Artisans with AI Technology

Live Demo Next.js TypeScript Vercel

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


✨ Features

🎯 Studio Tools

  • πŸ–ΌοΈ Image Enhancement

    • AI-powered photo enhancement
    • Background removal
    • Quality improvement
    • Google Cloud Vision integration
  • 🎀 Voice Recording

    • Speech-to-text conversion
    • Multi-language support
    • Real-time transcription
    • Audio playback
  • ✍️ AI Content Generation

    • Product descriptions
    • Marketing copy
    • Social media posts
    • Email templates

πŸš€ Advanced Features

  • πŸ’° Smart Pricing

    • Cost-plus pricing
    • Market-based pricing
    • Profit analysis
    • AI recommendations
  • πŸ“± QR Microsite Generator

    • Instant product pages
    • QR code generation
    • WhatsApp integration
    • Vercel Blob storage
  • πŸŽ‰ Festival Campaigns

    • Diwali, Holi, Eid campaigns
    • Social media content
    • Email campaigns
    • Visual suggestions

πŸ€– AI Assistance (7 Features)

  1. Personalized Recommendations - Get AI suggestions for product positioning
  2. Market Trends Analysis - Understand current market demand
  3. Price Suggestions - Optimal pricing recommendations
  4. Design Improvement Tips - Enhance product aesthetics
  5. Social Media Captions - Engaging posts for Instagram, Facebook
  6. Ad Campaign Content - Complete marketing campaigns
  7. Speech-to-Text - Convert voice descriptions to text

πŸ“Š Dashboard Analytics

  • Real-time QR code tracking
  • AI usage statistics
  • Product performance metrics
  • Engagement analytics
  • Growth percentages
  • Recent activity feed

🌐 Live Application

πŸš€ Production URL

https://aitrystt-nine.vercel.app

Try it now - No signup required!


πŸ› οΈ Quick Start

Prerequisites

Node.js: 18.x or higher
npm: 9.x or higher
Vercel CLI: Latest
Google Cloud Account
Vercel Account

Installation

1️⃣ Clone the repository

git clone https://github.com/Afuu-coder/AITRYSTT.git
cd AITRYSTT

2️⃣ Install dependencies

npm install

3️⃣ 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_token

4️⃣ Run development server

npm run dev

5️⃣ Open in browser

http://localhost:3000

πŸ“ Detailed Setup Guide

For complete setup instructions, see:


πŸš€ Deployment

Deploy to Vercel (Recommended)

Deploy with Vercel

Or deploy via CLI:

# Install Vercel CLI
npm install -g vercel

# Login to Vercel
vercel login

# Deploy to production
vercel --prod

Required Environment Variables

Add 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

Post-Deployment Steps

  1. Create Vercel Blob Storage

    • Go to Vercel Dashboard β†’ Storage
    • Click "Create Database" β†’ Select "Blob"
    • Token is automatically added
  2. Redeploy

    vercel --prod
  3. Test all features

    • QR Microsite generation
    • AI content generation
    • Image enhancement

πŸ“š Full deployment guide: DEPLOY_TO_VERCEL.md


🎯 Usage

πŸ‘¨β€πŸŽ¨ For Artisans

Step-by-Step Workflow:

  1. πŸ“Έ Upload Product Image β†’ Use Image Enhancer for professional photos
  2. 🎀 Record Description β†’ Voice-to-text for easy product descriptions
  3. ✍️ Generate Content β†’ AI creates compelling marketing copy
  4. πŸ’° Calculate Pricing β†’ Get smart pricing recommendations
  5. πŸ“± Create QR Microsite β†’ Generate shareable product page with QR code
  6. πŸŽ‰ Festival Campaigns β†’ Create seasonal marketing content
  7. πŸ“Š Track Performance β†’ Monitor analytics in dashboard

πŸ›οΈ For Customers

  1. πŸ“± Scan QR Code β†’ Access product information instantly
  2. πŸ‘€ View Details β†’ See enhanced images and descriptions
  3. πŸ’¬ Contact Artisan β†’ WhatsApp integration for direct orders
  4. πŸ”— Share Products β†’ Share with friends and family

πŸ”Œ API Endpoints

Core APIs

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

AI Assistance APIs

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


🎨 Tech Stack

Next.js
Next.js 14
TypeScript
TypeScript
React
React 18
Tailwind
TailwindCSS
Google Cloud
Google Cloud
Vercel
Vercel
Node.js
Node.js
npm
npm

πŸ”§ Complete Stack

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)

πŸ“ Project Structure

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

πŸ“± Mobile Support

βœ… Fully Responsive Design

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


🀝 Contributing

Contributions are welcome! Here's how you can help:

πŸ”§ Development Workflow

  1. Fork the repository

    git clone https://github.com/Afuu-coder/AITRYSTT.git
  2. Create a feature branch

    git checkout -b feature/amazing-feature
  3. Make your changes

    • Write clean, documented code
    • Follow existing code style
    • Add tests if applicable
  4. Commit your changes

    git commit -m 'Add amazing feature'
  5. Push to the branch

    git push origin feature/amazing-feature
  6. Open a Pull Request

    • Describe your changes
    • Link related issues
    • Wait for review

πŸ“‹ Contribution Guidelines

  • βœ… Follow TypeScript best practices
  • βœ… Write meaningful commit messages
  • βœ… Update documentation
  • βœ… Test your changes thoroughly
  • βœ… Respect the existing code style

πŸ“Š Project Statistics

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+

πŸ“š Documentation


πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ†˜ Support

Need Help?

GitHub Issues Documentation

For support and questions:


🌟 Star History

If you find this project useful, please consider giving it a ⭐!

Star History Chart


🎨 Built with ❀️ for Indian Artisans

Empowering traditional craftsmanship with modern AI technology

⬆ Back to Top

About

AITRYST is a comprehensive AI-powered platform specifically designed for Indian artisans to transform their handcrafted products into compelling stories and successful businesses. The platform combines cutting-edge AI technology with cultural sensitivity to help artisans showcase their crafts to a global audience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors