con-images-to-webp convert to webp

Prerequisites Make sure you have ImageMagick installed on your system. If not, you can install it using the following commands: For Debian-based systems: sudo apt install imagemagick For Arch-based systems: sudo pacman -S imagemagick Usage Clone this repository or download the con-images-to-webp.sh script. git clone https://github.com/samanweb/con-images-to-webp.git Copy all images you want convert to webp to con-images-to-webp directory Run the script: cd con-images-to-webp ./con-images-to-webp.sh The script will convert all .jpg, .jpeg, and ....

April 12, 2024 · 1 min · 121 words · Saman Wijesinghe

Greedy Player

greedy-player Download greedy-player Link : https://github.com/samanweb/greedy-player.git Key Features Play/Pause Controls: Easily start or pause audio playback with a click of a button. Volume Control: Adjust the audio volume using the built-in volume control button, which also supports muting. Progress Bar: Visualize the progress of the audio playback with a dynamic progress bar. Remaining Time Display: Stay informed about the remaining time of the audio track with a clear and user-friendly display....

December 16, 2023 · 2 min · 253 words · Saman Wijesinghe

Frequently use nano keyboard shortcuts

Opening a File: nano filename: Open a file for editing. Basic Navigation: Arrow keys: Move the cursor. Ctrl + B: Move one page up. Ctrl + F: Move one page down. Ctrl + A: Move to the beginning of the current line. Ctrl + E: Move to the end of the current line. Ctrl + Y: Scroll up one line. Ctrl + V: Scroll down one line. Editing Text: Ctrl + Space: Set a mark....

October 10, 2023 · 2 min · 310 words · Saman Wijesinghe

Convert into .webp

Installing cwebp sudo apt update sudo apt install webp Fedora cwebp sudo dnf install libwebp-tools Open Suse sudo zypper install libwebp-tools Arch u sudo pacman -S base-devel git clone https://aur.archlinux.org/libwebp.git cd libwebp makepkg -si Convert JPG and PNG to WEBP for file in *.jpg *.png; do cwebp "$file" -o "${file%.*}.webp" done

October 8, 2023 · 1 min · 51 words · Saman