Back to home

Case study

Arc

This project is live right now

A voice study tool for blind and low-vision students: paste a link to a paper, a PDF or a lecture video, and Arc reads it aloud, then walks you through its figures, charts and formulas by key or by voice.

Won Best Use of Gemini API among 26 projects at the AI Engineer x MLH Hackathon, built solo

Who had the problem#

Ask a screen reader about a research figure and you often get one word: "image." At least 2.2 billion people live with a vision impairment, according to the World Health Organization, and the tools they are handed were built for text.

A lot of studying happens in the figure, the chart, the lecture and the formula, which is exactly where those tools go quiet. A blind student can reach every word of a paper and still miss what its main result looks like, or what the teacher drew on the board.

What I built#

I built Arc on my own. You paste a link to a paper, a PDF or a lecture video, or hold Space and say what you want to study, and Arc rebuilds the material as a page you can hear. You move through it with a few keys or with your voice: next part, go to the Attention section, say that again, faster, where am I, how much is left.

Arc goes to the parts other tools skip. For a figure, it moves its own pointer to each part, rings it and says where the part is and what it does, or you move your pointer and Arc tells you what is under it. For a chart, a tone rises and falls with the line as you sweep across it, and then Arc reads the real numbers. For a lecture, it says what is on the board in the gaps between the teacher's sentences. In a PDF, formulas are spoken as math.

You can ask the page a question by holding Space. Arc answers from the page and says so when the page does not have the answer. It can read pages behind a school login through a Chrome helper that sends only the page, never a password, and it has display settings for low vision. On a quiz it reads the questions and never gives, hints at or confirms an answer.

Arc on a desktop screen. Arc's start page: learn the page one sweep at a time, with a box to paste a link or hold Space and talk.
Arc's start page: learn the page one sweep at a time, with a box to paste a link or hold Space and talk.
Arc on a phone. Arc's start page: learn the page one sweep at a time, with a box to paste a link or hold Space and talk.
Arc's start page: learn the page one sweep at a time, with a box to paste a link or hold Space and talk.
Arc on a desktop screen. Arc tours a figure part by part: its pointer rings each part and says what it is.
Arc tours a figure part by part: its pointer rings each part and says what it is.
Arc on a phone. Arc tours a figure part by part: its pointer rings each part and says what it is.
Arc tours a figure part by part: its pointer rings each part and says what it is.
Arc on a desktop screen. Stop 3 of 6 on the same figure: the right calf has the same three parts as the thigh.
Stop 3 of 6 on the same figure: the right calf has the same three parts as the thigh.
Arc on a desktop screen. The last stop rings the smartphone app and says what runs inside it.
The last stop rings the smartphone app and says what runs inside it.

How it works#

Arc is one long-running Next.js server, because it keeps voice connections open. A link goes through Bright Data when the site blocks ordinary requests. Plain code then rebuilds the page's structure (headings, paragraphs, figures, tables and equations) into a page that can be heard, and an open-source voice called Kokoro reads it aloud from the same machine. The diagram follows one link from the paste to the sound.

One link, from the paste to the soundA link goes through Bright Data when the site blocks ordinary requests. Plain code rebuilds the page's structure into a page that can be heard, and an open-source voice called Kokoro reads it aloud. Gemini looks at figures, PDF pages and lecture video and answers questions aloud, while every paid call is counted against a daily budget.LinkBright Datawhen the site blocksordinary requestsPlain coderebuilds the page'sstructureA page that canbe heardKokoroan open-source voicereads it aloudGeminilooks at figures, PDFpages and lecturevideoDaily budgetevery paid call iscounted in dollarsOne link, from the paste to the soundA link goes through Bright Data when the site blocks ordinary requests. Plain code rebuilds the page's structure into a page that can be heard, and an open-source voice called Kokoro reads it aloud. Gemini looks at figures, PDF pages and lecture video and answers questions aloud, while every paid call is counted against a daily budget.LinkBright Datawhen the site blocksordinary requestsPlain coderebuilds the page'sstructureA page that canbe heardKokoroan open-source voicereads it aloudGeminilooks at figures, PDFpages and lecturevideoDaily budgetevery paid call iscounted in dollars
One link, from the paste to the soundDashed box: an AI model or agent
  1. A link goes through Bright Data when the site blocks ordinary requests.
  2. Plain code rebuilds the page's structure (headings, paragraphs, figures, tables and equations) into a page that can be heard.
  3. An open-source voice called Kokoro reads it aloud from the same machine.
  4. Gemini looks at figures, PDF pages and lecture video, and answers questions aloud.
  5. Every paid call is counted in dollars against a daily budget.

One rule shapes the design: code owns structure and numbers, and models only describe what code cannot read. Gemini looks at figures, PDF pages and lecture video, and answers questions aloud, but every id, count and spoken direction comes from code, and the numbers Arc says about a chart are computed from checked data points, not copied from a model's sentence.

Spoken input goes through a relay on the server to the Gemini Live API. Each browser gets two sessions, one that only reads the lines it is given and one that holds the page and answers questions, because a single session for both made the reader speak the page's context instead of its text. A local grammar matches the common commands first, and a decision model handles the rest in about a third of a second. Arc acts on a spoken request only when it is confident, and asks otherwise.

A public copy has to be safe to leave open. Every paid call is counted in dollars against a daily budget, $2 by default, and Arc degrades in steps as the day's spend grows: at half it drops extras, at 80 percent it prepares only what a student asks for, and at the limit it refuses new model calls with one spoken line while pages and stored results keep working. Each visitor has a share of the day, and a figure's tour is stored under its picture, so a figure is read once and reused for every student.

The hardest part#

The hardest problem was speed on a public host. A voice that takes longer to make a sentence than to say it leaves a blind student in silence, which Arc must never do. On two CPUs the voice was too slow to use. Measured on the hosted copy with 8 CPUs, a new sentence is ready in 0.6 to 1.6 seconds, 4 to 8 times faster than it is spoken, and the voice comes up 7 seconds after the server starts. So the voice runs on a dedicated 8-CPU server, and a smaller host can fall back to a Gemini voice at about $0.02 a minute of speech.

The second was knowing whether it works without being a blind student myself. I wrote a test setup where simulated students use Arc only by keys and voice, hear only what Arc says, and judge it only by that. Three of them found things I had missed: a thin copy of a live page, no way to go home by voice, and questions left unanswered. I fixed each. They are not a substitute for real students, and the README says plainly that feedback from blind and low-vision students is what the project needs most.

Results in numbers#

Arc won Best Use of Gemini API among 26 projects at the AI Engineer x MLH Hackathon, which MLH's own results page shows. The public copy is live, an automated check opens it every 30 minutes and makes it speak one sentence, and the Chrome helper is written so it can be listed in the Chrome Web Store.

The repo's cost script measured opening the demo paper at about $0.15, a ten-minute lecture at about $0.12 and the paid reading voice at about $0.02 a minute, so a full study session fits one visitor's daily share and a $2 day serves at least four visitors.

Behind it are 58 commits, all mine, 47 offline check files that need no keys or network, 18 browser scenarios and the 798-phrasing test of spoken requests. Every pull request has to pass the typecheck, lint, the offline checks and a production build.

Arc has not been tested by real blind students yet. So far only simulated students have used it, and there are no usage numbers, so I make no claim about users.

What's next#

The most valuable next step is feedback from blind and low-vision students and the teachers who work with them. After that: list the Chrome helper in the Chrome Web Store, translate Arc's own spoken lines (today they are English only, though pages in other languages are read in their language), and test alongside real screen readers and in Safari and Firefox.