Skip to content

anshuS1310/Browser-AI-Extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŒ Browser AI Extension

Your Research & Analysis Companion

A modern, local-first Chrome extension that bridges your browsing experience with high-performance Transformer models. Analyze research papers, summarize long articles, and get detailed AI-driven explanationsโ€”all from a sleek, dark-themed side panel.


โœจ Features

  • โšก Instant Snippet Analysis: Highlight any text on a webpage, and it automatically "jumps" into the AI input box with a smooth visual bounce.
  • ๐Ÿ“– Full-Page Summarization: One click extracts the entire visible content of a tab and sends it to the AI for a comprehensive, long-form breakdown.
  • ๐Ÿง  Local LLM Power: Powered by google/flan-t5-base (or small), providing "Gemini-style" detailed responses without sending data to the cloud.
  • ๐ŸŽจ Aesthetic Dark UI: A premium "Midnight Obsidian" interface with neon purple accents, frosted glass effects, and scrollable response cards.
  • ๐Ÿ”’ Privacy-Centric: Your data stays on your machine. The extension communicates only with your local Python backend.

๐Ÿ› ๏ธ Technical Architecture

  • Frontend: HTML5, CSS3 (Inter Font, Font Awesome), JavaScript (Chrome Extension MV3).
  • Backend: Python 3.x, Flask, Flask-CORS.
  • AI Engine: Hugging Face transformers library using Flan-T5.
  • Hardware: Optimized for local CPU/GPU inference with repetition penalties to ensure high-quality, non-looping output.

๐Ÿš€ Installation & Setup

1. The Python Engine (Backend)

Ensure you have Python installed, then set up the required environment:

# Install dependencies
pip install flask flask-cors transformers torch sentencepiece

# Run the server
python app.py

About

an browser extension where AI will help you to learn and understand words, paragraphs on any webpage just scan the text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors