beh (Better feh) is a lightweight, cross-platform image viewer and an alternative to feh
It's supposes to be lightweight, cross-platform, free, open-source and easy to use, just takes a image path
Psst, you can open a image with the most hated image format (WebP) with it
beh_preview.mp4
Prebuilt releases are avaliable at Releases page
It will be published to Winget and Scoop and maybe, Chocolatey soon.
You can use Homebrew (not ready yet):
brew install- CMake
- SFML
- libwebp for reading WebP files (optional,
behcan be compiled without it, but without support for WebP) - A build system such as Make or Ninja
- Git
- Visual Studio Build Tools in order to build (You can use Visual Studio, too but it's not required if you don't use the IDE itself)
- Xcode Command-line Tools (You must log in to your Apple Account (formerly Apple ID) in order to download the software)
- Homebrew
build-essentialpackage
You can install it with apt (sudo apt install build-essential)
gccmakegcc-c++
You can install them with dnf or yum (sudo dnf install [packages here])
gccmakegcc-c++
You can install them with pacman or yay (sudo pacman -S [packages here])
First clone this repository with Git:
git clone https://github.com/ManiProjs/beh.gitUse CMake to create build files:
cmake -S . -B buildFinally, cd to the build directory and build it and install it (not required, but recommended) and run it.
If you have Makefile in the folder:
cd build &&If you have build.ninja:
ninjaTo install it, simply copy beh (Mac or Linux) or beh.exe (on Windows) to /usr/bin on Mac or Linux or "C:\Program Files\beh" in Windows (You can put it anywhere) (Don't forget to add "C:\Program Files\beh" to your PATH on Windows)