Skip to content

kasimlohar/kurukshetra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏹 Kurukshetra 2025 Hackathon

ConfluxAI - Dual AI Document Intelligence Solutions

Live Demo Python React TypeScript FastAPI

Two innovative AI-powered document intelligence solutions built in 24 hours

🎯 Theme: AI/ML & Agentic AI | ⏱️ Duration: 24 Hours | πŸ“… Date: Aug 24-25, 2025


πŸš€ Project Overview

During the intense 24-hour Kurukshetra hackathon, we developed two complementary AI solutions that revolutionize document intelligence and search capabilities. Each project tackles different aspects of modern AI document processing:

Web-Based AI Chat Interface

  • πŸ€– AI Chat with uploaded documents
  • πŸ“„ Multi-format support (PDF, images, videos, audio)
  • 🎨 Modern React interface with real-time updates
  • ⚑ n8n workflow automation for processing
  • πŸ”— Vercel deployment with serverless functions
  • πŸ’¬ Google Gemini AI integration

Best for: Interactive document conversations and content analysis

Advanced Search Engine

  • 🧠 Hybrid semantic + keyword search (FAISS + BM25)
  • πŸ“Š Analytics dashboard with performance metrics
  • ⚑ FastAPI backend with Redis caching
  • πŸ”„ Real-time processing with background tasks
  • πŸ“ˆ Search analytics and optimization
  • 🎯 Multi-modal content indexing

Best for: Enterprise-level document search and analytics


⚑ Quick Start Guide

🌐 ConfluxAI Frontend (Web Chat Interface)

# Navigate to frontend project
cd ConfluxAI

# Install dependencies
npm install

# Start development server
npm run dev:vercel

# 🌍 Access at: http://localhost:5000

πŸ” ConfluxAI Hybrid (Search Engine)

# Navigate to backend project  
cd ConfluxAI_hybrid

# Quick setup (Windows)
.\scripts\start.ps1

# Or manual setup
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python main.py

# 🌍 Backend API: http://localhost:8000
# πŸ“Š Frontend UI: http://localhost:5173

πŸ› οΈ Technology Architecture

Component ConfluxAI Frontend ConfluxAI Hybrid
Frontend React 18 + TypeScript + Tailwind React 18 + Material-UI + TypeScript
Backend Express.js + Vercel Functions FastAPI + SQLite + Redis
AI/ML Google Gemini API + n8n FAISS Vector Search + Transformers
Processing n8n Workflow Automation Background Celery Tasks
Deployment Vercel (Live) Local/Docker Ready
Specialization Interactive Chat & Media Advanced Search & Analytics

🎯 Key Innovations

πŸ’‘ Dual Approach Strategy

  • Frontend-focused: User experience and conversational AI
  • Backend-focused: Performance optimization and advanced search

πŸ”„ Complementary Features

  • Real-time processing vs Batch optimization
  • Interactive chat vs Analytical search
  • Cloud deployment vs Local enterprise setup

πŸš€ Hackathon Achievements

  • βœ… Two fully functional AI applications
  • βœ… Live deployment on Vercel
  • βœ… Advanced AI integration (Gemini, FAISS, Transformers)
  • βœ… Modern tech stacks (React, FastAPI, TypeScript)
  • βœ… Production-ready code with testing

πŸ“ Project Structure

kurukshetra/
β”œβ”€β”€ πŸ“„ README.md                    # This file - Main project overview
β”œβ”€β”€ 🌐 ConfluxAI/                   # Frontend-focused AI chat application
β”‚   β”œβ”€β”€ πŸ“± client/                  # React TypeScript frontend  
β”‚   β”œβ”€β”€ πŸš€ api/                     # Vercel serverless functions
β”‚   β”œβ”€β”€ πŸ€– n8n_workflows/          # AI processing workflows
β”‚   β”œβ”€β”€ πŸ“š docs/                    # Documentation & screenshots
β”‚   └── πŸ“„ README.md                # Frontend project details
└── πŸ” ConfluxAI_hybrid/           # Backend-focused search engine
    β”œβ”€β”€ 🐍 services/                # Core Python services
    β”œβ”€β”€ πŸ“± frontend/                # React Material-UI interface
    β”œβ”€β”€ πŸ§ͺ tests/                   # Comprehensive test suite
    β”œβ”€β”€ πŸ“Š docs/                    # Architecture documentation
    └── πŸ“„ README.md                # Backend project details

πŸ† Hackathon Impact

πŸ“Š Technical Metrics

  • Lines of Code: 25,000+ across both projects
  • API Endpoints: 15+ RESTful endpoints
  • AI Models: 4+ integrated (Gemini, FAISS, Transformers, OCR)
  • File Formats: 10+ supported (PDF, images, videos, audio, docs)
  • Response Time: <500ms average search performance

🎨 UI/UX Excellence

  • Responsive Design: Mobile-first approach
  • Dark/Light Themes: User preference support
  • Real-time Updates: WebSocket integration
  • Drag & Drop: Intuitive file upload
  • Analytics Dashboard: Data visualization

πŸ”§ Engineering Excellence

  • TypeScript: Type-safe development
  • Testing: Comprehensive test coverage
  • Documentation: Detailed setup guides
  • Error Handling: Robust error management
  • Performance: Optimized caching strategies

🌟 Live Demo & Links

🌐 ConfluxAI Frontend

Live Demo

πŸ“Š ConfluxAI Hybrid

Local Setup


πŸŽ–οΈ Hackathon Details

πŸ›οΈ Event: Kurukshetra 2025
🏫 Venue: MIT Arts, Commerce and Science College, Pune
πŸ“… Duration: August 24-25, 2025 (24 hours)
🎯 Theme: AI/ML & Agentic AI
πŸ‘€ Team: Solo Development by @kasimlohar

πŸ… Achievement Highlights

  • ✨ Dual Solution Approach - Frontend + Backend specialization
  • πŸš€ Live Deployment - Production-ready application on Vercel
  • πŸ€– Advanced AI Integration - Multiple AI models and workflows
  • πŸ“± Modern Tech Stack - Latest React, FastAPI, TypeScript
  • πŸ§ͺ Quality Assurance - Comprehensive testing and documentation

πŸš€ Getting Started

Choose your preferred solution or run both simultaneously:

🎯 For Interactive AI Chat:

cd ConfluxAI && npm install && npm run dev:vercel

🎯 For Advanced Search:

cd ConfluxAI_hybrid && .\scripts\start.ps1

🎯 For Full Experience:

Run both projects in separate terminals to experience the complete ConfluxAI ecosystem!


πŸ“ž Support & Contact

πŸ‘¨β€πŸ’» Developer: Kasim Lohar
πŸ“§ Contact: GitHub Profile
πŸ› Issues: Create Issue
πŸ’¬ Discussions: GitHub Discussions


⭐ Star this repository if you found it helpful!

Built with ❀️ during Kurukshetra 2025 Hackathon

"In the battlefield of code, every algorithm is a strategy, every function a warrior."

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors