Skip to content

cryptoleek-team/heartBoom-hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ HeartBoom AI Companion - Next-Generation Conversational Avatar Platform

A revolutionary AI-powered companion ecosystem that brings digital avatars to life through cutting-edge technology

React Python Azure Electron WebRTC OpenAI

๐ŸŒŸ Project Overview

HeartBoom AI Companion is a sophisticated, multi-platform ecosystem that creates lifelike AI avatars capable of natural conversation, emotional intelligence, and personalized interactions. Built for the modern era of human-AI collaboration, this platform seamlessly integrates advanced machine learning, real-time communication, and cross-platform deployment.

๐ŸŽฏ Why HeartBoom Stands Out

  • ๐Ÿง  Advanced AI Integration: Powered by Azure OpenAI GPT-4 and Cognitive Services
  • ๐ŸŽญ Lifelike Avatars: Real-time animated avatars with WebRTC technology
  • ๐Ÿ“š Intelligent Knowledge Base: RAG (Retrieval-Augmented Generation) system for contextual responses
  • ๐ŸŒ Universal Compatibility: Web, desktop, mobile, and tablet support
  • ๐ŸŽจ Highly Customizable: Configurable appearance, personality, and behavior
  • ๐Ÿ”Š Natural Communication: Advanced speech-to-text and text-to-speech capabilities
  • โšก Real-time Performance: Optimized for low-latency interactions

๐Ÿ“น Live Demo

๐Ÿš€ See HeartBoom AI in Action!

Watch our comprehensive demo video showcasing the full HeartBoom ecosystem in action:

Watch Demo on YouTube



HeartBoom AI Demo Thumbnail

๐ŸŽฌ Demo Highlights

In this 6-minute showcase, you'll witness:

๐ŸŽญ Real-time Avatar Animation
See lifelike avatars responding instantly

๐Ÿ—ฃ๏ธ Natural Speech Interaction
Voice-to-voice conversations with AI

๐Ÿง  Intelligent Responses
RAG-powered contextual knowledge retrieval

๐Ÿ“ฑ Cross-platform Compatibility
Seamless experience across devices

โšก Performance Excellence
Lightning-fast response times

๐ŸŽจ Customization Features
Avatar personality and appearance options

โœจ Experience the future of human-AI interaction in just 6 minutes! โœจ

๐Ÿ—๏ธ Architecture Overview

graph TB
    subgraph "Frontend Layer"
        A[React Web App] --> B[Electron Desktop App]
        A --> C[Mobile Web Interface]
    end
    
    subgraph "AI & Communication Layer"
        D[Azure Cognitive Services]
        E[WebRTC Avatar Engine]
        F[Speech Recognition/Synthesis]
    end
    
    subgraph "Intelligence Layer"
        G[RAG Knowledge Base]
        H[OpenAI GPT-4]
        I[ChromaDB Vector Store]
    end
    
    A --> D
    A --> E
    A --> G
    D --> F
    G --> H
    G --> I
Loading

๐Ÿ“ฆ Repository Structure

This project consists of three interconnected repositories that work together to create a complete AI companion experience:

The Interactive Avatar Frontend

  • Technology Stack: React 18+, TypeScript, WebRTC, Azure Cognitive Services
  • Features:
    • Real-time animated talking avatars
    • Speech-to-text and text-to-speech integration
    • Customizable avatar appearance and personalities
    • Dark mode and responsive design
    • Multi-language support
    • Background voice activation
    • Chat interface with message history

The Intelligent Backend Brain

  • Technology Stack: Python, FastAPI, OpenAI, ChromaDB, Vector Embeddings
  • Features:
    • Multi-format document processing (PDF, TXT, CSV, Markdown, JSON)
    • Advanced vector similarity search
    • RESTful API with comprehensive endpoints
    • Configurable chunking and embedding strategies
    • Production-ready error handling and logging
    • Scalable architecture for enterprise deployment

