Openleaf
AI-powered citation search & paper review for Overleaf — Chrome extension. Think Google Scholar but inside Overleaf. Also works with OpenAI Prism.
Install / Use
/learn @Demfier/OpenleafREADME
How it works
- Open any project on overleaf.com
- Click the green OpenLeaf button in the bottom-right corner
- Citations tab — click "Find Citations" to discover papers paragraph by paragraph, scored 0-100 with LLM reasoning
- Review tab — get AI feedback on your paper in Friendly (constructive) or Fire (Reviewer #2) mode
- Click + Add to append BibTeX entries to your
.bibfile automatically
Click to open OpenLeaf

Citation search — find papers paragraph by paragraph

LLM-scored results with reasoning

Friendly review — constructive mentor

Fire review — the Reviewer #2 experience

Configure your LLM and API keys

Install
Option 1: Chrome Web Store
Option 2: Download ZIP (no npm needed)
- Download
openleaf-extension-v0.1.0.zipfrom Releases - Unzip it
- Go to
chrome://extensions - Enable Developer mode (top right)
- Click Load unpacked
- Select the unzipped folder
Option 3: From source
git clone https://github.com/demfier/openleaf.git
cd openleaf
npm install
npm run build
Then load in Chrome:
- Go to
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select the
openleaffolder
Configuration
Click the extension icon → Options (or right-click → Options) to configure:
LLM Backend (for citation ranking & paper review)
Works with any OpenAI-compatible API:
| Backend | Base URL | API Key? |
|---------|----------|----------|
| Ollama (default) | http://localhost:11434/v1 | No |
| vLLM | http://your-server:8000/v1 | Optional |
| OpenAI | https://api.openai.com/v1 | Yes |
| OpenRouter | https://openrouter.ai/api/v1 | Yes |
| Together | https://api.together.xyz/v1 | Yes |
| Groq | https://api.groq.com/openai/v1 | Yes |
Ollama on Mac/Linux: By default, Ollama blocks requests from browser extensions. You need to allow Chrome extension origins before starting Ollama:
OLLAMA_ORIGINS=chrome-extension://* ollama serveTo set this permanently:
launchctl setenv OLLAMA_ORIGINS "chrome-extension://*"Then restart Ollama. Without this, the reviewer will return a 403 error.
Paper Search APIs
- Semantic Scholar — works without key (rate-limited)
- Serper (Google Scholar) — optional, skipped if no key
- OpenAlex — no key needed, email improves rate limits
Development
npm run dev # build with watch mode
After changing code, go to chrome://extensions and click the reload button on the extension.
Privacy
See PRIVACY.md. TL;DR: No data collection, no analytics, no accounts. Everything stays in your browser.
License
MIT
