Back to browse
GitHub Repository
7 starsTypeScript

Lexio – AI-Native PDF Reader (Ollama, Claude, OpenAI, Gemini)

by nikodemseb·Mar 4, 2026·2 points·0 comments

AI Analysis

●●SolidSolve My ProblemCozy

PDF-native AI chat beats copy-paste workflow, but specialized readers crowding fast.

Strengths
  • Full document context in system prompt is genuinely better UX than snippet-only chat.
  • Annotation-to-comment feature tethers insights directly to PDF, not lost chat history.
  • Clean provider abstraction (Ollama, Claude, OpenAI, Gemini) + 50-line extensibility.
Weaknesses
  • Prototype stage (only 7 commits) means core features like save/load likely unpolished.
  • PDF + AI chat combo now has multiple competitors (Adobe Acrobat AI, specialized tools).
Category
Target Audience

Researchers, students, knowledge workers reading PDFs daily with AI assistants

Similar To

Adobe Acrobat AI · ChatPDF · Explainpaper

Post Description

I built Lexio because the standard workflow is broken: copy text from your PDF, switch to a chat window, paste context, explain what you're reading, get an answer, switch back. Repeat forever.

The core idea: AI should live inside the reader, not beside it. Select any passage, hit "Ask AI", and get a response grounded in the entire document. But the feature I'm most proud of: you can summarize your entire AI conversation and attach it directly as a comment on the PDF — so your insights stay with the document, not lost in some chat history.

AI backends: - Ollama — local, fully offline, nothing leaves your machine - Claude, OpenAI, Gemini — cloud via API key - Clean provider abstraction, ~50 lines to add a new backend

Full document context is passed in the system prompt (not just the selected snippet), streaming responses throughout, multiple conversations per document.

Stack: Electron, React, PDF.js, Zustand, TypeScript.

Repo: https://github.com/nikodemseb/lexio

Happy to talk through the architecture or the annotation-to-PDF pipeline.

Similar Projects

Developer Tools●●Solid

I built a desktop app combining Claude, GPT, Gemini with local Ollama

Hybrid pipeline splits reasoning (cloud) and execution (local), but multi-model orchestration is becoming crowded.

Solve My ProblemSlick
tsunamayo
113mo ago
AI/ML●●Solid

Axon – Agentic AI with mandatory user approval and audit logging

Agent approval gates and audit logs beat open-source alternatives, but multi-agent governance isn't novel.

Solve My ProblemBig Brain
NeuroVexon
123mo ago