Home

Awesome

<img width="48" alt="leaves" src="https://user-images.githubusercontent.com/52094761/156916014-b9472d73-3270-455a-be95-25e527efeaff.svg" /> LeafView

GitHub license GitHub contributors

Minimalist image viewer based on Leaflet.js and Electron.

<p align="center"> <img width="640" alt="2023-07-13-171541" src="https://github.com/sprout2000/leafview/assets/52094761/070ac55c-a6df-4ac7-b1da-f77aa25545de"> </p>

Image by <a href="https://pixabay.com/users/jplenio-7645255/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=4485609">Joe</a> from <a href="https://pixabay.com//?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=4485609">Pixabay</a>.

:thumbsup: Features

<img width="480" alt="2023-07-13-171712" src="https://github.com/sprout2000/leafview/assets/52094761/138f527e-14f8-45f3-b310-2c0c82b5dada">

:inbox_tray: Download

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

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

:green_book: Usage

:keyboard: Keyboard Shortcuts

KeyFunction
<kbd>J</kbd>, <kbd>Ctrl</kbd>+<kbd>N</kbd>, <kbd>CmdOrCtrl</kbd>+<kbd></kbd>Next Image
<kbd>K</kbd>, <kbd>Ctrl</kbd>+<kbd>P</kbd>, <kbd>CmdOrCtrl</kbd>+<kbd></kbd>Previous Image
<kbd>+</kbd>Zoom In
<kbd>-</kbd>Zoom Out
<kbd>0</kbd>Reset Zoom
<kbd></kbd> <kbd></kbd> <kbd></kbd> <kbd></kbd>Pan
<kbd>Fn</kbd>+<kbd>Delete</kbd> or <kbd>Del</kbd>Move to Trash
<kbd>H</kbd>, <kbd>Ctrl</kbd>+<kbd>G</kbd>Toggle Grid View
<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>T</kbd>Toggle Menubar (Windows / Linux)

:computer_mouse: Mouse Operations

MouseFunction
DragPan
WheelZoom in/out
Double clickReset zoom
Right clickShow the context menu when available

:globe_with_meridians: Supported Languages

LanguageCode
اللغة العربيةar
Češtinacs
Deutschde
Englishen
Españoles
Françaisfr
हिंदीhi
Magyarhu
Italianoit
日本語ja
Polskipl
Portuguêspt
Русскийru
Türkçetr
Українськаuk
简体中文zh_CN
繁体中文zh_TW

:beers: 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.

:tada: Contributors

Thanks go to these wonderful people :slightly_smiling_face::

<a href="https://github.com/sprout2000/leafview/graphs/contributors"> <img src="https://contrib.rocks/image?repo=sprout2000/leafview" /> </a>

:copyright: Copyright

Copyright (c) 2020-2024 sprout2000