Black Lives Matter. Support the Equal Justice Initiative and read our statement here.
LeafView

LeafView

Secure image viewer for minimalists.

LeafView

Secure image viewer for minimalists.

2020-04-13 15 07 43

GitHub CI GitHub license GitHub stars GitHub package.json dynamic

Features

  • Pan & WheelZoom
  • Fast
  • Secure
  • Memory-Friendly
  • Auto Update (macOS)

Security

API Value
default-src (CSP) self
script-src (CSP) self
nodeIntegration false
enableRemoteModule false
contextIsolation true
safeDialogs true
sandbox true

Supported Image Formats

  • bmp (com.microsoft.bmp)
  • ico (com.microsoft.ico)
  • gif (com.compuserve.gif)
  • jpg (public.jpeg)
  • png (public.png)
  • svg (public.svg-image)
  • webp (image/webp)

Build and Install

$ git clone git@github.com:sprout2000/leafview.git
$ cd leafview
$ yarn install && yarn package

Note that you will need to have Node.js, Git and Yarn installed.

And you might also need to have some build tools (ex. Microsoft Build Tools, Xcode) installed.

Download

macOS (x64)

You can download the latest version of LeafView from the releases page here:
https://github.com/sprout2000/leafview/releases

Windows10

You can download the latest version of LeafView from Microsoft Store.

Usage

Keyboard Shortcuts

Key Function Platform
J Next Image -
K Previous Image -
+ Zoom In -
- Zoom Out -
0 Reset Zoom -
pan -
Command+Control+F Toggle Fullscreen macOS
Command+Option+I Toggle Developer Tools macOS
Alt Show/Hide Menu Bar Windows
F11 Toggle Fullscreen Windows
Ctrl+Alt+I Toggle Developer Tools Windows

Mouse Operations

Mouse Function
drag pan
double click reset zoom
wheel zoom in/out

License

MIT

not_used
Screenshot
Screenshot

Something missing? Edit this app.

Keyboard Shortcuts

Key Action
/ Focus the search bar
Esc Focus the search bar and cleans it
Select the next search result
Select the previous search result
Enter Open the selected search result
cmdEnter Ctrl+Enter Open the selected search result in a new tab