A Chrome Extension with Spring Boot backend that summarizes selected text using Google Gemini AI and stores notes locally.
Chrome Extension ←→ Spring Boot Backend ←→ Google Gemini API- Select text on any webpage
- Click "Summarize" in the extension side panel
- Backend sends text to Gemini API for processing
- Summary appears in the side panel
- Optionally save notes (stored locally in browser)
- Export and import notes (stored in JSON file)
BrieflyAI/
├── extension/ # Chrome Extension (Manifest V3)
│ ├── manifest.json
│ └── src/
│ ├── sidepanel.html
│ ├── sidepanel.js
│ ├── sidepanel.css
│ └── background.js
└── server/ # Spring Boot 4.0.0 (Java 21)
├── pom.xml
└── src/main/java/- Java 21
- Chrome browser
- Google Gemini API key (Get one here)
cd server/
./mvnw spring-boot:runcd server/
docker build -t brieflyai .
docker run -p 8080:8080 brieflyaiBackend runs at http://localhost:8080
- Open
chrome://extensions/ - Enable "Developer Mode"
- Click "Load unpacked" → select
extension/folder - Pin extension to toolbar
- Select text on any webpage
- Open BrieflyAI side panel
- Enter your Gemini API key
- Click "Summarize"
POST /api/process
{
"content": "Text to summarize",
"operation": "summarize",
"apiKey": "your-gemini-api-key"
}Returns plain text summary.
curl -X POST http://localhost:8080/api/process \
-H "Content-Type: application/json" \
-d '{
"content": "Your text here",
"operation": "summarize",
"apiKey": "your-api-key"
}'- Go to any webpage with text
- Select some text
- Open extension side panel
- Click "Summarize"
- AI Summarization: Powered by Google Gemini
- Local Notes: Save research notes per URL (stored in browser)
- Privacy: Notes never leave your browser
- No Account: Works entirely locally
