Skip to content
프로젝트

소개

Minimalist image viewer based on Leaflet.js and Electron.

디자인 및 미디어

이 수치를 측정하는 방법

What you can do

  • Pan and zoom with the mouse wheel
  • Browse images in a folder
  • Remembers the last opened folder
  • Automatically picks up files added to or removed from the folder

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

leaves LeafView

GitHub license GitHub contributors

Minimalist image viewer based on Leaflet.js and Electron.

2023-07-13-171541

Image by Joe from Pixabay.

:thumbsup: Features

  • Pan and zoom with the mouse wheel
  • Browse images in a folder
  • Grid view
  • Remembers the last opened folder
  • Automatically picks up files added to or removed from the folder
  • Available in 20 languages
  • Automatic updates (macOS and Linux only)
2023-07-13-171712

:inbox_tray: Download

Download the latest version of LeafView from the Releases page.

:green_book: Usage

:keyboard: Keyboard Shortcuts

Key Function
J, Ctrl+N, Cmd/Ctrl+→ Next Image
K, Ctrl+P, Cmd/Ctrl+← Previous Image
+ Zoom In
- Zoom Out
0 Reset Zoom
← ↑ ↓ → Pan
Fn+Delete or Del Move to Trash
H, Ctrl+G Toggle Grid View

:computer_mouse: Mouse Controls

Mouse Function
Drag Pan
Wheel Zoom In/Out
Double-click Reset Zoom
Right-click Show Context Menu

:globe_with_meridians: Supported Languages

Language Code
اللغة العربية ar
Čeština cs
Deutsch de
English en
Español es
Français fr
हिंदी hi
Magyar hu
Bahasa Indonesia id
Italiano it
日本語 ja
한국어 ko
Bahasa Melayu ms
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 a translation.

  1. Create {language_code}.json (e.g. nl.json) in src/locales, based on en.json. It must have the same keys as en.json.
  2. Import the file and add the language to languages in src/languages.ts.
+ import nl from "./locales/nl.json";

  export const languages: Language[] = [
    ...
+   { code: "nl", label: "Nederlands", translation: nl },
    ...
  ];
  1. Make sure npm run lint and npm test pass (see Development).
  2. Send a pull request to this repository.

:tada: Contributors

Thanks go to these wonderful people! :slightly_smiling_face:

:hammer_and_wrench: Building from Source

You will need to have Node.js and Git installed.

# 1. Clone this repo
git clone https://github.com/sprout2000/leafview.git

# 2. Install dependencies
cd leafview
npm install

# 3. Build the app and create an installer
npm run build && npm run package

The installer will be created in the release directory.

:wrench: Development

# Start the app in development mode
npm run dev

# Lint and format the code with Biome
npm run lint

# Run the tests with Vitest and show the coverage
npm test

The tests are in src/__tests__ (main process) and src/__tests__/web (renderer process).

:copyright: Copyright

Copyright (c) 2020-present sprout2000

관련 프로젝트 살펴보기

불러오는 중…