Mercurious.ai is a revolutionary AI-powered learning platform that transforms any YouTube video into a comprehensive learning experience. Using advanced AI technology including Google's Gemini AI, the platform automatically generates summaries, study guides, interactive chat assistance, and personalized learning content.
- YouTube Integration: Process any YouTube video by simply pasting the URL
- AI-Powered Transcription: Automatic transcript extraction and processing
- Content Analysis: Deep AI analysis of video content using Google Gemini
- Smart Summarization: Generate concise, structured summaries
- Key Concepts Extraction: Identify and highlight important concepts and terms
- Interactive Chat: Ask questions about video content and get intelligent responses
- Contextual Understanding: AI maintains context of the video content during conversations
- Study Guide Generation: Automatically create comprehensive study guides
- Vocabulary Extraction: Identify and define important terms
- Learning Analytics: Track learning progress and comprehension
- Intelligent Quiz Generation: AI-generated quizzes tailored to video content using Google Gemini
- Customizable Quiz Settings: Configure number of questions (3-15) based on your learning needs
- Multiple Question Types: Factual recall, conceptual understanding, and application-based questions
- Interactive Quiz Interface: Clean, user-friendly interface with keyboard navigation support
- Real-time Progress Tracking: Visual progress bar showing completion status
- Detailed Results & Analytics: Comprehensive score breakdown with performance insights
- Quiz History: Track all quiz attempts with trend analysis and performance metrics
- Statistics Dashboard: View overall performance, best scores, averages, and learning insights
- Smart Recommendations: AI-powered suggestions for improvement based on performance
- Video Library Management: Organize and manage your processed videos
- Progress Tracking: Monitor your learning progress across all videos
- Favorites System: Mark and organize your favorite learning content
- Search & Filter: Quickly find videos by title, content, or progress status
- Notes Management: Take and save personal notes for each video
- Firebase Authentication: Secure user authentication and authorization
- Protected Routes: Secure access to personal learning content
- User Profiles: Personalized user accounts and settings
- Data Privacy: Secure storage of user data and learning progress
- Responsive Design: Seamless experience across desktop and mobile devices
- Dark/Light Mode: Customizable theme preferences
- Professional UI: Modern, intuitive interface built with Tailwind CSS
- Performance Optimized: Virtual scrolling and optimized rendering
- Real-time Updates: Live updates and notifications
We are actively working to make Mercurious.ai even better! Here are some features planned for future releases:
- βοΈ User Settings: Personalize your experience with theme, notification, and privacy preferences
- π€ Profile Management: Edit your profile, view learning stats, and manage your account
- π Notes Editor: Rich text note-taking and annotation tools for each video
- π Analytics & Insights: Visualize your learning progress and achievements
- π Notifications: Stay updated with reminders and learning milestones
- π‘οΈ Admin Panel: Manage users, content, and platform analytics
- π Multi-language Support: Learn in your preferred language
- π± Mobile App: Native mobile experience for iOS and Android
- π Social Sharing: Share your learning progress and favorite videos
- π§βπ€βπ§ Community Features: Discussion forums, study groups, and peer support
backend/
βββ app/
β βββ main.py # FastAPI application entry point
β βββ dependencies.py # Authentication & database dependencies
β βββ models/ # Pydantic data models
β β βββ user.py # User authentication models
β β βββ video.py # Video processing models
β β βββ chat.py # Chat interaction models
β β βββ quiz.py # Quiz generation models
β βββ routers/ # API route handlers
β β βββ auth.py # Authentication endpoints
β β βββ videos.py # Video processing endpoints
β β βββ chat.py # Chat interaction endpoints
β β βββ quiz.py # Quiz generation and submission endpoints
β βββ services/ # Business logic services
β β βββ auth_service.py # User authentication service
β β βββ video_services.py # Video processing service
β β βββ transcript_services.py # AI transcript processing
β β βββ chat_service.py # Chat interaction service
β β βββ quiz_service.py # Quiz generation and evaluation service
β β βββ video_database_service.py # Database operations
β βββ config/ # Configuration files
β β βββ firebase_config.py # Firebase configuration
β βββ utils/ # Utility functions
βββ requirements.txt # Python dependencies
frontend/mercurious/
βββ src/
β βββ app/ # Next.js App Router
β β βββ page.tsx # Landing page
β β βββ dashboard/ # User dashboard
β β βββ process/ # Video processing interface
β β βββ video/[id]/ # Video viewer and chat
β β βββ layout.tsx # Root layout
β βββ components/ # Reusable UI components
β β βββ Auth/ # Authentication components
β β βββ Quiz/ # Quiz components
β β β βββ QuizGenerator.tsx # Quiz generation interface
β β β βββ QuizInterface.tsx # Interactive quiz taking interface
β β β βββ QuizResults.tsx # Quiz results and analytics
β β β βββ QuizHistory.tsx # Quiz attempt history
β β β βββ QuizStatistics.tsx # Performance statistics
β β βββ ChatAssistant.tsx # AI chat interface
β β βββ ProtectedRoute.tsx # Route protection
β βββ contexts/ # React contexts
β β βββ AuthContext.tsx # Authentication context
β βββ lib/ # Utilities and configurations
β β βββ api/ # API client and services
β β βββ firebase/ # Firebase configuration
β βββ styles/ # Global styles
βββ package.json # Node.js dependencies
βββ tsconfig.json # TypeScript configuration
- FastAPI: High-performance Python web framework
- Python 3.9+: Modern Python with async/await support
- Firebase Admin SDK: Server-side Firebase integration
- Google Generative AI: Gemini AI for content processing
- YouTube Transcript API: Video transcript extraction
- Pydantic: Data validation and serialization
- Uvicorn: High-performance ASGI server
- Next.js 15: Latest React framework with App Router
- TypeScript: Type-safe JavaScript development
- React 19: Latest React with modern features
- Tailwind CSS: Utility-first CSS framework
- Firebase SDK: Client-side Firebase integration
- React Icons: Comprehensive icon library (Font Awesome, Material Design)
- React Window: Virtual scrolling for performance
- Firebase Auth: User authentication and authorization
- Firebase Firestore: NoSQL document database
- Google Cloud: AI and infrastructure services
- YouTube Data API: Video metadata and information
- Node.js 18+ and npm
- Python 3.9+ and pip
- Firebase Project with Auth and Firestore enabled
- Google AI API Key (Gemini)
- YouTube Data API Key
- Clone the repository
git clone https://github.com/mrnithesh/Mercurious-ai.git
cd Mercurious-ai- Backend Setup
cd backend
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Create .env file
cp .env.example .env- Configure Environment Variables
# Backend .env
GEMINI_API_KEY=your_gemini_api_key
GEMINI_MODEL=gemini-2.5-flash
YOUTUBE_DATA_API=your_youtube_api_key
FIREBASE_PROJECT_ID=your_firebase_project_id
FIREBASE_SERVICE_ACCOUNT_PATH=path_to_firebase_service_account_json
JWT_SECRET_KEY=your_secret_key
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=3600
- Frontend Setup
cd frontend/mercurious
# Install dependencies
npm install
# Create environment file
cp .env.local.example .env.local- Configure Frontend Environment
# Frontend .env.local
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_firebase_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id- Start the Backend
cd backend
uvicorn app.main:app --reloadBackend will be available at http://localhost:8000
- Start the Frontend
cd frontend/mercurious
npm run devFrontend will be available at http://localhost:3000
- Access the Application
- Open
http://localhost:3000in your browser - Create an account or sign in
- Start processing YouTube videos!
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Have a feature request? Open an issue or contact us on LinkedIn!
This project is licensed under the GNU General Public License v3.0 (GPLv3) - see the LICENSE file for details.
- Google AI for Gemini AI technology
- Firebase for authentication and database services
- YouTube for video platform and API access
- FastAPI and Next.js communities for excellent frameworks
- Open Source Community for various libraries and tools
For support, contact on linkedin Nithesh K!
Built with β€οΈ by Nithesh K
Making learning more accessible and engaging through AI
