Preview documents, videos, music, and more with a mouse hover.
Peek: Preview PDFs, Office files, and more Extension
Peek is a browser extension that shows previews for links to files and supported services in web pages. Just hover your mouse over a link, and Peek will display a small popup with an interactive preview of the link's content.
Peek can show previews for PDFs, Microsoft Office documents, YouTube video links, audio files, Google Docs, and much more. It uses the browser's built-in rendering features, in combination with the Google Docs Viewer, Microsoft Office Web Viewer, and other third-party embedded viewers to display rich previews.
Supported file types:
- PDF, TXT, and RTF documents
- WebM, MP4, M4V, OGG, OGV, and Imgur GIFV video
- MP3, M4A, OGA, OGG, and WAV audio
- Word documents (.doc, .docx)
- Excel spreadsheets (.xls, .xlsx)
- PowerPoint files (.ppt, .pptx)
- OpenDocument files (.odt, .ods, etc.)
- JPG, PNG, APNG, SVG, GIF, ICO, and BMP images
Supported links:
- Google Docs links
- iCloud Keynote links
- YouTube videos and Shorts
- Reddit links
- Imgur links
- TikTok videos
- Mastodon posts
- Facebook posts
- Instagram posts and reels
- Threads posts
- Spotify tracks, albums, and podcast episodes
Peek is open source under the GPL license. The code is available here:
https://github.com/corbindavenport/peek
Read more
Peek can show previews for PDFs, Microsoft Office documents, YouTube video links, audio files, Google Docs, and much more. It uses the browser's built-in rendering features, in combination with the Google Docs Viewer, Microsoft Office Web Viewer, and other third-party embedded viewers to display rich previews.
Supported file types:
- PDF, TXT, and RTF documents
- WebM, MP4, M4V, OGG, OGV, and Imgur GIFV video
- MP3, M4A, OGA, OGG, and WAV audio
- Word documents (.doc, .docx)
- Excel spreadsheets (.xls, .xlsx)
- PowerPoint files (.ppt, .pptx)
- OpenDocument files (.odt, .ods, etc.)
- JPG, PNG, APNG, SVG, GIF, ICO, and BMP images
Supported links:
- Google Docs links
- iCloud Keynote links
- YouTube videos and Shorts
- Reddit links
- Imgur links
- TikTok videos
- Mastodon posts
- Facebook posts
- Instagram posts and reels
- Threads posts
- Spotify tracks, albums, and podcast episodes
Peek is open source under the GPL license. The code is available here:
https://github.com/corbindavenport/peek
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx",\t"manifest_version": 3,\t"name": "Peek: Preview PDFs, Office files, and more",\t"short_name": "Peek",\t"version": "6.0",\t"author": "Corbin Davenport",\t"description": "Preview documents, videos, music, and more with a mouse hover.",\t"homepage_url": "https://github.com/corbindavenport/peek",\t"options_ui": {\t\t"page": "settings.html",\t\t"open_in_tab": true\t},\t"permissions": [\t\t"storage"\t],\t"host_permissions": [\t\t"*://*/*"\t],\t"background": {\t\t"service_worker": "js/background.js"\t},\t"icons": {\t\t"32": "img/icon_x32.png",\t\t"48": "img/icon_x48.png",\t\t"128": "img/icon_x128.png"\t},\t"web_accessible_resources": [\t\t{\t\t\t"resources": [\t\t\t\t"img/arrow-up-right-circle.svg",\t\t\t\t"img/gear.svg"\t\t\t],\t\t\t"matches": [\t\t\t\t"*://*/*"\t\t\t]\t\t}\t],\t"action": {\t\t"default_icon": {\t\t\t"32": "img/icon_x32.png",\t\t\t"48": "img/icon_action_x48.png",\t\t\t"128": "img/icon_action_x128.png"\t\t},\t\t"action": {}\t},\t"content_scripts": [\t\t{\t\t\t"matches": [\t\t\t\t"http://*/*",\t\t\t\t"https://*/*"\t\t\t],\t\t\t"js": [\t\t\t\t"js/popper.min.js",\t\t\t\t"js/tippy-bundle.umd.min.js",\t\t\t\t"js/purify.js",\t\t\t\t"js/peek.js"\t\t\t],\t\t\t"css": [\t\t\t\t"css/peek.css"\t\t\t],\t\t\t"run_at": "document_end"\t\t},\t\t{\t\t\t"matches": [\t\t\t\t"https://www.threads.net/*utm_source=peek_extension*"\t\t\t],\t\t\t"css": [\t\t\t\t"css/threads.css"\t\t\t],\t\t\t"all_frames": true,\t\t\t"run_at": "document_end"\t\t},\t\t{\t\t\t"matches": [\t\t\t\t"https://embed.reddit.com/r/*utm_source=peek_extension*"\t\t\t],\t\t\t"css": [\t\t\t\t"css/reddit.css"\t\t\t],\t\t\t"all_frames": true,\t\t\t"run_at": "document_end"\t\t}\t]}
Read more