LectureMind AI converts your lecture videos into interactive, hierarchical mind maps using Gemini 2.5 Flash and OpenAI Whisper.
- Python 3.9+
- Node.js 18+
- FFmpeg installed and in your PATH.
- Google Gemini API Key.
- Navigate to the
backenddirectory:cd backend - Create a virtual environment and install dependencies:
python -m venv venv source venv/bin/activate # or venv\Scripts\activate on Windows pip install -r requirements.txt
- Create a
.envfile from.env.exampleand add yourGOOGLE_API_KEY:cp .env.example .env
- Start the FastAPI server:
The backend will run on
python main.py
http://localhost:8000.
- Navigate to the
frontenddirectory:cd frontend - Install dependencies:
npm install
- Start the Next.js development server:
The frontend will run on
npm run dev
http://localhost:3000.
The project follows a modular AI architecture:
backend/services/speech: Audio extraction and transcription (Whisper).backend/services/summarization: AI analysis and mind map generation (Gemini, placeholder for BART).backend/services/embeddings: Future semantic clustering (placeholder for SBERT).backend/services/pipeline: Orchestration of the AI workflow.
- Frontend: Next.js 15, React 19, TypeScript, Tailwind CSS, Framer Motion, React Flow.
- Backend: FastAPI, FFmpeg, Whisper, Gemini 2.5 Flash.