LeafView
A minimalist image viewer based on Leaflet.js and Electron.
๐ Features
- Pan & Wheel Zoom
- Browse the images in a folder
- Grid view mode available
- Available in 14 languages
- Auto update (only on macOS)
๐ฅ Download
๐ป macOS & GNU/Linux
You can download the latest version of LeafView from the releases page here:
https://github.com/sprout2000/leafview/releases
๐ฅ๏ธ Windows 10 & 11
You can download the latest version of LeafView from Microsoft Store.
๐ 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+L | 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 |
Magyar | hu |
ๆฅๆฌ่ช | ja |
Polski | pl |
Portuguรชs | pt |
ะ ัััะบะธะน | ru |
Tรผrkรงe | tr |
็ฎไฝไธญๆ | zh_CN |
็นไฝไธญๆ | zh_TW |
๐ป Contributing
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.
๐ Contributors
Thanks go to these wonderful people
๐ฆ Privacy Policy
- LeafView and the developers do NOT collect any personal information or privacy-related information about the user.
- LeafView and the developers do NOT collect the information of files opened by LeafView.
ยฉ๏ธ Copyright
Copyright (c) 2023 sprout2000 and other contributors