ReadItGo
An e-book and video library for students, on the web or installed as an app, with read-aloud that highlights word by word.
- Role
- Wrote nearly all of the front end, plus the read-aloud API work
- Stack
- Next.js · next-pwa · IndexedDB · ElevenLabs

- Problem
- Students needed to hear and see the current word together, and read without a connection.
- What I did
- Built word-synced read-aloud, offline reading, and AI-made quizzes.
How it works
- 01
Word-by-word read-aloud
ElevenLabs audio cached on the server with word timings.
- 02
Offline reading
A PWA that stores e-books and audio on the device.
What went wrong — and how I fixed it
Real problems from the commit history, not a highlight reel.
- 01Problem
ElevenLabs timing data didn’t match expectations (0 words, 0 ms duration).
How I fixed itBuild word timings from the character arrays and take duration from the last end time.
- 02Problem
The highlight drifted from the voice.
How I fixed itFixed an ms/seconds mismatch, cut the lead to 0.02 s and used binary search for word lookup.
- 03Problem
Students needed to read without a connection.
How I fixed itE-books in IndexedDB with download progress, storage checks and an online/offline indicator.
- 04Problem
AI-made quizzes kept the right answer on the same letter.
How I fixed itValidate at least 3 answer positions across 5 questions, with retries.
Screens
5 screens · click to enlarge- The app’s front end
- Read-aloud and the offline PWA