Leafview
Minimalist image viewer based on Leaflet.js and Electron.
Install / Use
/learn @sprout2000/LeafviewREADME
<img width="48" alt="leaves" src="https://user-images.githubusercontent.com/52094761/156916014-b9472d73-3270-455a-be95-25e527efeaff.svg" /> LeafView
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&utm_medium=referral&utm_campaign=image&utm_content=4485609">Joe</a> from <a href="https://pixabay.com//?utm_source=link-attribution&utm_medium=referral&utm_campaign=image&utm_content=4485609">Pixabay</a>.
:thumbsup: Features
- Pan & Wheel Zoom
- Browse the images in a folder
- Grid view
- Available in 17 languages
- Auto update (only on macOS)
:inbox_tray: Download
<!-- ### :computer: macOS & GNU/Linux -->You can download the latest version of LeafView from the releases page here: https://github.com/sprout2000/leafview/releases
<!-- ### :desktop_computer: Windows --> <!-- You can get _(or upgrade to)_ the latest version of _LeafView_ via [winget](https://github.com/microsoft/winget-cli): --> <!-- ```sh --> <!-- winget install sprout2000.LeafView --> <!-- ``` -->:green_book: Usage
:keyboard: Keyboard Shortcuts
| Key | Function | | :---------------------------------------------------------------------------: | :--------------------------------- | | <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
| Mouse | Function | | :----------: | :----------------------------------- | | Drag | Pan | | Wheel | Zoom in/out | | Double click | Reset zoom | | Right click | Show the context menu when available |
:globe_with_meridians: 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 |
:beers: Contributing
You can easily contribute to this repository by providing translation files.
- Create
{your_LANG}.jsoninsrc/locales.
src
├── @types
├── createMenu.ts
├── locales
+ │ ├── cs.json
│ ├── en.json
│ └── ja.json
├── main.ts
├── preload.ts
├── setLocales.ts
└── web
- 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-2026 sprout2000
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
