Skip to content

blinovartem/leafview

 
 

Repository files navigation

LeafView

An 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 (com.google.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

Packages

No packages published

Languages

  • TypeScript 72.5%
  • JavaScript 21.6%
  • SCSS 4.5%
  • HTML 1.4%