PaperSense is an in-context research assistant Chrome Extension designed to help researchers quickly decide whether a paper is worth reading, understand key methods, and identify transferable ideas — all powered by on-device AI or Gemini API.
Get a quick overview of any research paper:
- One-liner summary of the paper's contribution
- Relevance rating based on your research interests
- Suggested reading strategy (skim, deep read, or skip)
Understand how to apply the paper's ideas:
- Abstracts the core contribution
- Suggests 2-3 concrete ways to apply it to your research domain
Select any text in a paper, right-click, and get a contextual explanation:
- Explain: Technical explanation of selected text
- Translate: Translate selected text to your preferred language
Capture and analyze figures, diagrams, or equations:
- Right-click anywhere → "Explain Visual Area with PaperSense"
- Draw a selection box around the visual content
- Get AI-powered explanation of the visual
- English
- 繁體中文 (Traditional Chinese)
- 简体中文 (Simplified Chinese)
- 日本語 (Japanese)
- Clone this repository or download the source code
- Open Chrome and navigate to
chrome://extensions - Enable Developer mode (toggle in the top right)
- Click Load unpacked and select the
paper-sensefolder - Click the PaperSense icon or open the Chrome Side Panel to start!
PaperSense supports two AI backends:
Enjoy private, free, and offline inference directly in your browser.
Requirements:
- Chrome 127 or newer
- macOS 13+ / Windows 10+ / Linux
- At least 22GB free disk space
- GPU with >4GB VRAM, or CPU with 16GB+ RAM
Setup Steps:
-
Open
chrome://flagsin your browser -
Enable the following flags:
Flag Setting #optimization-guide-on-device-modelEnabled BypassPerfRequirement #prompt-api-for-gemini-nanoEnabled #prompt-api-for-gemini-nano-multimodal-inputEnabled (for screenshot feature) -
Click Relaunch to restart Chrome
-
Open PaperSense Settings and select Gemini Nano
-
Wait for the model to download (the extension will guide you)
For more powerful inference or if your hardware doesn't support Nano.
- Get an API Key from Google AI Studio
- Open PaperSense Settings
- Select Gemini API and paste your key
- (Optional) Change the model name (default:
gemini-2.5-flash-lite) - Click Save Settings
- Configure Interests: Open Settings and describe your research area
- Visit a Paper: Navigate to arXiv, IEEE, ACL, or other academic sites
- Analyze: Click "Analyze This Paper" for Snapshot and Usage Insights
- Deep Dive: Use the chat feature to ask follow-up questions
Right-click on any webpage to access:
| Menu Item | Description |
|---|---|
| Explain with PaperSense | Explain selected text |
| Translate with PaperSense | Translate selected text |
| Explain Visual Area | Capture and analyze a screenshot region |
| Feature | Gemini Nano | Gemini API |
|---|---|---|
| Paper Analysis | ✓ | ✓ |
| Text Explanation | ✓ | ✓ |
| Text Translation | ✓ | ✓ |
| Visual/Screenshot Analysis | ✓* | ✓ |
| PDF Analysis | ✗ | ✓ |
| Offline Support | ✓ | ✗ |
| Privacy (On-device) | ✓ | ✗ |
*Requires enabling #prompt-api-for-gemini-nano-multimodal-input flag
paper-sense/
├── manifest.json # Extension manifest
├── src/
│ ├── background.js # Service worker
│ ├── content.js # Content script for page interaction
│ ├── services/ # AI service modules
│ │ ├── ai.js # Main AI interface
│ │ ├── gemini-api.js # Gemini API implementation
│ │ └── gemini-nano.js # Gemini Nano implementation
│ ├── sidepanel/ # Side panel UI
│ ├── options/ # Options page
│ ├── prompt/ # Prompt templates
│ ├── styles/ # CSS stylesheets
│ └── icons/ # Extension icons
└── README.md
- Chrome Extension Manifest V3
- Chrome Built-in AI (Prompt API) for on-device inference
- Gemini API for cloud inference
- KaTeX for LaTeX rendering
- Vanilla JavaScript (no framework dependencies)
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made.
- NonCommercial — You may not use the material for commercial purposes.
For more details, see: CC BY-NC 4.0 License
- Google Chrome Built-in AI for the Prompt API
- Google AI Studio for Gemini API access
- KaTeX for beautiful math rendering
Built with ❤️ for researchers
