Projets
Voir sur GitHub

sprout2000/leafview
À propos
Minimalist image viewer based on Leaflet.js and Electron.
Design et médiasWhat 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
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
LeafView
Minimalist image viewer based on Leaflet.js and Electron.
: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)
: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.
- Create
{language_code}.json(e.g.nl.json) insrc/locales, based onen.json. It must have the same keys asen.json. - Import the file and add the language to
languagesinsrc/languages.ts.
+ import nl from "./locales/nl.json";
export const languages: Language[] = [
...
+ { code: "nl", label: "Nederlands", translation: nl },
...
];
- Make sure
npm run lintandnpm testpass (see Development). - 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
Explorer des projets similaires
Chargement…