commit a7a86f1d20c61ffb0d5cd4ea6c8d8d1d254e6b13 Author: Theri <softwarezeris@gmail.com> Date: Sat Dec 14 11:00:10 2024 +0000 ⭐ Clearus 1.0 diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/clearus b/clearus new file mode 100644 index 0000000..48ed427 --- /dev/null +++ b/clearus @@ -0,0 +1,93 @@ +#!/bin/bash + +# Dedicated to my friend Clearus. Thanks for unblocking me fam! Also me and leafus are JUST FRIENDS. JUST FRIENDS... + +#!/bin/bash + +RESTORE='\033[0m' +HBLACK='\e[1;90m' +HRED='\e[1;91m' +HGREEN='\e[1;92m' +HYELLOW='\e[1;93m' +HBLUE='\e[1;94m' +HPURPLE='\e[1;95m' +HCYAN='\e[1;96m' +HWHITE='\e[1;97m' + +# Get terminal size +height=$(tput lines) +width=$(tput cols) + +# play BELL. +tput bel + +clearus() { + # Clear the terminal + clear + + # Ensure the 'yiff' directory is present and not empty + if [ ! -d "yiff" ] || [ -z "$(ls -A yiff 2>/dev/null)" ]; then + echo "Error: 'yiff' directory is missing or empty." + exit 1 + fi + + # Select a random image from the directory + yiff=$(find yiff -type f | shuf -n 1) + + # Check if jp2a is installed + if ! command -v jp2a &>/dev/null; then + echo "Error: jp2a is not installed. Install it and try again." + exit 1 + fi + + # Display the image + jp2a --colors "$yiff" --size=${width}x${height} +} + +version() { + printf "\n |\__/,| ( \n _.|o o |_ ) )\n-(((---(((--------\n\u2665$HRED Clearus v1.0\n$RESTORE\u2665 Developed by ${HCYAN}theridev$RESTORE (https://github.com/theridev)\nDedicated to Clearus: get fucked :3\n\n" +} + +# Parse arguments +while [[ $# -gt 0 ]]; do + case "$1" in + help) + echo "Spierdalaj czarnuhu :3" + exit 0 + ;; + version | --version) + version + exit 0 + ;; + --height) + if [[ -n $2 ]]; then + height=$2 + shift + else + echo -e "$HRED ERROR: Argument for --height not provided.$RESTORE" + exit 1 + fi + ;; + --width) + if [[ -n $2 ]]; then + width=$2 + shift + else + echo -e "$HRED ERROR: Argument for --width not provided.$RESTORE" + exit 1 + fi + ;; + *) + echo -e "$HRED ERROR: Unknown argument '$1'.$RESTORE" + exit 1 + ;; + esac + shift +done + +# Call clearus once +clearus + +# One more dedication. +# I DEDICATE THIS PROJECT TO U LEAFUS I LOVE YOUUUUU (platonically) +# coding this on a VC was an awesome experience. diff --git a/yiff/SPOILER_1344380bb0c8dc5f9f133f7c00dd981f.png b/yiff/SPOILER_1344380bb0c8dc5f9f133f7c00dd981f.png new file mode 100644 index 0000000..4d05d1e Binary files /dev/null and b/yiff/SPOILER_1344380bb0c8dc5f9f133f7c00dd981f.png differ diff --git a/yiff/SPOILER_471.png b/yiff/SPOILER_471.png new file mode 100644 index 0000000..efd3505 Binary files /dev/null and b/yiff/SPOILER_471.png differ diff --git a/yiff/SPOILER_574265.png b/yiff/SPOILER_574265.png new file mode 100644 index 0000000..b158645 Binary files /dev/null and b/yiff/SPOILER_574265.png differ diff --git a/yiff/SPOILER_8a9f46361b85e78e47f4999358f3edf0.png b/yiff/SPOILER_8a9f46361b85e78e47f4999358f3edf0.png new file mode 100644 index 0000000..f871a96 Binary files /dev/null and b/yiff/SPOILER_8a9f46361b85e78e47f4999358f3edf0.png differ diff --git a/yiff/SPOILER_8e2b24343b7b7b40ea99db38749c7f60.png b/yiff/SPOILER_8e2b24343b7b7b40ea99db38749c7f60.png new file mode 100644 index 0000000..e3a1a4b Binary files /dev/null and b/yiff/SPOILER_8e2b24343b7b7b40ea99db38749c7f60.png differ diff --git a/yiff/SPOILER_90587dff9c9a0cb72a5abddb3f1ae71c.png b/yiff/SPOILER_90587dff9c9a0cb72a5abddb3f1ae71c.png new file mode 100644 index 0000000..fa1c52a Binary files /dev/null and b/yiff/SPOILER_90587dff9c9a0cb72a5abddb3f1ae71c.png differ diff --git a/yiff/SPOILER_9e4373b931221066a5ed4cdc8192e504.png b/yiff/SPOILER_9e4373b931221066a5ed4cdc8192e504.png new file mode 100644 index 0000000..de4c8ee Binary files /dev/null and b/yiff/SPOILER_9e4373b931221066a5ed4cdc8192e504.png differ diff --git a/yiff/SPOILER_IMG_20240827_125128_688.jpg b/yiff/SPOILER_IMG_20240827_125128_688.jpg new file mode 100644 index 0000000..9904fe2 Binary files /dev/null and b/yiff/SPOILER_IMG_20240827_125128_688.jpg differ diff --git a/yiff/SPOILER_IMG_20241102_021930_378.jpg b/yiff/SPOILER_IMG_20241102_021930_378.jpg new file mode 100644 index 0000000..04a987d Binary files /dev/null and b/yiff/SPOILER_IMG_20241102_021930_378.jpg differ diff --git a/yiff/SPOILER_IMG_20241203_224316_283.png b/yiff/SPOILER_IMG_20241203_224316_283.png new file mode 100644 index 0000000..0868964 Binary files /dev/null and b/yiff/SPOILER_IMG_20241203_224316_283.png differ diff --git a/yiff/SPOILER_IMG_20241211_135428.png b/yiff/SPOILER_IMG_20241211_135428.png new file mode 100644 index 0000000..e179bcc Binary files /dev/null and b/yiff/SPOILER_IMG_20241211_135428.png differ diff --git a/yiff/SPOILER_RDT_20240802_0241477477867632268078727.jpg b/yiff/SPOILER_RDT_20240802_0241477477867632268078727.jpg new file mode 100644 index 0000000..8394d5e Binary files /dev/null and b/yiff/SPOILER_RDT_20240802_0241477477867632268078727.jpg differ diff --git a/yiff/SPOILER_SPOILER_image0.jpg b/yiff/SPOILER_SPOILER_image0.jpg new file mode 100644 index 0000000..1f3dae4 Binary files /dev/null and b/yiff/SPOILER_SPOILER_image0.jpg differ diff --git a/yiff/SPOILER_e1a25bf5c45243d60c65c8ee85a6fd98.png b/yiff/SPOILER_e1a25bf5c45243d60c65c8ee85a6fd98.png new file mode 100644 index 0000000..2b2f170 Binary files /dev/null and b/yiff/SPOILER_e1a25bf5c45243d60c65c8ee85a6fd98.png differ diff --git a/yiff/SPOILER_photo_2024-12-01_18-30-57.png b/yiff/SPOILER_photo_2024-12-01_18-30-57.png new file mode 100644 index 0000000..e36a908 Binary files /dev/null and b/yiff/SPOILER_photo_2024-12-01_18-30-57.png differ diff --git a/yiff/SPOILER_u0cDkQCW.jpg b/yiff/SPOILER_u0cDkQCW.jpg new file mode 100644 index 0000000..71ccd22 Binary files /dev/null and b/yiff/SPOILER_u0cDkQCW.jpg differ