IRIS is a versatile AI assistant application that combines multiple capabilities:
- 💬 Advanced Chat Interface: Engage in natural conversations with AI
- 🖼️ Image Generation: Create images from text descriptions using DALL-E models
- 🌤️ Weather Information: Get real-time weather data for any location
- 📊 Diagram Creation: Generate and visualize diagrams using Mermaid syntax
- 📝 YouTube Transcription: Extract and analyze transcripts from YouTube videos
- 📱 Responsive Design: Works seamlessly across desktop and mobile devices
- 🌓 Dark/Light Mode: Choose your preferred theme for comfortable viewing
- Node.js 18.x or higher
- npm, yarn, or pnpm
-
Clone the repository:
git clone https://github.com/amardeeplakshkar/iris.git cd iris -
Install dependencies:
npm install # or yarn install # or pnpm install
-
Create a
.envfile in the root directory with the following variables:OPENAI_API_KEY=your_openai_api_key IMAGE_BASE_URL=https://api.openai.com/v1/images/generations -
Start the development server:
npm run dev # or yarn dev # or pnpm dev
-
Open http://localhost:3000 in your browser to see the application.
IRIS is built with modern technologies:
- Frontend: Next.js 14, React, TypeScript
- Styling: Tailwind CSS
- AI Integration: AI SDK, OpenAI API
- Diagram Rendering: Mermaid.js
- UI Components: Custom components with shadcn/ui
- API Routes: Next.js API routes for backend functionality
The main interface allows you to chat with the AI assistant. Simply type your message in the input box at the bottom of the screen and press Enter or click the send button.
To generate images, you can ask IRIS to create an image based on your description. For example:
Generate an image of a futuristic city with flying cars
Get current weather information by asking about a specific location:
What's the weather like in New York?
Create diagrams using Mermaid syntax:
Create a flowchart diagram for a user authentication process
Extract and analyze the content of YouTube videos:
Transcribe this YouTube video: https://www.youtube.com/watch?v=example
iris/
├── app/ # Next.js app directory
│ ├── api/ # API routes
│ ├── page.tsx # Main page component
├── components/ # React components
│ ├── core/ # Core application components
│ ├── ui/ # UI components
│ ├── widgets/ # Feature-specific widgets
├── lib/ # Utility functions and tools
│ ├── ai/ # AI-related functionality
│ ├── tools/ # Tool implementations
│ ├── ui/ # UI utilities
├── public/ # Static assets
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your 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
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js - The React Framework
- OpenAI - For AI models
- Mermaid.js - For diagram rendering
- shadcn/ui - For UI components
- Pollinations - For providing AI API services
Created with ❤️ by Amardeep Lakshkar

