Skip to content

Aksh8t/BrainHouse-AIReactApp

Repository files navigation

Typing SVG

React Vite MongoDB Node.js Clerk Razorpay License: MIT PRs Welcome Contributions Welcome Made with ❤️

BrainHouse transforms how you interact with AI by integrating cutting-edge models from Gemini, ChatGPT, Mistral, and Flux into a seamless experience. Unlock creative writing, image generation, and intelligent conversations through our unified platform. Whether you're a developer, content creator, or AI enthusiast, BrainHouse is your cognitive companion for the AI revolution.


✨ Key Highlights

  • 🧠 AI Model Ecosystem - Access multiple state-of-the-art models through a single, unified interface
  • 🔄 Model Switching - Seamlessly switch between AI providers to find the perfect fit for your specific needs
  • 📱 Responsive Design - Fully optimized experience across all devices and screen sizes
  • 🚀 Enterprise-Ready - Robust architecture built for scalability and performance
  • 🛡️ Secure & Private - End-to-end encryption and privacy-focused design
  • 💸 Flexible Pricing - Free tier and premium options to suit individual and business needs

🎭 Use Cases

For Creators For Developers For Businesses
📝 Generate engaging blog content 💻 Get coding assistance 📊 Create data visualizations
🎨 Design unique artwork 🐛 Debug code efficiently 📢 Generate marketing copy
📚 Develop storylines & characters 🧪 Brainstorm feature ideas 📈 Analyze market trends
🎬 Script writing & storyboarding 🔍 Technical documentation 📱 Prototype UI/UX concepts
🎵 Lyric and music idea generation 🧩 Solve complex algorithms 🤝 Customer service automation

🚀 Features In-Depth

🤖 Multi-Model AI Conversation Hub

BrainHouse doesn't just connect you to AI models—it creates an intelligent conversation ecosystem where you can:

  • Model Flexibility: Seamlessly toggle between Gemini, GPT, Mistral, and more with a single click
  • Context Retention: AI remembers your entire conversation history for coherent, ongoing discussions
  • Persona Templates: Pre-configured AI personalities for different use cases (Creative Writer, Technical Expert, etc.)
  • Advanced Prompting: Built-in prompt engineering tools for power users
  • Voice Interaction: Speak naturally with AI through speech recognition integration
  • Multi-language Support: Communicate in 50+ languages with automatic translation
  • Code Execution: Run and test code snippets directly in chat (with sandbox protection)
🔍 See Example Conversations
  • Creative Writing Assistant: "Help me develop a character for my sci-fi novel who's an AI with emerging consciousness."
  • Technical Debugging: "I'm getting this React error with useEffect. Can you help me understand what's happening?"
  • Learning Companion: "Explain quantum computing principles as if I'm a high school student."
  • Business Strategy: "Brainstorm innovative marketing approaches for my sustainable fashion brand."

🎨 AI Image Studio

Transform your ideas into stunning visuals:

  • Text-to-Image: Generate photorealistic or artistic images from detailed descriptions
  • Style Transfer: Apply artistic styles to existing photos
  • Image Editing: Request modifications to generated images in natural language
  • Batch Creation: Generate multiple variations of a concept simultaneously
  • Resolution Control: Choose quality levels based on your needs
  • Negative Prompting: Specify what you don't want in your images
  • Custom Aspect Ratios: Perfect for different platforms and use cases

🧩 Smart Workflows

  • Chat-to-Image Bridge: Seamlessly convert chat ideas into visual concepts
  • Template Library: Access hundreds of pre-built prompts for common use cases
  • History & Favorites: Save your best creations and conversations
  • Export Options: Download in multiple formats or share directly to popular platforms
  • API Access: Connect BrainHouse to your own applications (Premium)

⚡ Performance Optimizations

  • Dynamic Model Loading: Models are loaded on-demand to minimize resource usage
  • Response Streaming: Real-time streaming of AI responses for instant feedback
  • Server-Side Caching: Redis implementation for frequently requested operations
  • Parallel Processing: Multiple requests handled simultaneously for higher throughput
  • Optimized Asset Delivery: CDN integration for global performance

🔐 Security & Privacy Features

At BrainHouse, we prioritize your data protection:

  • 🔒 End-to-End Encryption for all conversations and images
  • 🕵️ Privacy-Focused Design with minimal data retention
  • 🛡️ Role-Based Access Control for team environments
  • 🔍 Comprehensive Audit Logs for enterprise compliance
  • 🧹 Data Purge Options for complete conversation removal
  • 🔏 API Key Rotation and secure credential management
  • 🚫 Content Filtering to prevent misuse

💻 Installation & Setup

Prerequisites

  • Node.js ≥ 18.x
  • MongoDB Atlas account or local MongoDB installation
  • Clerk account for authentication
  • Razorpay account for payment processing
  • API keys for: OpenAI, Google Gemini, Mistral, and Flux

Quick Start Guide

  1. Clone the repository
git clone https://github.com/your-username/BrainHouse.git
cd BrainHouse
  1. Set up environment variables
cp .env.example .env
# Edit .env with your API keys and configuration
  1. Install dependencies and start development servers
# Install frontend dependencies
cd client
npm install
npm run dev

# In a new terminal, install backend dependencies
cd ../server
npm install
npm run dev
  1. Access the application
Frontend: http://localhost:5173
Backend API: http://localhost:5000

Docker Deployment

# Build and run with Docker Compose
docker-compose up -d

# Access the containerized application
Frontend: http://localhost:8080
Backend API: http://localhost:5000

📝 License

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


🌟 Star History

Star History Chart


BrainHouse: Where AI Meets Imagination
Built with ❤️