2
0
mirror of https://github.com/qarmin/czkawka synced 2024-11-18 03:25:36 +00:00
czkawka/czkawka_gui
Rafał Mikrut 81b0afffc2 Hashes
2024-02-03 20:18:24 +01:00
..
i18n Excluded 2024-01-20 13:47:44 +01:00
icons Import split 2024-01-14 20:00:56 +01:00
src Hashes 2024-02-03 20:18:24 +01:00
ui Excluded 2024-01-20 13:47:44 +01:00
Cargo.toml VD 2024-02-03 18:47:00 +01:00
data Bind data folder into subprojects 2023-10-13 21:25:45 +02:00
i18n.toml Release 4.0 and do "small" refactoring to fix problems with packing (#593) 2022-01-19 22:35:07 +01:00
LICENSE Alternative frontend with Slint (#1102) 2023-12-03 12:06:42 +01:00
README.md Optimize excluded items (#1152) 2023-12-03 21:18:31 +01:00

Czkawka GUI

Czkawka GUI is a graphical user interface for Czkawka Core written with GTK 4.

Screenshot from 2023-11-26 12-43-32

Requirements

Requirements depends on platform that you are using.

Prebuild binareies are available here - https://github.com/qarmin/czkawka/releases/

Linux

Prebuild binaries

Ubuntu - sudo apt install libgtk-4 libheif libraw ffmpeg -y

Snap -

none - all needed libraries are bundled in snap except ffmpeg - https://snapcraft.io/czkawka

Flatpak

none - all needed libraries are bundled - https://flathub.org/apps/com.github.qarmin.czkawka

Mac

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install gtk4 adwaita-icon-theme ffmpeg librsvg libheif libraw

Windows

All needed libraries should be bundled in zip(except ffmpeg which you need download and unpack to location with czkawka_gui.exe - https://ffmpeg.org/download.html#build-windows)

You can also install app via msys2(webp and heif should work here) - https://www.msys2.org/#installation (czkawka package - https://packages.msys2.org/base/mingw-w64-czkawka)

pacman -S mingw-w64-x86_64-czkawka-gui

and you can create shortcut to C:\msys64\mingw64\bin\czkawka_gui.exe

Compilation

Compilation of gui is harder than compilation cli or core, because uses gtk4 which is written in C and also requires a lot build and runtime dependencies.

Requirements

Program Minimal version
Rust 1.72.1
GTK 4.6

Linux (Ubuntu, but on other OS should work similar)

sudo apt install libgtk-4-dev libheif-dev libraw-dev -y
cargo run --release --bin czkawka_gui
# Or with support for heif and libraw
cargo run --release --bin czkawka_gui --features "heif,libraw"

Mac

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install rustup gtk4 adwaita-icon-theme ffmpeg librsvg libheif libraw pkg-config
rustup-init
cargo run --release --bin czkawka_gui
# Or with support for heif and libraw
cargo run --release --bin czkawka_gui --features "heif,libraw"

Windows

Currently, there is no instruction how to compile app on Windows natively.
You can check for CI for instructions how to cross-compile app from linux to windows(uses prebuilt docker image) - CI Instructions
There exists mingw recipe which you can try to convert for your purposes - https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-czkawka/PKGBUILD

Limitations

Not all available features other components implemented here, so this is list of limitations:

  • Snap versions not allows to use similar videos feature
  • Windows version not supports heif and webp files with prebuild binaries
  • Prebuild binaries for mac arm not exists

License

Code is distributed under MIT license.

Icon was created by jannuary and licensed CC-BY-4.0.

Windows dark theme is used from project WhiteSur with MIT license.

Some icons were taken from ReShot site and are licensed under Reshot Free License.

The program is completely free to use.

"Gratis to uczciwa cena" - "Free is a fair price"

Name

Czkawka is a Polish word which means hiccup.

I chose this name because I wanted to hear people speaking other languages pronounce it, so feel free to spell it the way you want.

This name is not as bad as it seems, because I was also thinking about using words like żółć, gżegżółka or żołądź, but I gave up on these ideas because they contained Polish characters, which would cause difficulty in searching for the project.

At the beginning of the program creation, if the response concerning the name was unanimously negative, I prepared myself for a possible change of the name of the program, and the opinions were extremely mixed.