Skip to content

Sameen-03/RAG-based-article-summariser-browser-extension

Repository files navigation

RAG based AI Summary & Chat for Articles

This project combines a Chrome Extension and a local FastAPI server to provide real-time AI-powered summarization and chat capabilities for any web article, powered by Google Gemini through a Retrieval-Augmented Generation (RAG) approach.

cursorful-video-1749451218760.mov

Features

🔹 Chrome Extension

  • Extracts readable content from any web page.
  • Offers 3 types of summaries:
    • Brief
    • Detailed
    • Bullet Points
  • Chat with the article content using Gemini AI.
  • Local-first: No external servers needed except Gemini API.

🔹 FastAPI RAG Server

  • Handles summarization and conversational querying of article content.
  • Communicates with the Gemini API (requires your API key).
  • Built with FastAPI, aiohttp, and pydantic.

Architecture Overview

Chrome Extension → FastAPI RAG Server → Gemini API
           ↑                              ↓
      Extracted Text                AI Summaries/Answers

Tech Stack

  • FastAPI, aiohttp, pydantic
  • Google Gemini API
  • Chrome Extension APIs (Manifest V3)
  • Frontend: HTML/CSS/JavaScript (Popup & Options UI)

About

A Chrome Extension with a local FastAPI RAG server that provides real-time AI-powered summarization and chat for any web article using Google Gemini. It extracts readable content, generates summaries in multiple styles, and enables conversation with the article — all locally, with only the Gemini API as an external dependency.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors