Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sprout2000/leafview

Minimalist image viewer based on Leaflet.js and Electron.
https://github.com/sprout2000/leafview

image-viewer macos pan wheelzoom

Last synced: 4 days ago
JSON representation

Minimalist image viewer based on Leaflet.js and Electron.

Awesome Lists containing this project

README

        

# leaves LeafView

[![GitHub license](https://img.shields.io/github/license/sprout2000/leafview)](https://github.com/sprout2000/leafview/blob/master/LICENSE.md)
![GitHub contributors](https://img.shields.io/github/contributors/sprout2000/leafview)

Minimalist image viewer based on [Leaflet.js](https://leafletjs.com/) and [Electron](https://www.electronjs.org/).


2023-07-13-171541

_Image by Joe from Pixabay._

## :thumbsup: Features

- Pan & Wheel Zoom
- Browse the images in a folder
- Grid view
- Available in [17 languages](#globe_with_meridians-supported-languages)
- Auto update _(only on macOS)_

2023-07-13-171712

## :inbox_tray: Download

You can download the latest version of _LeafView_ from the releases page here:

[https://github.com/sprout2000/leafview/releases](https://github.com/sprout2000/leafview/releases)

_Note: No code signing has been done except for the macOS version._

## :green_book: Usage

### :keyboard: 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)_ |

### :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.

1. Create `{your_LANG}.json` in `src/locales`.

```diff
src
├── @types
├── createMenu.ts
├── locales
+ │   ├── cs.json
│   ├── en.json
│   └── ja.json
├── main.ts
├── preload.ts
├── setLocales.ts
└── web
```

2. And then please send a [pull request](https://github.com/sprout2000/leafview/pulls) to this repository.

## :tada: Contributors

Thanks go to these wonderful people :slightly_smiling_face::



## :copyright: Copyright

Copyright (c) 2020-2024 sprout2000