Skip to content

A powerful AI-powered assistant with advanced chat capabilities, image generation, and intelligent task management built with React, TypeScript, and modern AI APIs.

Notifications You must be signed in to change notification settings

Ibrahim2656/AI-Assistant-Pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– AI Assistant Pro

A powerful AI-powered assistant with advanced chat capabilities, image generation, and intelligent task management built with React, TypeScript, and modern AI APIs.

React TypeScript Vite License


πŸ“Έ Screenshots

πŸ’¬ Chat Interface

Chat Interface Intelligent conversational AI with context-aware responses

🎨 Image Generation

Image Generation Create stunning AI-generated images from text prompts

✨ Key Features

Features Overview All-in-one AI assistant for productivity and creativity


✨ Features

🧠 Intelligent Chat Assistant

  • Natural Language Processing: Context-aware conversations with advanced AI models
  • Multi-turn Conversations: Maintains context across multiple messages
  • Code Assistance: Help with coding, debugging, and technical questions
  • Real-time Responses: Fast and accurate AI-powered replies

🎨 AI Image Generation

  • Text-to-Image: Generate creative images from text descriptions
  • Multiple Styles: Support for various artistic styles and formats
  • High Quality Output: Professional-grade image generation
  • Batch Processing: Generate multiple variations at once

πŸ“ Smart Reminders & Task Management

  • Intelligent Reminders: Set and manage reminders with natural language
  • Task Scheduling: Organize your daily tasks efficiently
  • Notifications: Never miss important deadlines
  • Context Integration: Reminders based on your conversations

πŸ”§ Additional Features

  • Modern UI/UX: Clean, intuitive interface built with React and Tailwind CSS
  • Responsive Design: Works seamlessly on desktop and mobile devices
  • Theme Support: Light and dark mode options
  • Fast Performance: Optimized with Vite for lightning-fast load times
  • Type-Safe: Built entirely with TypeScript for reliability

πŸš€ Quick Start

Prerequisites

Make sure you have the following installed:

  • Node.js (v18 or higher)
  • npm or yarn
  • Git

Installation

  1. Clone the repository

    git clone https://github.com/Ibrahim2656/AI-Assistant-Pro.git
    cd AI-Assistant-Pro
  2. Install dependencies

    npm install
    # or
    yarn install
  3. Set up environment variables

    Create a .env file in the root directory:

    VITE_ANTHROPIC_API_KEY=your_anthropic_api_key_here
    VITE_OPENAI_API_KEY=your_openai_api_key_here
    # Add other API keys as needed
  4. Start the development server

    npm run dev
    # or
    yarn dev
  5. Open your browser

    Navigate to http://localhost:5173


πŸ› οΈ Tech Stack

Frontend

  • React 18.3 - UI library
  • TypeScript 5.6 - Type-safe JavaScript
  • Vite 6.0 - Next-generation frontend tooling
  • Tailwind CSS - Utility-first CSS framework

AI Services

  • Anthropic Claude - Advanced conversational AI
  • OpenAI API - GPT models for chat and image generation
  • Custom Embedding Service - Semantic search and context

State Management & Tools

  • React Hooks - Modern state management
  • Context API - Global state handling
  • LocalStorage - Client-side data persistence

πŸ“ Project Structure

AI-Assistant-Pro/
β”œβ”€β”€ components/           # React components
β”‚   β”œβ”€β”€ ChatInput.tsx    # Chat input component
β”‚   β”œβ”€β”€ ChatMessage.tsx  # Message display component
β”‚   └── Icons.tsx        # Icon components
β”œβ”€β”€ services/            # API services
β”‚   β”œβ”€β”€ EmbeddingService.ts
β”‚   β”œβ”€β”€ ReminderService.ts
β”‚   └── Service.ts
β”œβ”€β”€ public/              # Static assets
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ App.tsx         # Main application component
β”‚   β”œβ”€β”€ index.tsx       # Entry point
β”‚   └── types.ts        # TypeScript type definitions
β”œβ”€β”€ .env                # Environment variables (create this)
β”œβ”€β”€ .gitignore          # Git ignore rules
β”œβ”€β”€ package.json        # Dependencies and scripts
β”œβ”€β”€ tsconfig.json       # TypeScript configuration
β”œβ”€β”€ vite.config.ts      # Vite configuration
└── README.md           # This file

🎯 Usage Examples

Chat with the Assistant

// Start a conversation
const response = await sendMessage("What's the weather like today?");

// Follow-up questions maintain context
const followUp = await sendMessage("How about tomorrow?");

Generate Images

// Create an image from a text prompt
const image = await generateImage({
  prompt: "A futuristic city at sunset",
  style: "photorealistic",
  size: "1024x1024"
});

Set Reminders

// Set a reminder using natural language
await createReminder({
  text: "Team meeting at 3 PM tomorrow",
  context: currentConversation
});

πŸ”‘ API Configuration

Anthropic API

  1. Get your API key from Anthropic Console
  2. Add to .env: VITE_ANTHROPIC_API_KEY=your_key_here

OpenAI API

  1. Get your API key from OpenAI Platform
  2. Add to .env: VITE_OPENAI_API_KEY=your_key_here

🀝 Contributing

Contributions are welcome! Here's how you can help:

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

Development Guidelines

  • Follow the existing code style
  • Write meaningful commit messages
  • Add tests for new features
  • Update documentation as needed
  • Ensure all tests pass before submitting

πŸ“ License

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


πŸ™ Acknowledgments

  • Anthropic for Claude AI
  • OpenAI for GPT models
  • React team for the amazing framework
  • Vite for the blazing-fast build tool
  • All contributors who help improve this project

πŸ“¬ Contact & Support


πŸ—ΊοΈ Roadmap

  • Voice input/output support
  • Multi-language support
  • Plugin system for extensibility
  • Advanced file handling (PDF, Documents)
  • Team collaboration features
  • Mobile app version
  • Offline mode capabilities
  • Advanced customization options

⭐ Show Your Support

If you find this project useful, please consider giving it a star on GitHub! It helps others discover the project and motivates continued development.

Star on GitHub


Built with ❀️ by Ibrahim

About

A powerful AI-powered assistant with advanced chat capabilities, image generation, and intelligent task management built with React, TypeScript, and modern AI APIs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published