Inspiration
It's 1 a.m., your midterm is tomorrow, and you're staring at hours of recorded lectures trying to find that one explanation your professor gave weeks ago.
Was it in Lecture 3? Lecture 7? Or somewhere in the middle of a two-hour recording?
As university students ourselves, we know how overwhelming it can be to balance exams, assignments, work, and everything else happening outside the classroom. The last thing we need is to spend 40 minutes searching for a five-minute explanation.
That's what inspired TimeStamp.
We wanted to create something that solves a problem we've personally experienced and makes studying a little less stressful for students like us.
What it does
TimeStamp is designed to help university students find information without rewatching hours of recorded lectures.
Students can search their lecture library using everyday questions, such as:
"Which lecture did my professor explain the difference between correlation and causation?"
TimeStamp aims to identify the relevant lecture and timestamp, allowing students to jump directly to the explanation they're looking for.
Our goal is simple: Less time searching, more time learning.
How we built it
TimeStamp runs entirely on free tools, because we built it with zero budget.
- Backend: Python and FastAPI.
- Transcription: ffmpeg extracts the audio, then Groq's hosted Whisper transcribes it with word-level timestamps. If there's no key or Groq fails, it falls back to
faster-whisperrunning locally. - Search: the transcript is split into timestamped chunks, embedded locally with
sentence-transformers(all-MiniLM-L6-v2) and stored in Chroma. - Q&A: a question retrieves the most relevant excerpts, and an LLM on Groq's free tier (with Ollama as a local backup) answers using only those excerpts. The model picks excerpt IDs; the backend validates them and attaches the real timestamps.
- Topic timeline: we compare embeddings of neighbouring sentences to find where the topic shifts, then the LLM refines the boundaries and names each section.
- Frontend: React and Vite, with a custom video player whose seek bar is the colored topic timeline, and a Q&A panel where each numbered citation jumps the video to that moment.
We agreed on a shared API contract in the first hour and split the work three ways: ingestion, search and LLM, and frontend. We used mocks and stubs to build in parallel.
Challenges we ran into
- Timestamps that actually land on the right moment. Early answers linked to the start of a long chunk, not to the sentence being cited. We rebuilt timing around word-level timestamps and sentence excerpts so links land where the professor starts the explanation.
- Keeping the LLM honest. Smaller models invented citations or cited sources for off-topic questions. We stopped trusting timestamps from the model: it only selects excerpt IDs, and anything invalid is rejected.
- Speed. Local transcription on a CPU was too slow for a live demo. Moving to Groq Whisper with a batched local fallback fixed that.
- Free-tier limits. Rate limits and prompt size caps forced us to add retries, a backup provider and bounded requests for long lectures.
- Concurrency bugs. Background transcription plus simultaneous requests exposed race conditions in the vector store that we had to serialize.
Accomplishments that we're proud of
- A full working pipeline: upload a lecture, and get a transcript, a topic timeline and timestamped answers.
- Citations grouped by topic section, each one a clickable link that seeks the video.
- It costs nothing to run.
- Graceful fallbacks everywhere: if a provider fails, the app degrades instead of breaking.
- A real test suite and CI, in a hackathon project.
What we learned
- Retrieval-augmented generation is easy to demo and hard to make trustworthy; validation matters more than the prompt.
- Agreeing on a contract and mock data early is what let three people work without blocking each other.
- Caching expensive results (transcripts, timelines, sections) is essential when every model call is slow or rate-limited.
- Free tiers and local models go surprisingly far when correctly optimized.
What's next for TimeStamp
- Search across a whole course, so one question finds the right lecture and the right moment.
- Slide and whiteboard understanding, to match what's on screen with what's said.
- Integration with lecture platforms such as YouTube, Zoom and university LMS recordings.
- Study tools built on the transcript: summaries, flashcards and practice questions per topic.
- Accounts and shared course libraries, so a class can benefit from one upload.
Built With
- chromadb
- fastapi
- faster-whisper
- ffmpeg
- github-actions
- groq
- javascript
- ollama
- pytest
- python
- react
- sentence-transformers
- vite
- whisper