/leafview

Minimalist image viewer based on Leaflet.js and Electron.

Primary LanguageTypeScriptMIT LicenseMIT

leaves LeafView

GitHub license GitHub contributors

Minimalist image viewer based on Leaflet.js and Electron.

2023-07-13-171541

Image by Joe from Pixabay.

๐Ÿ‘ Features

  • Pan & Wheel Zoom
  • Browse the images in a folder
  • Grid view
  • Available in 17 languages
  • Auto update (only on macOS)
2023-07-13-171712

๐Ÿ“ฅ Download

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

Note: No code signing has been done except for the macOS version.

๐Ÿ“— Usage

โŒจ๏ธ Keyboard Shortcuts

Key Function
J, Ctrl+N, CmdOrCtrl+โ†’ Next Image
K, Ctrl+P, CmdOrCtrl+โ† Previous Image
+ Zoom In
- Zoom Out
0 Reset Zoom
โ† โ†‘ โ†“ โ†’ Pan
Fn+Delete or Del Move to Trash
H, Ctrl+G Toggle Grid View
Ctrl+Shift+T Toggle Menubar (Windows / Linux)

๐Ÿ–ฑ๏ธ Mouse Operations

Mouse Function
Drag Pan
Wheel Zoom in/out
Double click Reset zoom
Right click Show the context menu when available

๐ŸŒ Supported Languages

Language Code
ุงู„ู„ุบุฉ ุงู„ุนุฑุจูŠุฉ ar
ฤŒeลกtina cs
Deutsch de
English en
Espaรฑol es
Franรงais fr
เคนเคฟเค‚เคฆเฅ€ hi
Magyar hu
Italiano it
ๆ—ฅๆœฌ่ชž ja
Polski pl
Portuguรชs pt
ะ ัƒััะบะธะน ru
Tรผrkรงe tr
ะฃะบั€ะฐั—ะฝััŒะบะฐ uk
็ฎ€ไฝ“ไธญๆ–‡ zh_CN
็นไฝ“ไธญๆ–‡ zh_TW

๐Ÿป Contributing

You can easily contribute to this repository by providing translation files.

  1. Create {your_LANG}.json in src/locales.
  src
  โ”œโ”€โ”€ @types
  โ”œโ”€โ”€ createMenu.ts
  โ”œโ”€โ”€ locales
+ โ”‚   โ”œโ”€โ”€ cs.json
  โ”‚   โ”œโ”€โ”€ en.json
  โ”‚   โ””โ”€โ”€ ja.json
  โ”œโ”€โ”€ main.ts
  โ”œโ”€โ”€ preload.ts
  โ”œโ”€โ”€ setLocales.ts
  โ””โ”€โ”€ web
  1. And then please send a pull request to this repository.

๐ŸŽ‰ Contributors

Thanks go to these wonderful people ๐Ÿ™‚:

ยฉ๏ธ Copyright

Copyright (c) 2020-2024 sprout2000