Upload and manage your lecture recordings with AI-powered chapter generation, study notes, and Q&A — powered by TwelveLabs AI.
HootHive is an AI-powered learning assistant designed for students.
Instead of relying on YouTube links, students can upload their own lecture recordings (in bulk), and HootHive will automatically:
- Generate chapter timestamps for each lecture
- Create summaries and structured notes
- Build study packs (flashcards, quizzes, and PDFs)
- Provide a Q&A interface to quickly find relevant lecture segments
- Share lecture notes, timestamps, and PDFs directly in Discord with HootBot
Perfect for students who need to manage a large library of lectures, HootHive turns raw video files into organized, searchable, and shareable study material.
- Bulk Lecture Uploads: Upload multiple lecture files at once (MP4, MOV, MKV, etc.)
- Automatic Chapter Generation: AI detects logical breaks (topics, sections) in each lecture
- Lecture Management Dashboard: View, search, and organize all uploaded lectures
- Video Segmentation: Export specific sections as downloadable clips
- Lecture Summaries: Short, medium, and detailed summaries for each lecture
- Chapterwise Notes: Auto-generated notes per topic/section
- Highlight Extraction: Capture the most important insights and examples
- Study Pack Builder:
- Flashcards (Q/A style)
- Quizzes (MCQs and short-answer)
- Topic-based study guides
- PDF Export: Bundle notes, summaries, flashcards, and quizzes into downloadable PDFs
- Natural Language Questions: e.g., “Where does the professor explain recursion?”
- Relevant Segment Retrieval: Exact timestamps and snippets returned from your lectures
- Confidence Scoring: Results ranked by accuracy (0–100%)
- Auto-Snippets: Convert retrieved lecture parts into mini-clips
- Multi-modal Search: Works across audio (speech), visuals (slides), and transcripts
- HootBot Integration: Connects HootHive with your study group’s Discord server
- Lecture Sharing: Post summaries, PDFs, and flashcards directly to a channel
- Group Study Mode: Collaborate on shared notes and highlight important parts together
- Slash Commands: e.g.,
/hoothive search <lecture> <query>to quickly retrieve answers
- Bulk Processing Queue: Upload multiple lectures and track their status
- Live Progress Bars: See upload and analysis progress for each lecture
- Instant Q&A: Low-latency answers to your questions
- Frontend: Streamlit
- AI / Multimodal: TwelveLabs AI Platform
- Video Processing: MoviePy
- Backend: Python (FastAPI optional for batch APIs)
- Config: dotenv for environment variables
- Integrations: Discord.py (HootBot), MongoDB Atlas (lecture metadata & indexing), AWS/GCP storage
- Python 3.8+
- TwelveLabs account + API key
- Git
- (Optional) Discord bot token for HootBot
- (Optional) MongoDB Atlas for persistent lecture storage
``
git clone https://github.com/notzabir/Hack_Rice.git
cd HootHive-Lecture-QA
pip install -r requirements.txt
HootHive Demo -
https://www.youtube.com/watch?v=aJLemxw8aEg
🎯 Chapter Generation: Automatically detect and create timestamps with highlights for video chapters.
🔍 Content Segmentation: Identify key points in the video based on its content.
🚀 Streamlined Navigation: Enhance the viewing experience with clickable chapters for easier navigation.
- Frontend: Streamlit
- Backend: Python
- Deployment: Streamlit Cloud
To run HootHive locally, follow these steps -
git clone https://github.com/notzabir/Hack_Rice.gitStep 2 -
Install dependencies:
cd Hack_Rice
pip install -r requirements.txtStep 3 -
Set up your Twelve Labs account -
Create an account on the Twelve Labs Portal Navigate to the Twelve Labs Playground Create a new index, select Marengo 2.6 and Pegasus 1.1
Step 4 -
Get your API Key from the Twelve Labs Dashboard Find your INDEX_ID in the URL of your created index
Step 5 -
Configure the application with your API credentials:
- Copy the
.env.examplefile to.env:
cp .env.example .env- Edit the
.envfile and add your credentials:
API_KEY=your_twelvelabs_api_key_here
INDEX_ID=your_index_id_hereImportant: Never commit your .env file to version control. It's already included in .gitignore.
Step 6 -
Run the Streamlit application
streamlit run app.pyStep 7 -
Access the application at:
http://localhost:8501/