Inspiration
Students find useful material everywhere: lecture slides, a YouTube explainer, a blog post, last year's exam. Most of it ends up scattered across tabs and downloads. When revision starts, they reread everything equally, and when they get a question wrong they rarely know why. The real gap is often an earlier concept. AI study tools help with one step at a time, and their answers are hard to check. For students with dyslexia or other reading differences, cluttered tools and long unchecked answers make it worse. We wanted one calm place that follows the student from collecting material to the exam, built only from their own resources, with a source for every claim.
A student's week with StudyNova
Asha has a neural networks midterm on Friday.
- She saves as she studies. While watching a YouTube lecture on backpropagation, she clicks the StudyNova Chrome extension, picks Neural Networks → Midterm → Backpropagation, and saves the video without leaving the tab.
- She tells StudyNova what each file is for. She uploads the professor's slides as Lecture, her own write-up as Notes, and last year's midterm as Past paper.
- She sees how the topic fits together. StudyNova builds a concept web: gradient descent, the chain rule, backpropagation and activation functions, joined by prerequisite links. She clicks a link and sees the two quotes from her own slides that support it. Behind the scenes, StudyNova reads the past paper to work out which concepts it tests.
- She practises. The questions come from her own material, and each one cites the page it came from. She gets two backpropagation questions wrong.
- She finds the real gap. StudyNova walks back through the prerequisites and shows "Likely gap: Chain rule", with the slide page that explains it.
- She revises what matters. Her revision plan puts the chain rule first and gives it the most time, because she is weakest on it and the past paper tests it.
- She can trust the answers. When she asks something her material doesn't cover, StudyNova says "not in your materials" instead of guessing.
What makes it different
1. Collect resources without breaking your flow. The Chrome extension saves the current web page or YouTube video straight into the right course, exam and module. It remembers your last choice, suggests a module from the page you're on, and captures nothing until you click save. It uses your existing StudyNova sign-in, so it never asks for or stores a password.
2. Organise by purpose, not just by file. Every resource is tagged Lecture, Notes, Past paper or Model paper, inside a course → exam → module tree shown as a mind map. Tags change what StudyNova does with a file: lectures and notes teach the concepts, and past and model papers tell StudyNova what the exam cares about.
3. Exam-focused preparation. When you add a past or model paper, Gemini maps each of its questions to the concepts in your module. Each concept's exam weight is the number of papers that test it, and revision priority combines that weight with how weak you are. The plan leads with concepts that are both weak and examined. Practice questions are grounded in your own lectures and notes, cite their source page, and come in three difficulty levels and several types (multiple choice, conceptual, numerical), plus a boss battle mode.
4. One connected path from learning to revision. Save → organise → explore the concept web → practise → find the gap → revise. The knowledge graph, citations, gap tracing and revision plan are steps in one loop. Every answer updates the readiness scores that drive the next quiz and the next plan.
Accessibility first
StudyNova was designed for students with reading differences, not adapted for them afterwards.
- A calm night-sky theme chosen for readability: a dark, low-glare palette with warm off-white text.
- A reading font, high contrast and reduced motion, remembered between visits. The reading font is Atkinson Hyperlegible Next, designed for clearer letter shapes. Every animation also respects the system's reduced-motion setting.
- Never colour alone: readiness always has an icon and a word (strong, developing, weak).
- A keyboard outline view of the whole concept web, with full keyboard navigation and visible focus.
- Read aloud for concept flashcards.
- Lecture captions that use the slides' vocabulary. Likely mis-heard technical terms ("back propagation" for backpropagation) are flagged for one-tap correction, and StudyNova learns from accepted corrections.
- Key screens are checked with automated axe accessibility tests in our browser test suite.
How we used Gemini
StudyNova is built for Gemini. Every AI step is a Gemini call with a strict JSON contract, and nothing reaches the student until our code has checked it.
- Concept extraction from slides, PDFs, web pages and notes, each concept with quoted evidence.
- Prerequisite and relationship typing between concept pairs (prerequisite, extends, contrasts), with a quote for each side.
- Grounded question generation at three difficulty levels, with citations, and two independent solutions for numerical questions.
- Past-paper analysis that maps exam questions to course concepts to set exam weights.
- YouTube video to study text, with timestamps for short videos.
- Lecture transcription that uses the slides' vocabulary, plus mis-heard-term flags.
- Cited answers and formula sheets, with a refusal when the material doesn't cover the question.
- gemini-embedding-001 embeddings to find which concepts are worth comparing.
Trust layer: every quote Gemini returns is checked in code against the cited page after normalisation. Unverified quotes, links and questions are dropped, never shown. Reliability: if a model is overloaded, rate-limited or unavailable, the service falls back to the next model within the API's time limit.
How we built it
Three modules connected by shared JSON Schema contracts and fixtures, so each of us could build and test from hour one without waiting on the others:
- AI service: Python and FastAPI on Gemini, with citation verification and model fallback.
- API: Node, TypeScript and Express on MongoDB Atlas: documents for the course tree, concepts and attempts; GridFS for original PDF and PPTX files; Atlas Vector Search to find nearest-neighbour concepts (with an identical cosine fallback); and a TTL cache so repeated AI requests are never paid for twice.
- Web app and extension: React with React Flow for the concept web, plus a Chrome MV3 extension.
- Deployment: Docker on a Vultr server behind Caddy, with automatic HTTPS at studynova.ink. GitHub Actions runs the AI, API, web, browser and contract tests on every pull request.
Security: a session login gateway with bcrypt-hashed credentials, rate limiting and origin checks; a strict Content Security Policy on the public page; uploads are checked by file signature, not extension; and link capture blocks private and internal addresses, so the server can't be pointed at itself.
Readiness weighs recent attempts more heavily. With \( a_k = 1 \) for a correct answer and \( k = 0 \) the latest attempt:
$$R_c = 100 \times \frac{\sum_k 0.8^{k}\, a_k}{\sum_k 0.8^{k}}$$
Revision priority is \( \text{examWeight} \times (100 - R_c) \), where examWeight is the number of past or model papers that test the concept (1 for every concept when no papers are added). A gap is likely when the root concept has at least two attempts and readiness below 40.
Challenges we ran into
- Trustworthy AI output: we verify every citation in code, so a quote that isn't on the cited page never reaches the student.
- Three modules in parallel: we froze the contracts early, and each module shipped a fake of its neighbour from the start.
- A browser test that passed on mocks but failed against the real API: the cause was a timing race, which we found by logging each request.
- Gemini model availability on a new key: some models weren't served to new keys, so we built a probe and a fallback chain that stays within the API's time limit.
- Animations versus accessibility: fading text in failed contrast checks mid-animation, so entrances use motion and clipping instead of transparency.
Accomplishments we're proud of
- Live at studynova.ink with HTTPS, a public landing page and secure sessions.
- The full loop works end to end: save → organise → concept web → quiz → likely gap → revision plan.
- Past papers change what students revise, not just what they can read.
- Every AI claim the student sees has a checked source.
- A contract-first workflow and a full test suite across Python, TypeScript and the browser.
What we learned
Contracts and fakes up front save hours later, an AI feature is only as credible as the checks around it, and accessibility is far easier to design in than to bolt on.
What's next
- Exam-pattern question generation. Today, past papers decide which concepts matter. Next, StudyNova will learn how they are examined, including question styles, typical difficulty and mark weighting, and generate practice questions in that pattern, still grounded in the student's own material.
- Measure citation pass rate and transcription accuracy across real courses.
- A full screen-reader audit with students who use assistive technology, and per-student accounts.
Built With
- caddy
- chrome
- docker
- express.js
- fastapi
- gemini
- github-actions
- json-schema
- mongodb
- node.js
- playwright
- pytest
- python
- react
- react-flow
- typescript
- vite
- vitest
- vultr