Inspiration

My inspiration came from the fact that I always learned better when I listened to someone explaining information, rather than reading about it on my own.

What it does

It takes in lecture slides as a PDF and will generate an audio file, which teaches you the material as if the professor was there with you.

How we built it

It was built using the following:

  • FastAPI server that handles uploads, lecture processing.
  • PyPDF2 which extracts text from uploaded PDF slide decks
  • Google Gemini API which generates slide transcripts and synthesizes audio.
  • React and Shadcn for the frontend ## Challenges we ran into Originally, I wanted the lecture to be dynamic where users can interrupt and ask questions, and the lecturer would stop lecturing, answer question, then continue on with the lecture the same way a real lecture would flow, but due to issues with websockets, and getting the full lecture to be played without ending prematurely, it was later switched to just creating a recording that you can listen to. ## Accomplishments that we're proud of Getting the lecture recording to be generated and to clearly go through the material, including diagrams. ## What we learned That having a good understanding of how websockets works would have help avoid the problem we faced. That good research before coding could help prevent roadblocks. ## What's next for LectureBuddy Fix the issues faced by websockets to be able to play the lecture live, as well as add persistence and question box so that users can save their previous lecture recordings, and ask questions while the lecture is being played live.

Built With

Share this project:

Updates