📈 GH Trending Explorer 🎲 Surprise me

← all repos

Nutlope / gloss

git clone https://github.com/Nutlope/gloss.git

A reader that writes answers in the margin. Select any line, ask, and an open model on Together AI answers beside it.

+6
stars, 24h · #5,099
+~21
stars, 7 days · #7,739
+308
stars, 30 days · #2,670
308
★ total · +7% this week
58
forks · 8 open issues

Star history (as recorded here)

2026-10-20 · 299 ★ 2026-10-23 · 308 ★
LanguageTypeScript
License—
Created2026-10-09 (13d ago)
Last push3d ago
Watchers1
OwnerUser

Links

README excerpt
Gloss 
 An open source AI reader for articles and PDFs. Select any line, ask a question, and get a cited answer in the margin. Powered by Together.ai.
## Tech stack
- DeepSeek V4.1 Flash and Kimi K3 for the LLMs
- Together AI for LLM inference
- Exa for web search
- LiteParse for in-browser PDF parsing, with Qwen on Together for scanned pages
- Clerk for optional auth and Neon for syncing your library
- Next.js app router with Tailwind
## Cloning & running
1. Clone the repo: `git clone https://github.com/Nutlope/gloss`
2. Create a `.env.local` file (use `.env.example` for reference) and add your API keys:
 - **Together AI API key**: `TOGETHER_API_KEY=`
 - **Database URL** from Neon: `DATABASE_URL=`
 - **Clerk keys** from Clerk: `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=` and `CLERK_SECRET_KEY=`
 - **Exa API key** (optional, for web search): `EXA_API_KEY=`
3. Run `npm install` and `npm run db:migrate` to install dependencies and create the tables
4. Run `npm run dev` and open http://localhost:3100
## Future Tasks
- [ ] Ship it as a browser extension that opens the same margin on any page
- [ ] Let a gloss compare two passages you pick at once
- [ ] Move the shared-key rate limit to a store like Upstash so it holds across instances