Inspiration
The inspiration for this project came from the overwhelming amount of information online and the limited time we have to process it.
Reading long articles or browsing multiple pages to find answers is time-consuming.
I wanted to create a Chrome extension that could summarize pages automatically and allow users to interact with the content via a Q&A system, making learning and research much faster and more efficient.
What it does
The extension has two main functionalities:
- Automatic Summarization: Extracts the main content from any webpage and generates a concise summary.
- Interactive Q&A: Allows users to ask questions about the page content and receive accurate answers.
Key features:
- Works on blogs, news articles, and research pages.
- Fully powered by AI (Gemini and ChatGPT).
- Demonstrates that AI is only as good as the prompts guiding it.
How we built it
The extension was built with a strong focus on AI-driven development:
Defining the Vision
I asked Gemini to propose a unique Chrome extension project worthy of a top 3 hackathon.
Gemini generated a list of possible project ideas, from which I selected this summarization + Q&A extension.
Prompt-Guided Development
Using carefully crafted prompts, I guided Gemini to generate, adapt, and correct 100% of the code for the project.
This included all parts: manifest.json, content.js, popup.js, and API integration.
Content Script
Built to extract the main text of any webpage:
function getPageText() {
return document.body.innerText;
}
Log in or sign up for Devpost to join the conversation.