Skip to content

saishagoel27/eureka-hacks-kala-kaksh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

37 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 Kala Kaksh - AI-Powered Artisan Marketplace

Python Flask Google Cloud Vertex AI Imagen AI License

Overview

Kala Kaksh is a revolutionary platform that bridges the gap between traditional Indian artisans and modern buyers through the power of AI. Our platform combines authentic handcrafted treasures with cutting-edge technology, offering AI-generated room visualizations powered by Google's Vertex AI and Imagen 3.0.

[TRY IT HERE: ] (https://eureka-hacks-kala-kaksh-k694.vercel.app/)

"Where tradition meets technology, shaping the majestic future of artisan shopping"

πŸ›οΈ Project Architecture

For better understanding of the complete project implementation, this contains the backend as well that handles core functionalities:

  • Database management and API endpoints
  • Product catalog and inventory management

This repository focuses on the AI-powered frontend features as well as the backend which handles core functionalities.

✨ Key Features

🎭 For Artisans

  • Digital Showcase: Create beautiful profiles to display your craft and story
  • Product Management: Easily add and manage your handcrafted products
  • AI Enhancement: Leverage Vertex AI to enhance product descriptions
  • Collaboration Network: Connect with fellow artisans for partnerships
  • Story Telling: Share your artistic journey and cultural heritage

πŸ›οΈ For Buyers

  • AI Room Generation: Visualize products in custom-generated rooms using Imagen 3.0
  • Curated Discovery: Browse authentic handcrafted items by category
  • Artisan Stories: Learn about the makers behind each product
  • Smart Shopping: Cart management and purchase history
  • Personalized Experience: Save preferences and wishlist items

πŸ€– AI-Powered Features

  • Real-time Image Generation: Generate custom room designs
  • Enhanced Descriptions: AI-powered product and story enhancement
  • Visual Commerce: See how products look in beautifully designed spaces

πŸ“Έ Screenshots

Artisan Dashboard - Collaboration Network

WhatsApp Image 2025-09-21 at 22 38 37_68c8b558

Connect with fellow artisans and build meaningful partnerships

AI-Generated Room Visualization

WhatsApp Image 2025-09-21 at 22 28 12_de1da27e

Custom room generated with traditional Indian handicrafts using Google Imagen

Buyer Shopping Experience

WhatsApp Image 2025-09-21 at 22 26 05_b34c5939

Discover authentic handcrafted products by category

Product Gallery with AI Visualization

WhatsApp Image 2025-09-21 at 22 25 33_d90ecec4

Browse pottery and ceramics in AI-generated traditional settings

Welcome Experience

WhatsApp Image 2025-09-21 at 22 26 26_63be6328

Beautiful introduction to the world of Indian handicrafts

πŸš€ Getting Started

Prerequisites

  • Python 3.8 or higher
  • Google Cloud Project with Vertex AI enabled
  • Flask development environment

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/kala-kaksh.git
    cd kala-kaksh
  2. Set up virtual environment

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies

    pip install -r requirements.txt
  4. Configure Google Cloud

    # Set up your Google Cloud credentials
    export GOOGLE_APPLICATION_CREDENTIALS="path/to/your/service-account-key.json"
  5. Update configuration Edit app.py and update:

    PROJECT_ID = "your-google-cloud-project-id"
    LOCATION = "your-preferred-location"  # e.g., "asia-south1"
  6. Run the application

    cd Kala-kaksh_genai
    python app.py
  7. Access the application Open your browser and navigate to http://localhost:5000

πŸ—οΈ Project Structure

Kala-kaksh_genai/
β”œβ”€β”€ app.py                  # Main Flask application
β”œβ”€β”€ generate_images.py      # AI image generation utility
β”œβ”€β”€ static/                 # Static assets
β”‚   β”œβ”€β”€ style.css          # Main stylesheet
β”‚   β”œβ”€β”€ script.js          # Client-side JavaScript
β”‚   └── images/            # Product images
β”‚       β”œβ”€β”€ jewellery/
β”‚       β”œβ”€β”€ painting/
β”‚       └── saree/
└── templates/             # HTML templates
    β”œβ”€β”€ login.html         # Authentication page
    β”œβ”€β”€ art_home.html      # Artisan dashboard
    β”œβ”€β”€ buy_home.html      # Buyer dashboard
    β”œβ”€β”€ loading.html       # AI generation loading page
    └── product_detail.html # Product gallery

πŸ”§ Technical Stack

Backend

  • Flask: Web framework for Python
  • Google Vertex AI: AI/ML platform for image generation
  • Imagen 3.0: State-of-the-art image generation model

Frontend

  • HTML5 & CSS3: Modern web standards
  • JavaScript (ES6+): Interactive functionality
  • Responsive Design: Mobile-first approach

AI Integration

  • Vertex AI SDK: Google Cloud AI platform integration
  • Real-time Generation: Dynamic image creation
  • Base64 Encoding: Efficient image data transfer

🎨 Key Pages & Functionality

Authentication System

  • Google Sign-In integration
  • Role-based access (Artisan/Buyer)
  • Secure session management

Artisan Features

  • Story Creation: art_home.html
  • Product Management: Add, edit, and showcase products
  • AI Enhancement: Improve descriptions with Vertex AI
  • Collaboration: Connect with other artisans

Buyer Features

  • Product Discovery: buy_home.html
  • AI Room Generation: Visualize products in custom spaces
  • Shopping Cart: Manage purchases and wishlist
  • Artisan Profiles: Learn about creators

AI Integration

  • Image Generation: /api/generate-realtime endpoint
  • Custom Prompts: Dynamic room generation based on product types
  • Real-time Processing: Live image generation and display

🌐 Product Categories

  • πŸ₯» Handwoven Sarees: Traditional silk and cotton sarees
  • 🎨 Paintings & Art: Miniature paintings, folk art, contemporary pieces
  • πŸ’Ž Handcrafted Jewelry: Silver, brass, and traditional jewelry
  • 🏺 Pottery & Ceramics: Terracotta, blue pottery, ceramic crafts
  • πŸ₯“ Handwoven Rugs: Traditional carpets, dhurries, floor coverings

Development Setup

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ™ Acknowledgments

  • Artisan Community: For preserving traditional crafts and inspiring this platform
  • Google Cloud: For providing cutting-edge AI capabilities through Vertex AI
  • Flask Community: For the robust web framework
  • Open Source Contributors: For making this project possible

Made with ❀️ for preserving traditional Indian craftsmanship

"Connecting hearts through hands, bridging tradition with technology"

For detailed workflow and technical documentation, see workflow.md

About

Kala Kaksh - AI-Powered Artisan Marketplace

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors