Skip to content

Save12sttm/OmniView

OmniView - Live Preview Extension

A powerful Chrome extension for instant file previews on hover. Preview code, images, videos, PDFs, CSV, JSON, and more directly from links.

Features

  • Universal File Preview: Code, images, videos, PDFs, CSV, JSON, Markdown, and binary files
  • Smart Syntax Highlighting: Automatic language detection with color-coded syntax
  • CSV/JSON Engine: Formatted table and JSON views
  • LAN QR Code: Generate QR codes for localhost URLs with custom IP
  • Physics UI: Smooth draggable preview card with intelligent positioning
  • Download Support: One-click universal download for any file
  • Markdown Rendering: Beautiful markdown preview
  • Hex Viewer: Binary file inspection
  • Persistent State: Remember LAN IP and pinned state

Installation

From Chrome Web Store

[Coming Soon]

Manual Installation (Developer Mode)

  1. Clone: git clone https://github.com/Save12sttm/OmniView.git
  2. Open chrome://extensions/
  3. Enable Developer mode (top right)
  4. Click Load unpacked and select the folder
  5. Done! Start hovering over links

Usage

  • Hover over any link to preview the file
  • Drag the preview card by its header
  • 📌 Pin to keep preview open
  • 📱 QR to generate mobile-friendly QR code
  • ⬇ Download to save the file

Supported Formats

Category Extensions
Code js, css, html, json, py, java, c, cpp, rs, go, ts, php, rb, sh, xml, yaml, sql, env, txt, log
Media jpg, jpeg, png, gif, webp, svg, bmp, ico, mp4, webm, mkv, mov, mp3, wav, ogg
Data csv, tsv, json, md, pdf
Binary exe, dll, bin, iso, zip, rar, 7z, tar, gz

Architecture

  • manifest.json: Extension configuration
  • background.js: Service worker for fetch operations
  • content.js: Main preview logic and UI
  • styles.css: Dark theme styling

Permissions

  • activeTab: Access current tab
  • clipboardWrite: Copy functionality
  • <all_urls>: Preview any file

License

MIT License - See LICENSE file

Contributing

Contributions welcome! Feel free to submit issues and pull requests.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors