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

- 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.
git clone https://github.com/k-kochhar/Kaia.git
cd Kaia
- Open Google Chrome.
- Navigate to
chrome://extensions/
. - Enable Developer Mode (toggle in the top right).
- Click "Load Unpacked" and select the project folder.
This extension uses Google's Gemini AI for bias detection. To use it, you need to set up an API key:
- Go to Google AI API Console and create a new API key.
- Open
popup.js
and replace:
const API_KEY = "";
with your actual API key:
const API_KEY = "your-api-key-here";
- Open any webpage that you want to analyze.
- Click on the extension icon in the Chrome toolbar.
- 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.
- JavaScript (Popup & Background Scripts)
- Chrome Extensions API (Tab Content Extraction)
- Google Gemini AI (Bias Detection & Analysis)
- HTML & CSS (Popup UI)