Repolode
Nutlope

Nutlope/gloss

An open source AI reader for articles and PDFs that answers questions about selected text in the margin, with citations.

Stars
297
Forks
55
Open issues
7
Last commit
5 days ago

What is it?

Gloss is a reading app for articles and PDFs. You select any line, ask a question, and an open model answers in a margin note beside the text, with citations to the source. It is built on Together AI for LLM inference.

PDFs are parsed in the browser with LiteParse, and scanned pages are handled by Qwen on Together. Answers can draw on web search through Exa, which is optional. The app uses DeepSeek V4.1 Flash and Kimi K3 as its LLMs.

The stack is Next.js with the app router and Tailwind. Clerk provides optional sign-in, and Neon stores a synced library. Running it locally requires a Together AI key, a Neon database URL and Clerk keys, with an Exa key added if you want web search.

Key features

  • 01Select any line of an article or PDF and ask a question about it
  • 02Answers appear in the margin with citations to the source text
  • 03PDFs are parsed in the browser, with Qwen handling scanned pages
  • 04Optional web search through Exa
  • 05Optional sign-in with Clerk and library sync through Neon

Use cases

  • Reading long research papers and asking clarifying questions inline
  • Studying dense articles or PDF textbooks with cited explanations
  • Building a self-hosted AI reading tool on Together AI

Topics

FAQ

What is gloss?
An open source AI reader for articles and PDFs that answers questions about selected text in the margin, with citations. Gloss is a reading app for articles and PDFs. You select any line, ask a question, and an open model answers in a margin note beside the text, with citations to the source. It is built on Together AI for LLM inference.
Is gloss free to use? What license does it have?
gloss has no declared license. Its code is public, but without a license you have no explicit permission to reuse it; ask the author before relying on it.
Is gloss still maintained?
Actively maintained. The last commit to gloss was on Oct 15, 2026.
What can I use gloss for?
Reading long research papers and asking clarifying questions inline Studying dense articles or PDF textbooks with cited explanations Building a self-hosted AI reading tool on Together AI
Where can I get gloss?
The source code and installation instructions are on GitHub: https://github.com/Nutlope/gloss

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects