M
MercyNews
Home
Back
Hover Brings IDE-Style Documentation to Web Browsing
Technology

Hover Brings IDE-Style Documentation to Web Browsing

Hacker NewsJan 4
3 min read
📋

Key Facts

  • ✓ Hover is a Chrome extension that provides IDE-style hover tooltips on any webpage.
  • ✓ It detects code blocks, sends tokens to an LLM (via OpenRouter or custom endpoints), and caches the documentation.
  • ✓ The extension uses Chrome's permission system to ensure granular control over where it runs.
  • ✓ Custom endpoints allow integration with AWS Bedrock, Google AI Studio, or company-specific infrastructure.
  • ✓ It is built with TypeScript, Vite, and Chrome extension APIs.

In This Article

  1. Quick Summary
  2. How Hover Works
  3. Privacy and Enterprise Integration
  4. Technical Stack and Availability

Quick Summary#

A new tool named Hover aims to bridge the gap between local coding environments and the open web by bringing IDE-style documentation directly to browsers. Developed as a Chrome extension, Hover allows users to see instant, detailed tooltips for code snippets found on documentation sites, ChatGPT, Claude, and other web platforms. The tool leverages Large Language Models (LLMs) to generate this documentation dynamically, mimicking the experience of using a sophisticated code editor like VS Code or IntelliJ.

The core functionality relies on a seamless background process. When a code block enters the user's viewport, the extension identifies specific tokens and sends them to an LLM provider. Users can choose between OpenRouter or a custom endpoint. Once the LLM generates the necessary documentation, the data is cached. This ensures that when the user hovers over the code, the documentation appears instantly without needing to re-process the data. The extension is built using TypeScript, Vite, and standard Chrome extension APIs, signaling a robust and modern technical foundation. It is currently pending release on the Chrome Web Store.

How Hover Works#

The mechanism behind Hover is designed to be efficient and non-intrusive. The extension does not process every piece of text on a webpage; instead, it activates specifically when a code block comes into view. This targeted approach minimizes resource usage and ensures that the tool only engages when necessary. The workflow follows a distinct three-step process designed to balance speed with accuracy.

First, the extension detects tokens within the visible code block. Second, these tokens are sent to an LLM via a connection to OpenRouter or a user-defined custom endpoint. The LLM analyzes the code and generates documentation relevant to the specific tokens identified. Third, this generated documentation is stored in a cache. When the user eventually hovers their cursor over the code, the cached documentation is retrieved and displayed immediately. This architecture ensures that the user experience remains snappy, avoiding the latency often associated with real-time API calls.

Privacy and Enterprise Integration#

Privacy and security were central design goals during the development of Hover. The extension utilizes Chrome's granular permission system. This means the tool does not have access to every website the user visits by default. Instead, users must explicitly grant permission for Hover to run on specific domains. This granular control prevents the tool from operating on sensitive pages where code documentation might not be needed or desired.

Furthermore, Hover addresses the needs of corporate environments through support for custom endpoints. For companies with existing infrastructure, the extension allows users to bypass third-party services entirely. Users can point the extension directly to their own internal systems, such as AWS Bedrock or Google AI Studio. This feature ensures that proprietary code never leaves the company's secure perimeter, making the tool viable for enterprise adoption.

Technical Stack and Availability#

The extension is built with a modern technology stack, utilizing TypeScript for type safety and maintainability, and Vite for fast builds. It relies on the standard Chrome extension APIs to interact with the browser. The developer has announced that Hover is coming to the Chrome Web Store soon. They have also expressed a desire for community feedback, specifically regarding the onboarding experience and general user experience (UX), acknowledging that several design decisions were made during the development process.

Continue scrolling for more

AI Transforms Mathematical Research and Proofs
Technology

AI Transforms Mathematical Research and Proofs

Artificial intelligence is shifting from a promise to a reality in mathematics. Machine learning models are now generating original theorems, forcing a reevaluation of research and teaching methods.

Just now
4 min
196
Read Article
Blue Finch Films Acquires International Rights to 'Bowels of Hell'
Entertainment

Blue Finch Films Acquires International Rights to 'Bowels of Hell'

The U.K. sales company has picked up international rights to the Rotterdam-bound horror film 'Bowels of Hell,' planning market screenings at Berlin's European Film Market in February.

8m
5 min
0
Read Article
Opera One R3 rolls out with color-coded Tab Islands, dedicated soundscapes, more
Technology

Opera One R3 rolls out with color-coded Tab Islands, dedicated soundscapes, more

The newest version of the Opera One browser improves on the interesting Tab Islands feature, brings a re-engineered AI assistant, and adds theme-specific soundscapes. Here are the details. more…

8m
3 min
0
Read Article
NATO Deploys to Greenland Amid Rising Tensions
Politics

NATO Deploys to Greenland Amid Rising Tensions

A major NATO military exercise has commenced in Greenland, following a period of diplomatic friction between the United States, Denmark, and Greenland. The deployment highlights the Arctic's growing strategic importance.

25m
5 min
0
Read Article
Wikipedia Celebrates 25 Years of Global Knowledge
Technology

Wikipedia Celebrates 25 Years of Global Knowledge

From a modest start with just 100 pages to a global behemoth with 65 million articles, Wikipedia marks a quarter-century of collaborative knowledge. The Wikimedia Foundation honors the human stories behind the screen.

38m
4 min
6
Read Article
Tech Giants Pay for Wikipedia Access
Technology

Tech Giants Pay for Wikipedia Access

Major technology companies are now paying for enterprise-level access to Wikipedia's data, marking a significant shift in how the free encyclopedia funds its operations and supports commercial AI development.

38m
5 min
5
Read Article
DeFi's Discord Breakup: Scams Force Protocols to Change
Cryptocurrency

DeFi's Discord Breakup: Scams Force Protocols to Change

The open-door era of DeFi community support is ending. Major protocols are moving from public Discord channels to secure, ticketed help desks and live support systems to combat rising scam activity.

40m
5 min
6
Read Article
Technology

Raspberry Pi's New AI Hat Adds 8GB of RAM for Local LLMs

Article URL: https://www.jeffgeerling.com/blog/2026/raspberry-pi-ai-hat-2/ Comments URL: https://news.ycombinator.com/item?id=46629682 Points: 9 # Comments: 2

45m
3 min
0
Read Article
Kibbutz Be'eri Preserves Burned House as Testimony
World_news

Kibbutz Be'eri Preserves Burned House as Testimony

In a deliberate act of remembrance, Kibbutz Be'eri has selected one specific burned-out house to remain as a permanent testament to the October 7 Hamas attacks, while other damaged structures are scheduled for demolition.

50m
5 min
6
Read Article
Lifestyle

Have Taken Up Farming

Article URL: https://dylan.gr/1768295794 Comments URL: https://news.ycombinator.com/item?id=46629610 Points: 3 # Comments: 0

55m
3 min
0
Read Article
🎉

You're all caught up!

Check back later for more stories

Back to Home