Inspiration

Reliable internet is easy to take for granted until a data bundle runs out, coverage drops, or a connection becomes too expensive to use. At that moment, useful research pages disappear even though the user read them only minutes before.

KondAI was inspired by the idea that losing connectivity should not mean losing progress. We wanted a browser experience that preserves recently visited knowledge and keeps research moving with on-device AI.

What it does

KondAI is an offline-first Chrome extension that creates a private 24-hour vault from webpages a user has visited.

While connected, it captures readable page content, source excerpts, available images, supported media, and video metadata. Users can ask questions, compare saved pages, generate a daily research digest, translate text, summarize video pages, and export saved-page summaries as a professional PDF.

KondAI uses Firebase AI Logic hybrid inference. It prefers Cloud Gemini when the internet is available and falls back to Gemini Nano 4 on-device when connectivity fails or cloud inference is unavailable. Answers include source links so users can inspect the saved material behind an answer.

When data runs out, KondAI can replace the current browser tab with Offline Reader for the same saved page. When connectivity returns, it restores the original webpage in that same tab.

How we built it

KondAI is built as a Chrome Manifest V3 extension with React, TypeScript, Vite, IndexedDB, Firebase AI Logic, Firebase App Check, and Chrome built-in AI APIs.

The content script extracts readable page content with Mozilla Readability and sanitizes snapshots with DOMPurify. IndexedDB stores captured pages, text chunks, summaries, chats, and supported cached media locally.

Firebase AI Logic handles both Cloud Gemini and on-device Gemini Nano inference. The app records the selected inference path, fallback reason, response timing, and time to first streamed text. We also use Chrome’s Summarizer, Translator, and Prompt APIs where available.

PDF reports are generated locally with pdf-lib, including titles, summaries, source links, and available thumbnails.

Challenges we ran into

The largest challenge was that Chrome’s normal online status is not enough. A laptop can show Wi-Fi as connected even when the data bundle is depleted and webpages no longer load.

We added real connectivity checks instead of trusting only navigator.onLine. KondAI monitors the active page, detects when usable internet access is gone, opens the Offline Reader for the saved page, and restores the original URL when access returns.

We also had to work around differences in browser AI availability, model download time, media restrictions, Firebase App Check development setup, and the fact that some embedded videos or protected media cannot be cached for offline playback.

Accomplishments that we’re proud of

We are proud that KondAI feels like a browser continuity experience instead of a separate offline chatbot.

A user can browse normally, lose internet, continue reading the same saved page, ask Gemini Nano questions offline, inspect sources, compare research, and return to the live webpage when the connection comes back.

We are also proud of the hybrid routing experience. Cloud Gemini provides online capability, while Gemini Nano keeps the product useful when internet access is unavailable.

What we learned

We learned that hybrid AI is more than selecting a cloud or local model. The most important work is designing the transition so users do not have to think about infrastructure, connectivity, or model routing.

We also learned that offline experiences need clear boundaries. Saved content is useful, but it may not include live updates, protected streams, forms, or pages that were never captured. Showing capture dates, source links, and model-routing details helps users understand what they can trust.

What’s next for KondAI — Research Without Reliable Internet

Next, we want to improve capture quality for more media formats, add smarter semantic retrieval across larger research vaults, offer user-controlled retention instead of only 24-hour expiry, and make the Cloud Gemini setup easier for production users.

We also want to explore multi-platform support so the same hybrid research experience can work across Chrome, Android, and iOS.

Built With

Share this project:

Updates

Submission history