• Stars
    star
    151
  • Rank 246,057 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A minimalist image viewer based on Leaflet.js and Electron.

leaves LeafView

GitHub license GitHub all releases GitHub contributors GitHub stars

A 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 mode available
  • Available in 14 languages
  • Auto update (only on macOS)
2023-07-13-171712

๐Ÿ“ฅ 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.

Badge

๐Ÿ“— 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.

  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. 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 },
      },
    });
  };
  1. 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