Skip to content

Minimalist image viewer based on Leaflet.js and Electron.

License

Notifications You must be signed in to change notification settings

sprout2000/leafview

Repository files navigation

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