Skip to content

tarunerror/AuraChat

Repository files navigation

AuraChat - Your Intelligent Coding Companion

AuraChat Logo

Where AI meets cyberpunk aesthetics for the ultimate coding experience

Made with React TypeScript Powered by Mistral AI TailwindCSS Vite

Live DemoReport BugRequest Feature

AuraChat Demo

Experience the Future of AI Coding Assistants

AuraChat transcends traditional AI chat applications, delivering a cyberpunk-inspired coding companion designed to revolutionize developer workflows. With its neon-infused UI and powerful capabilities, AuraChat stands at the intersection of cutting-edge AI and immersive user experience.

Advanced AI Integration

Leveraging Mistral AI's powerful language models:

  • Specialized Models: Choose between Mistral Large for general tasks and Codestral for programming
  • Context-Aware Responses: AI remembers conversation history for coherent assistance
  • Alternative Solutions: Generate and navigate between multiple solutions
  • Web-Enhanced Knowledge: Optional web search integration for up-to-date information

Live Code Execution

Write, edit, and run code directly in your chat:

  • Monaco Editor Integration: VS Code's editor engine for familiar coding experience
  • Syntax Highlighting: Support for 30+ programming languages
  • Real-time Execution: Run JavaScript code and see results instantly
  • Error Handling: Clear error messages and debugging assistance
Code Execution Demo

Voice Interaction

Hands-free coding assistance:

  • Speech Recognition: Natural voice input for queries
  • Text-to-Speech: Listen to AI responses while multitasking
  • Voice Customization: Adjust pitch, rate, and volume
  • 25+ Languages: Voice interaction across multiple languages

Multilingual Intelligence

Break down language barriers:

  • Auto-Detection: Identifies your language automatically
  • Native Display: Shows both English and native language names
  • 25+ Languages: From Spanish and French to Japanese and Arabic
  • Seamless Switching: Change languages mid-conversation

English

Español

日本語

Web Search Integration

Enhance AI responses with real-time web data:

  • Live Search: Access current information from the internet
  • Result Integration: Seamlessly incorporate web data into responses
  • Source Attribution: Clear citations for web-sourced information
  • Toggle Control: Enable/disable web search as needed

Document Processing

Extract and analyze text from various formats:

  • OCR Technology: Extract text from images using Tesseract.js
  • PDF Support: Parse and analyze PDF documents
  • Text Files: Import and process plain text files
  • Context Preservation: Maintain document structure in analysis

Technical Architecture

AuraChat
├── AI Integration
│   ├── Mistral AI API (@mistralai/mistralai)
│   ├── LangChain Framework (@langchain/core)
│   └── RAG Implementation
├── Frontend
│   ├── React 18.3 with TypeScript 5.5
│   ├── Tailwind CSS 3.4
│   ├── Vite 5.4
│   └── Lucide React Icons
├── Core Features
│   ├── Monaco Editor
│   ├── Web Speech API
│   ├── Tesseract.js
│   ├── Language Detection
│   └── Markdown Rendering
└── Cross-Platform
    ├── Responsive Design
    ├── Mobile Optimization
    └── Touch Interface

Component Architecture

src/
├── components/
│   ├── ChatContainer/     # Message display
│   ├── ChatInput/        # User input interface
│   ├── ChatMessage/      # Message rendering
│   ├── ChatSessions/     # Session management
│   ├── CodeBlock/        # Code execution
│   ├── Layout/           # Main layout
│   ├── SearchModal/      # Search interface
│   └── WebSearchModal/   # Web search
├── hooks/
│   ├── useChatState/     # State management
│   ├── useCodeExecution/ # Code execution
│   ├── useMessageHandler/# Message processing
│   ├── useMistralClient/ # AI client
│   └── useVoice/        # Voice interaction
└── utils/
    ├── codeUtils/       # Code handling
    ├── documentParser/  # File processing
    ├── languageUtils/   # Language support
    ├── ragUtils/        # RAG functionality
    └── webSearchUtils/  # Web search

Quick Start

# Clone the repository
git clone https://github.com/tarunerror/AuraChat

# Navigate to project directory
cd aurachat

# Install dependencies
npm install

# Add your Mistral AI API key
echo "VITE_MISTRAL_API_KEY=your_key_here" > .env

# Start the development server
npm run dev

AI Models

Model Best For Token Limit
Mistral Large Complex reasoning, detailed explanations 32,768
Codestral Code generation, debugging, refactoring 16,384

State Management

  • Session Management: Create, rename, and switch between chat sessions
  • Message History: Persistent storage of conversations
  • Alternative Responses: Store and navigate between AI responses
  • Model Selection: Change AI models per session
  • Language Detection: Automatic language handling

Mobile Responsiveness

  • Adaptive Layout: Automatically adjusts to any screen size
  • Touch-Optimized: Large touch targets for easy interaction
  • Responsive Typography: Text scales appropriately
  • Efficient Space Usage: Compact layout on small screens
  • Gesture Support: Swipe and touch gestures
  • Safe Area Support: Respects device notches and home indicators

Contributing

We welcome contributions from developers of all skill levels:

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

Check out our Contributing Guide for more details.

License

Distributed under the MIT License. See LICENSE for more information.


Made with dedication by Tarun Gautam

Instagram Follow

About

AI ChatBot Made with ❤️ by Tarun Gautam

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •