Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sprout2000/leafview
- Owner: sprout2000
- License: mit
- Created: 2020-03-22T08:45:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T22:46:13.000Z (7 days ago)
- Last Synced: 2024-11-07T23:32:27.780Z (7 days ago)
- Topics: image-viewer, macos, pan, wheelzoom
- Language: TypeScript
- Homepage:
- Size: 45.2 MB
- Stars: 179
- Watchers: 7
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# 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/).
## :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)_## :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