Skip to content

saradarb/Aihl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

🤖 Veritas AI ✨

AI Chat Demo

A sophisticated React-based AI chat application integrating Google's Gemini AI with modern web technologies and interactive 3D elements.

React Vite Google AI Spline


🚀 Technical Implementation

🧠 Core Framework & Architecture

// Modern React with hooks magic ✨
const [aiResponse, setAiResponse] = useState('');
const { onSent, showResult, resultData } = useContext(Context);
  • React 19.1.0 with modern functional components and hooks 🎣
  • React Router DOM 7.8.1 for client-side routing and navigation 🗺️
  • Context API for centralized state management across components 🌐
  • Component-based modular architecture with clear separation of concerns 🏗️

React Animation

🤖 AI Integration

// Talking to Google's Gemini AI like a boss 🎯
import { GoogleGenerativeAI } from '@google/generative-ai';
const genAI = new GoogleGenerativeAI(API_KEY);
  • Google Generative AI SDK (Gemini) for intelligent conversational capabilities 💬
  • Real-time AI response processing and rendering ⚡
  • Dynamic content generation with HTML parsing and display 📝
  • Context-aware conversation management 🧠

AI Thinking

Build System & Development Tools

# Lightning fast development with Vite ⚡
npm run dev  # 🔥 Hot reload magic
npm run build  # 📦 Production ready
  • Vite 7.0.4 for ultra-fast development server and optimized production builds 🚀
  • ESLint 9.30.1 with React-specific plugins for code quality enforcement 📏
  • React Hot Refresh for instant development feedback 🔄
  • Modern ES modules with tree-shaking optimization 🌳

Coding Animation

🎨 3D Graphics & Interactive Elements

// Bringing 3D magic to the web ✨
<spline-viewer url="https://prod.spline.design/BoWg-dch2T9e59sl/scene.splinecode">
</spline-viewer>
  • Spline 3D viewer integration for immersive visual experiences 🌈
  • WebGL-based 3D scene rendering and manipulation 🎮
  • Interactive 3D models with real-time animation 🎬
  • Custom Spline scene implementation for enhanced user engagement 👾

3D Animation

🎭 UI/UX & Responsive Design

/* Smooth animations everywhere ✨ */
.mobile-menu {
  transition: all 0.3s ease-in-out;
  transform: translateX(-100%);
}
  • Material-UI icons integration for consistent iconography 🎯
  • Font Awesome 6.4.0 for comprehensive icon library 📚
  • Custom CSS with advanced styling techniques and animations 🎨
  • Mobile-first responsive design with hamburger navigation 📱
  • Overlay and modal management for mobile interfaces 📲

UI Animation

🔄 State Management & Data Flow

// Context API keeping everything in sync 🎪
const Context = createContext();
const [input, setInput] = useState('');
const [resultData, setResultData] = useState('');
  • React Context API for global state management 🌍
  • Custom hooks for component logic abstraction 🪝
  • Controlled form inputs with real-time validation ✅
  • Dynamic content rendering with dangerouslySetInnerHTML for AI responses ⚠️

This project demonstrates expertise in modern React development, AI API integration, 3D web graphics, state management, and contemporary frontend tooling while maintaining high code quality and performance standards! 🎉


Built with passion and lots of Matcha 🍵

Footer Animation

About

An AI chatbot built with React, React Router, and Three.js, integrated with the Gemini API for real-time responses and enhanced with smooth 3D animations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors