A minimalist image viewer based on Leaflet.js and Electron.
Image by Frank Winkler from Pixabay
- Pan & Wheel Zoom
- Browse the images in a folder
- Grid view mode available
- Available in 13 languages
- Auto update (macOS / Linux)
- Compatible with Windows Package Manager (aka winget)
You can download the latest version of LeafView from the releases page here:
https://github.com/sprout2000/leafview/releases
You can get (or upgrade to) the latest version of LeafView via winget:
winget install sprout2000.LeafView
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+L | Toggle Grid View |
CmdOrCtrl+Shift+D | Toggle Dark Mode |
Ctrl+Shift+T | Toggle Menubar (Windows / Linux) |
Mouse | Function |
---|---|
Drag | Pan |
Wheel | Zoom in/out |
Double click | Reset zoom |
Right click | Show the context menu when available |
Language | Code | Language | Code | Language | Code | ||
---|---|---|---|---|---|---|---|
ุงููุบุฉ ุงูุนุฑุจูุฉ | ar |
Franรงais | fr |
ะ ัััะบะธะน | ru |
||
ฤeลกtina | cs |
Magyar | hu |
็ฎไฝไธญๆ | zh_CN |
||
Deutsch | de |
ๆฅๆฌ่ช | ja |
็นไฝไธญๆ | zh_TW |
||
English | en |
Polski | pl |
Turkish | tr |
||
Espaรฑol | es |
Portuguรชs | pt |
You can easily contribute to this repository by providing translation files.
- Create
{your_LANG}.json
insrc/locales
.
src
โโโ @types
โโโ createMenu.ts
โโโ locales
+ โ โโโ cs.json
โ โโโ en.json
โ โโโ ja.json
โโโ main.ts
โโโ preload.ts
โโโ setLocales.ts
โโโ web
- Import the locale into src/setLocales.ts as follows:
import en from './locales/en.json';
import ja from './locales/ja.json';
+ import cs from './locales/cs.json';
export const setLocales = (locale: string): void => {
i18next.init({
lng: locale,
fallbackLng: 'en',
resources: {
en: { translation: en },
ja: { translation: ja },
+ cs: { translation: cs },
},
});
};
- And then please send a pull request to this repository.
Thanks go to these wonderful people ๐:
Copyright (c) 2023 sprout2000 and other contributors