Skip to content

Chrome extension for flawless full-page capture + on-device AI (Gemini Nano) to summarize, rewrite & write. Includes PDF capture mode, manual stitch, and multimodal OCR fallback

License

Notifications You must be signed in to change notification settings

Ashil2005/snapsmart-extension

Repository files navigation

SnapSmart – Full-Page Capture + On-device AI (Gemini Nano)

SnapSmart is a Chrome extension that captures flawless full-page screenshots and runs on-device AI to summarize, rewrite, and write text — all locally in Chrome, no servers.

Features

  • Pixel-perfect full-page capture with overlap stitching & freeze
  • Manual Stitch for infinite scrolls
  • PDF Capture Mode for direct .pdf links
  • On-device AI (Gemini Nano):
    • Summarize (Summarizer API)
    • Rewrite (Rewriter API)
    • Write (Writer API)
    • Multimodal fallback (LanguageModel) to summarize the last capture image
  • Privacy-first: no network calls for AI

Install (for judges)

  1. Open chrome://extensions → enable Developer mode.
  2. Click Load unpacked and select this folder.

Quick test

  • Open a long page → Capture Full Page → preview + download.
  • Click Summarize to see on-device summary of visible text.
  • Paste text → Rewrite. Enter a short prompt → Write.
  • Manual Stitch: Start → scroll → Add Slice → Finish.
  • Direct .pdf URL → PDF Capture Mode.

Files

  • manifest.json, popup.html, popup.js, content.js, pdf_capture.html, styles.css
  • ai/ai_adapter.js

Permissions

activeTab, scripting, downloads, tabs

License

MIT

About

Chrome extension for flawless full-page capture + on-device AI (Gemini Nano) to summarize, rewrite & write. Includes PDF capture mode, manual stitch, and multimodal OCR fallback

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published