Inspiration

The news is everywhere, but making sense of complex articles or understanding nuanced headlines can be overwhelming. I wanted to create a tool that bridges the gap between information and comprehension, empowering users to dive deeper into the stories that matter most. Inspired by the ever-increasing importance of staying informed, I envisioned News Context Genie as a way to simplify and enhance how we engage with news articles.


What it does

News Context Genie is a Chrome extension that uses Google Chrome’s Built-in AI to provide deeper context, background information, or clarifications for any text selected in a news article. With a simple highlight and click, the extension instantly displays AI-generated insights in a clean, intuitive side panel.


How we built it

  1. Conceptualization: Identified the challenge of understanding the broader context of news articles.
  2. Technical Stack: Leveraged Chrome's built-in AI for context generation.
  3. Components:
    • A service worker manages context menus and text selections.
    • A side panel renders AI-powered insights and beautifully formatted markdown content.
  4. Design: Created a responsive and professional user interface with custom icons to enhance user experience.

Challenges we ran into

  1. Content Security Policy (CSP): Chrome’s restrictions made integrating external libraries like marked.js difficult, so I built a lightweight custom markdown renderer instead.
  2. Prompt Engineering: Ensuring the AI consistently provided accurate and relevant insights required iterative testing and refinement.
  3. UI Responsiveness: Making the interface work seamlessly across different devices took meticulous effort.
  4. Time Constraints: Managing time effectively to balance development and testing was a challenge.

Accomplishments that we're proud of

  • Successfully implemented a markdown renderer to format AI responses elegantly without external dependencies.
  • Developed a professional and intuitive user experience, ensuring that the extension is both functional and visually appealing.
  • Solved complex CSP-related issues while adhering to Chrome extension guidelines.
  • Delivered a working solution that simplifies news comprehension for diverse users.

What we learned

  • The immense potential of Google Chrome’s Built-in AI and how it can be harnessed for meaningful use cases.
  • The critical role of prompt engineering in shaping the output of AI systems.
  • Insights into user-centric design, especially for tools that aim to enhance accessibility and understanding.
  • Creative problem-solving, especially while navigating challenges like CSP limitations.

What's next for News Context Genie

  • Feature Enhancements: Add support for fact-checking and real-time news relevance insights.
  • Multilingual Support: Expand the AI’s capabilities to provide context for articles in multiple languages.
  • User Feedback: Gather feedback from journalists, researchers, and everyday users to refine and expand the extension’s functionality.

Built With

  • built-in-prompt-api
  • chatgpt
  • chrome
  • chrome-carnary
  • chrome-dev-tools
  • chrome-extensions-api
  • css
  • custom-markdown-renderer
  • git
  • github
  • google-chrome-built-in-ai
  • hosting
  • html
  • javascript
  • side-panels
  • vscode
Share this project:

Updates