๐Ÿ–ฅ๏ธ HeartBloom Electron App

The Cross-Platform Desktop Wrapper

  • Technology Stack: Electron, Node.js
  • Features:
    • Native desktop application experience
    • Cross-platform compatibility (Windows, macOS, Linux)
    • Seamless integration with web components
    • Optimized performance for desktop environments

๐Ÿš€ Quick Start Guide

Prerequisites

  • Node.js 18+ and npm
  • Python 3.8+
  • Azure Account with Cognitive Services and OpenAI access
  • OpenAI API Key

1. Clone All Repositories

# Create project directory
mkdir heartboom-ecosystem && cd heartboom-ecosystem

# Clone all repositories
git clone https://github.com/cryptoleek-team/heartBoom-companion.git
git clone https://github.com/cryptoleek-team/heartBoom-RAG-knowledgebase.git
git clone https://github.com/cryptoleek-team/heartBloomAI-electron-app.git

2. Setup RAG Knowledge Base

cd heartBoom-RAG-knowledgebase
pip install -r requirements.txt

# Configure environment
cp .env.example .env
# Edit .env with your OpenAI API key

# Start the RAG API server
python api_server.py

3. Setup Avatar Companion

cd ../heartBoom-companion
npm install

# Configure environment variables
# Create .env file with Azure and OpenAI credentials

# Start frontend
npm run dev

# Start backend (in another terminal)
python -m flask run -h 0.0.0.0 -p 5555

4. Launch Desktop App

cd ../heartBloomAI-electron-app
npm install
npm start

๐ŸŒ Cross-Platform Deployment

๐Ÿ“ฑ Mobile & Tablet Support

The HeartBoom ecosystem is designed with responsive web technologies, making it instantly compatible with:

  • ๐Ÿ“ฑ iOS Devices: iPhone, iPad (Safari, Chrome)
  • ๐Ÿค– Android Devices: Phones, tablets (Chrome, Firefox, Edge)
  • ๐Ÿ’ป Tablets: Surface, iPad Pro, Android tablets
  • ๐Ÿ–ฅ๏ธ Desktop: Windows, macOS, Linux

๐ŸŒ Web Deployment Options

# Build for production
npm run build

# Deploy to popular platforms
# Vercel, Netlify, AWS S3, Azure Static Web Apps
# Docker containerization ready

๐Ÿ“ฆ Docker Deployment

# Multi-stage build for optimal performance
FROM node:18-alpine AS frontend
# ... frontend build steps

FROM python:3.9-slim AS backend
# ... backend setup

FROM nginx:alpine AS production
# ... production configuration

๐ŸŽฏ Technical Highlights

๐Ÿ”ฅ Cutting-Edge Technology Stack

Component Technology Purpose
Frontend Framework React 18+ with TypeScript Modern, type-safe UI development
Real-time Communication WebRTC Low-latency avatar animation
AI Language Model Azure OpenAI GPT-4 Advanced conversational AI
Speech Processing Azure Cognitive Services Natural speech recognition/synthesis
Knowledge Retrieval RAG with ChromaDB Contextual information retrieval
Vector Embeddings OpenAI text-embedding-ada-002 Semantic search capabilities
Backend API FastAPI with Python High-performance async API
Desktop Runtime Electron Cross-platform native experience
State Management React Hooks + Context Efficient state handling
Styling Modern CSS + Dark Mode Beautiful, accessible UI

โšก Performance Optimizations

  • Lazy Loading: Components and resources loaded on demand
  • WebRTC Optimization: Minimal latency for real-time avatar animation
  • Vector Database: ChromaDB for lightning-fast similarity search
  • Async Processing: Non-blocking operations throughout the stack
  • Caching Strategies: Intelligent caching for improved response times
  • Bundle Optimization: Code splitting and tree shaking

