pranav-swarup/lattice-reader — explained in plain English
Analysis updated 2026-05-18
Read a dense research paper and get one confusing paragraph explained in plain English without losing the surrounding context.
Look up every technical term in a selected passage at once instead of searching definitions one by one.
Keep a running library of multiple documents, each with its own isolated chat history and highlights.
Ask general questions to an AI assistant mid-session without it dragging in the whole document as context.
| pranav-swarup/lattice-reader | 3imed-jaberi/cryptography-si-isamm | 3imed-jaberi/koa-isomorphic-router | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | — | 2021-09-25 | 2021-02-06 |
| Maintenance | — | Dormant | Dormant |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 2/5 |
| Audience | general | researcher | developer |
Figures from each repo's GitHub metadata at analysis time.
Needs your own API key from a provider like Google Gemini, OpenAI, Anthropic, or a local Ollama setup.
Lattice Reader is a browser tool for reading papers and long documents one piece at a time, instead of getting a summary of the whole thing dumped on you. You select a snippet of text and ask about just that piece, with the rest of the document available as context. There are two explanation modes: Basic, which restates the selected text in plain English using analogies and examples, and Define, which pulls out every technical term or symbol in the selection and explains it in light of the document around it. Each snippet you ask about becomes its own conversation thread that you can keep following up on, and you can also ask a general question without selecting any text first. A toggle lets you switch between Document mode, where the document is sent along as context, and General mode, where you get a plain assistant with no document attached. You can also highlight and annotate passages, invert PDF colors for dark mode reading, choose from several reading themes, and narrow which pages count as context so a long paper with a big appendix does not waste tokens. The tool can hold several documents at once, each in its own separate session. Lattice Reader is bring your own key: you connect your own account with Google Gemini, which has a free tier and needs no credit card, Anthropic Claude, OpenAI, OpenRouter, or a fully local Ollama setup. The whole app is static files with no server, so your key never passes through anyone else's backend, though it is still stored in the browser, which any script on the page could read. To run it yourself you need Node and npm: install dependencies and run the dev script locally, or deploy the built static files to GitHub Pages, Render, Netlify, or Vercel. It is built with JavaScript. The README also documents some internal design choices, like using prompt caching to cut repeat costs on Anthropic and rebuilding two column PDF text into proper reading order, aimed at people who might want to modify the code themselves.
A browser tool that lets you select one snippet of a paper or document at a time and get it explained or defined, instead of summarizing the whole thing at once.
Mainly JavaScript. The stack also includes JavaScript, Vite, pdf.js.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly general.
This repo across BitVibe Labs
double-check against the repo, no cap.