Inspiration
I wanted a way to answer a question I kept coming back to while reading research papers: “I understand this sentence, but how does it fit into the rest of the paper?” A summary could help me get started, but checking it meant scrolling through the PDF to find the passage again. I built PaperAlive so I could follow an idea visually and still see the words it came from.
What it does
PaperAlive turns a readable research PDF into an interactive reading room. Upload your own paper, paste a passage, or start with one of three prepared papers in mathematics, biology, and AI.
In the Visual atlas, click a concept to inspect its explanation and supporting passage. Section studio lets you focus on one part of the paper at a time. In Original paper, you can highlight a difficult sentence and ask the assistant to explain that selection. When you think you understand the idea, open Check yourself, answer a question, and compare your reasoning with the source.
My favorite example is the mathematics paper. You can predict what happens when a quantity doubles, change the growth ratio, and watch the curve respond. Then you can open the passage that introduces the equation and read it with that picture in mind.
How I built it
I built the interface with Next.js, React, and TypeScript. PDF.js extracts text from uploaded papers. The backend groups that text into passages and gives each passage an ID. When Groq generates an explanation, diagram, or question, it returns structured data with references to those IDs. Zod checks the response structure, and the app looks for the quoted text in the referenced passage. React Flow renders the interactive concept diagrams. The frontend runs on Vercel and the backend runs on Render.
Challenges and what I learned
Testing with a real medical-electronics paper exposed problems the prepared samples had hidden. The PDF parser picked up a journal header as a section, and a diagram ended up explaining the header. Later, the upload produced questions, but the assistant’s quiz tab was empty because it was reading from a different record. I improved section detection, connected the quiz to the upload analysis, and added source-based recall questions that work while the AI response is pending.
The most important lesson was that finding an exact quote and interpreting it correctly are two different problems. That shaped the design: readers can inspect the passage behind an explanation and decide whether the interpretation holds up.
What’s next
I want to improve figure and table extraction so readers can explore more of the visual evidence already present in a paper. I also want to test PaperAlive with students and researchers on papers they choose themselves. That’s how I found the most useful improvements so far.
Built With
- gpt-oss-120b
- groq
- next.js
- node.js
- pdf.js
- react
- react-flow
- three.js
- typescript
- vercel
- zod