๐Ÿ”’ Security & Privacy

  • API Key Management: Secure environment variable handling
  • CORS Configuration: Proper cross-origin resource sharing
  • Input Validation: Comprehensive request validation
  • Error Handling: Graceful error management without data exposure
  • Azure Security: Enterprise-grade cloud security

๐ŸŽจ Customization & Extensibility

๐ŸŽญ Avatar Customization

// Configure avatar appearance
const avatarConfig = {
  style: "casual",
  voice: "en-US-AriaNeural",
  personality: "friendly",
  background: "office",
  animations: ["talking", "listening", "thinking"]
};

๐Ÿง  Knowledge Base Extension

# Add custom document types
rag_system.add_document("custom_knowledge.pdf")
rag_system.add_document("company_policies.json")
rag_system.add_document("product_manual.md")

๐ŸŒ Multi-language Support

// Supported languages
const languages = [
  "en-US", "zh-CN", "ja-JP", "ko-KR", 
  "es-ES", "fr-FR", "de-DE", "it-IT"
];

๐Ÿ“Š Use Cases & Applications

๐Ÿข Enterprise Solutions

  • Customer Support: 24/7 intelligent customer service avatars
  • Training & Onboarding: Interactive training companions
  • Virtual Assistants: Personalized workplace assistants
  • Knowledge Management: Instant access to company information

๐ŸŽ“ Education & Learning

  • Virtual Tutors: Personalized learning companions
  • Language Learning: Conversational practice partners
  • Interactive Textbooks: Animated educational content
  • Accessibility: Support for diverse learning needs

๐Ÿฅ Healthcare & Wellness

  • Mental Health Support: Empathetic conversation partners
  • Patient Education: Interactive health information
  • Therapy Assistance: Supplementary therapeutic tools
  • Medication Reminders: Friendly health companions

๐ŸŽฎ Entertainment & Social

  • Gaming Companions: Interactive game characters
  • Social Platforms: Virtual friends and communities
  • Content Creation: AI-powered content assistants
  • Virtual Events: Engaging event hosts

๐Ÿ† Competitive Advantages

๐Ÿš€ Technical Excellence

  • State-of-the-Art AI: Latest GPT-4 and Azure Cognitive Services
  • Real-time Performance: WebRTC for instant avatar responses
  • Scalable Architecture: Microservices-ready design
  • Cross-platform Native: True universal compatibility

๐Ÿ’ก Innovation Highlights

  • RAG Integration: Context-aware conversations
  • Voice Activation: Natural wake-word detection
  • Emotional Intelligence: Personality-driven responses
  • Multi-modal Interaction: Text, voice, and visual communication

๐ŸŒŸ User Experience

  • Intuitive Interface: Clean, modern design
  • Accessibility: WCAG compliant
  • Customization: Extensive personalization options
  • Performance: Optimized for all device types

๐Ÿ”ฎ Future Roadmap

๐ŸŽฏ Short-term Goals

  • Enhanced avatar animations and expressions
  • Additional language support
  • Mobile app development (React Native)
  • Advanced personality customization

๐Ÿš€ Long-term Vision

  • AR/VR integration
  • Multi-avatar conversations
  • Advanced emotion recognition
  • Enterprise SSO integration
  • Blockchain-based avatar ownership

๐Ÿค Contributing

We welcome contributions from the community! Please see our contributing guidelines in each repository:

๐Ÿ“„ License

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

๐Ÿ™ Acknowledgments

  • Microsoft Azure for providing world-class AI services
  • OpenAI for revolutionary language models
  • React Team for the amazing frontend framework
  • Electron Team for cross-platform desktop capabilities
  • ChromaDB for efficient vector database solutions

Built with โค๏ธ by the CryptoLeek Team

๐ŸŒ Website โ€ข ๐Ÿ“ง Contact โ€ข ๐Ÿฆ Twitter โ€ข ๐Ÿ’ฌ Discord


"The future of human-AI interaction is here. HeartBoom doesn't just create avatars โ€“ it creates companions."

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages