A comprehensive AI-powered productivity platform built with Next.js and Node.js, featuring real-time chat with Gemini AI, image generation, code assistance, and more.
- Real-time chat with Google Gemini AI
- Conversation history management
- Multiple chat modes (Creative, Balanced, Precise)
- Message regeneration and copying
- AI-powered image creation
- Multiple art styles (Realistic, Artistic, Anime, Cartoon, Abstract)
- Various image sizes and quality options
- Gallery management and sharing
- AI code generation for multiple languages
- Code debugging and optimization
- Support for JavaScript, Python, TypeScript, React, and more
- Code history and download functionality
- Secure authentication system
- User profile management
- Activity statistics
- Settings and preferences
- Next.js 16 - React frameworks
- TypeScript - Type safety
- Tailwind CSS - Styling
- Framer Motion - Animations
- Lucide React - Icons
- Google Generative AI - AI integration
- Node.js - Runtime environment
- Express.js - Web framework
- TypeScript - Type safety
- JWT - Authentication
- MongoDB - Database (planned)
MindFlow AI - Productivity Platform/
βββ frontend/ # Next.js frontend application
β βββ src/
β β βββ app/ # App router pages
β β β βββ api/ # API routes
β β β βββ dashboard/ # Dashboard page
β β β βββ signin/ # Sign in page
β β β βββ signup/ # Sign up page
β β βββ components/ # Reusable components
β β βββ lib/ # Utility functions
β βββ public/ # Static assets
β βββ package.json # Frontend dependencies
βββ backend/ # Node.js backend application
β βββ src/
β β βββ controllers/ # Route controllers
β β βββ middleware/ # Custom middleware
β β βββ models/ # Data models
β β βββ routes/ # API routes
β β βββ utils/ # Utility functions
β βββ package.json # Backend dependencies
βββ README.md # Project documentation
- Node.js 18+
- npm or yarn
- Google AI API key
-
Clone the repository
git clone https://github.com/AHMAD-JX/MindFlowAI-Productivity-Platform.git cd MindFlowAI-Productivity-Platform -
Install frontend dependencies
cd frontend npm install -
Install backend dependencies
cd ../backend npm install -
Set up environment variables
Create
.env.localin the frontend directory:GEMINI_API_KEY=your_gemini_api_key_here NEXT_PUBLIC_APP_URL=http://localhost:3000
-
Start the development servers
Frontend (Terminal 1):
cd frontend npm run devBackend (Terminal 2):
cd backend npm run dev -
Open your browser Navigate to
http://localhost:3000
- Visit Google AI Studio
- Create a new API key
- Add the key to your
.env.localfile
GEMINI_API_KEY- Your Google Gemini API keyNEXT_PUBLIC_APP_URL- Application URL
- Navigate to the Dashboard
- Select "AI Chat" from the sidebar
- Start a conversation with the AI assistant
- Use different modes for various response styles
- Go to "Image Generation" section
- Describe your desired image
- Choose style, size, and quality
- Generate and download your images
- Access the "Code Assistant" section
- Describe the code you need
- Select programming language and complexity
- Generate, copy, or download the code
- Modern Design - Clean, professional interface
- Dark/Light Mode - Adaptive theming
- Responsive Layout - Works on all devices
- Smooth Animations - Enhanced user experience
- Cursor AI Style - Familiar chat interface
- JWT-based authentication
- Secure API key handling
- Input validation and sanitization
- Error handling and logging
- Connect your GitHub repository to Vercel
- Set environment variables in Vercel dashboard
- Deploy automatically on push
- Connect your repository
- Set environment variables
- Deploy with automatic builds
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add 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.
AHMAD JX
- GitHub: @AHMAD-JX
- Project: MindFlow AI
- Google Gemini AI for powerful language models
- Next.js team for the amazing framework
- Tailwind CSS for beautiful styling
- All open-source contributors
Built with β€οΈ by AHMAD JX




