A powerful AI-powered assistant with advanced chat capabilities, image generation, and intelligent task management built with React, TypeScript, and modern AI APIs.
Intelligent conversational AI with context-aware responses
Create stunning AI-generated images from text prompts
All-in-one AI assistant for productivity and creativity
- 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
- 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
- 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
- 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
Make sure you have the following installed:
- Node.js (v18 or higher)
- npm or yarn
- Git
-
Clone the repository
git clone https://github.com/Ibrahim2656/AI-Assistant-Pro.git cd AI-Assistant-Pro -
Install dependencies
npm install # or yarn install -
Set up environment variables
Create a
.envfile 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
-
Start the development server
npm run dev # or yarn dev -
Open your browser
Navigate to
http://localhost:5173
- React 18.3 - UI library
- TypeScript 5.6 - Type-safe JavaScript
- Vite 6.0 - Next-generation frontend tooling
- Tailwind CSS - Utility-first CSS framework
- Anthropic Claude - Advanced conversational AI
- OpenAI API - GPT models for chat and image generation
- Custom Embedding Service - Semantic search and context
- React Hooks - Modern state management
- Context API - Global state handling
- LocalStorage - Client-side data persistence
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
// 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?");// Create an image from a text prompt
const image = await generateImage({
prompt: "A futuristic city at sunset",
style: "photorealistic",
size: "1024x1024"
});// Set a reminder using natural language
await createReminder({
text: "Team meeting at 3 PM tomorrow",
context: currentConversation
});- Get your API key from Anthropic Console
- Add to
.env:VITE_ANTHROPIC_API_KEY=your_key_here
- Get your API key from OpenAI Platform
- Add to
.env:VITE_OPENAI_API_KEY=your_key_here
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch
git checkout -b feature/amazing-feature
- Commit your changes
git commit -m 'Add some amazing feature' - Push to the branch
git push origin feature/amazing-feature
- Open a Pull Request
- Follow the existing code style
- Write meaningful commit messages
- Add tests for new features
- Update documentation as needed
- Ensure all tests pass before submitting
This project is licensed under the MIT License - see the LICENSE file for details.
- 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
- GitHub: @Ibrahim2656
- Issues: Report a bug
- Discussions: Join the conversation
- 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
If you find this project useful, please consider giving it a star on GitHub! It helps others discover the project and motivates continued development.
Built with β€οΈ by Ibrahim