MCPcopy Index your code
hub / github.com/Ademking/BetterViewer

github.com/Ademking/BetterViewer @2.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0.3 ↗ · + Follow
51 symbols 130 edges 30 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Logo BetterViewer

        <img src="https://img.shields.io/github/release/Ademking/BetterViewer?style=for-the-badge&sort=semver">
        <img src="https://img.shields.io/github/stars/Ademking/BetterViewer?style=for-the-badge&sort=semver">
        <img src="https://img.shields.io/chrome-web-store/rating/llcpfkbjgkpmapiidpnohffjmmnhpmpb?style=for-the-badge">

Fast, Simple, Easy image viewer.

BetterViewer makes image viewing faster, easier, and more fun.

BetterViewer was designed as a replacement for the image viewing mode built into Firefox & Chrome-based web browsers.

With BetterViewer you can use various keyboard shortcuts to quickly pan, zoom images, edit and a lot more!

<a href="https://www.producthunt.com/posts/betterviewer?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-betterviewer" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=319881&theme=light" alt="BetterViewer - A chrome extension for better image viewing experience | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>

Screenshots

Preview 1

Preview 2

Preview 3

Preview 3

Features

ℹ️ (Some features are not available in V2 yet due to Manifest V3 limitations, but I will add them back soon)

  • Zoom in / Zoom Out / Reset
  • Fullscreen
  • Rotate Left / Rotate Right
  • Flip Horizontal / Flip Vertical
  • Crop Image
  • Photo Editor (Adjust, Draw, Watermark, Filters, Finetune, Resize, Export As PNG, JPEG, JPG, WEBP)
  • Download Image
  • Upload Image to imgBB or imgur
  • Color picker
  • Image Details
  • Change background color (Dark / Light / Blurred)
  • Print Image
  • Extract Text from Image
  • Edit in Photopea
  • Reverse Image Search
  • QR Code Scanner
  • Settings to customize Toolbar

Changelog

[2.0.2] - 2025-03-19

  • Add "Open image in new tab".
  • Bug fixes.

[2.0.1] - 2025-03-11

  • New Annotation Tool – Draw and mark up images easily!
  • Bug fixes and code cleanup.

  • New version of BetterViewer is here!

  • Completely rewritten from scratch (React, TypeScript, Plasmo)
  • Using Manifest V3 (I had to remove some features because of this change, but I will add them back soon)
  • Better UI/UX

[2.0.0] - 2025-03-09

  • New version of BetterViewer is here!
  • Completely rewritten from scratch (React, TypeScript, Plasmo)
  • Using Manifest V3 (I had to remove some features because of this change, but I will add them back soon)
  • Better UI/UX

[1.0.5] - 2022-09-14

  • Add "Zoom Ratio" option to Settings. (Thanks to @Metacor)

[1.0.4] - 2022-04-19

  • Add New Photo Editor Filerobot Image Editor (Adjust, Draw, Watermark, Filters, Finetune, Resize, Export As PNG, JPEG, JPG, WEBP)
  • Fix a bug where Chrome/Edge adds a duplicate image (Thanks to @patrykdziurkowski)
  • Remove Photo Editor Painterro

[1.0.3] - 2022-02-10

  • Fix major bugs (Croppig issues, Going back issues, etc...)
  • Add Firefox Compatibilty
  • Fix Cropping issues
  • Zoom In / Zoom Out is now smoother
  • Fix some UI issues
  • Add new settings
  • Add "Default theme" setting
  • Add "Toolbar position" setting
  • Add "Notification toolbar" setting
  • Add "Show/Hide all tools at the start" setting

[1.0.2] - 2021-11-28

  • Fix minor bugs
  • Add "Reverse Image Search"
  • Add "QR Code Scanner"
  • Add Settings window
  • Fix Shortcuts (Combo keys / Ctrl + Key

[1.0.1] - 2021-11-20

  • Fix Crop problem
  • Fix random shutdown
  • Replace Imgur with ImgBB (Many users requested this)
  • Add "Edit with Photopea"
  • Add Contributors in About popup
  • Edit in Photopea (Thanks to @bbbenji)

[1.0.0] - 2021-11-10

  • First version

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Benji 💻 Patryk Dziurkowski 💻 Metacor 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Extension points exported contracts — how you extend this code

CropPreset (Interface)
(no doc)
types/Editor.ts
ImageViewerState (Interface)
(no doc)
stores/useImageViewerStore.ts
EditorConfig (Interface)
(no doc)
types/Editor.ts

Core symbols most depended-on inside this repo

useSupports
called by 3
hooks/useDetectBrowser.ts
uploadToImgbb
called by 2
utils/uploadToImgbb.ts
imageDownloader
called by 2
utils/downloadImage.ts
imageUrlToBlobUrl
called by 2
utils/imageConverter.ts
imageToBase64
called by 2
utils/imageConverter.ts
handleImageExif
called by 2
tabs/ImageViewer.tsx
scanQRfromImage
called by 2
tabs/ImageViewer.tsx
isNewImageTabChromium
called by 1
content.ts

Shape

Function 48
Interface 3

Languages

TypeScript100%

Modules by API surface

tabs/ImageViewer.tsx6 symbols
components/TldrawWrapper.tsx6 symbols
components/ColorPicker.tsx6 symbols
utils/imageConverter.ts4 symbols
_options/index.tsx3 symbols
utils/suppressWarnings.ts2 symbols
types/Editor.ts2 symbols
hooks/useDetectBrowser.ts2 symbols
content.ts2 symbols
components/ImageCropper.tsx2 symbols
utils/waitForElement.ts1 symbols
utils/uploadToImgbb.ts1 symbols

For agents

$ claude mcp add BetterViewer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact