Skip to content
/ Kaia Public

Chrome Extension for Analyzing News Articles via Gemini

Notifications You must be signed in to change notification settings

k-kochhar/Kaia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaia - Chrome Extension

A Chrome extension that analyzes webpage content for potential bias using Google's Gemini AI, providing a summary, bias assessment, and a bias score

Screenshot 2025-02-03 at 5 15 34 PM

Features

  • Automatic Bias Detection: Summarizes the webpage and highlights potential biases.
  • Bias Score (1-10): Rates how biased a page is (10 being extremely biased).
  • Lightweight & Fast: Runs in your browser’s popup window.

Installation

1. Clone or Download This Repository

git clone https://github.com/k-kochhar/Kaia.git  
cd Kaia 

2. Add the Extension to Chrome

  1. Open Google Chrome.
  2. Navigate to chrome://extensions/.
  3. Enable Developer Mode (toggle in the top right).
  4. Click "Load Unpacked" and select the project folder.

API Key Setup

This extension uses Google's Gemini AI for bias detection. To use it, you need to set up an API key:

  1. Go to Google AI API Console and create a new API key.
  2. Open popup.js and replace:
const API_KEY = "";

with your actual API key:

const API_KEY = "your-api-key-here";  

How to Use

  1. Open any webpage that you want to analyze.
  2. Click on the extension icon in the Chrome toolbar.
  3. The extension will automatically:
    • Fetch the webpage content
    • Send it to the Gemini API
    • Display a summary, bias analysis, and bias score in a popup.

Technologies Used

  • JavaScript (Popup & Background Scripts)
  • Chrome Extensions API (Tab Content Extraction)
  • Google Gemini AI (Bias Detection & Analysis)
  • HTML & CSS (Popup UI)

About

Chrome Extension for Analyzing News Articles via Gemini

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published