Cowspeak ๐ฎ
Display a gradient colourful animal with a random quote or your own text in your terminal.
โโโ[sourav::archlinux]โ[~] โโโโผโฎ cowspeak
//======================================================\\ | Malek's Law: Any simple idea will be worded in | | the most complicated way. | \\======================================================// ooo oo o __n__n__ .------`-\00/-' / ## ## (oo) / \## __ ./ |//YY \|/ ||| |||
Note that this is only for GNU/Linux systems. It depends on ruby
. Cowspeak recommends you to have Ruby 2.4.0+
.
๐ This version is intended to run locally, without any root privileges. To run this version, download the repo as zip or clone it, and then run cowspeak
(the source code) with ruby. If you want to install cowspeak for all users (as root), then follow the below instructions.
For Debian/Linux Mint/Ubuntu/Kali Linux/Raspbian/Other debian based systems ๐
-
Download the latest
.
Cowspeak Debian edition releases can also be found here.
- Install the deb file:
dpkg -i cowspeak-v<version>.deb
Or You can use gdebi-gtk / gdebi. -
Sometimes the latest deb package may be a month or two older than the latest source code. In that case, after the installation, you may want to check for an update, which will not use more than 30 KiB of internet data:
sudo cowspeak -u
If you donโt want to download and install the deb file for some reason, please follow the next section: โRunning Cowspeak on Other Distributions โ๏ธโ
Running Cowspeak on Arch Linux/Manjaro/Archlabs and other Arch based distributions
- git clone https://aur.archlinux.org/cowspeak.git
- cd cowspeak
- makepkg -Aris
Running Cowspeak on Other Linux Distributions โ๏ธ
If you want to run cowspeak
in any GNU/Linux distributions, then please follow the steps:
-
Make sure you have Ruby ๐
-
Run the
as root.
Example:
sudo ruby Root_Installer.rb
Press Enter to Confirm each step.
-
When the above step succeeds, run:
sudo cowspeak -dl
๐ฎ Cowspeak Accepts Arguments. All the Available Arguments are ๐
1 --art or -a Display a tutorial on adding your own art.
2 --blink or -b Blink the texts.
3 --borderh=<ch>/-brh=<ch> Horizontal border character.
4 --borderv=<ch>/-brv=<ch> Vertical border character.
5 --bubble=<text>/-bbl=<text> Specify the character of speech balloons.
6 --documentation/-d Display the documentation.
7 --download/-dl Download missing files from Github.
8 --file=<path>/-f=<path> Specify the path of your own ASCII art.
9 --fill=<char>/-fc=<char> Fill the quote area with a character.
10 --force-update/-fu Forcefully update (also see --update)
11 --help/-h Display help.
12 --invert/-inv Invert the output (right <- left in English)!
13 --manual/-m Display a manual. Same as documentation.
14 --net=<url>/-n=<url> Read data from a website (in curl format).
15 --no-art/-na Don't display the animal.
16 --no-colour/-nc Don't colourize the output.
17 --no-text/-nt Don't show any text, show the animal.
18 --read=<file>/-r=<file> Read a file.
19 --reverse/-rev Cowspeak reads upside down!
20 --rotate-colour/-rc Rotate the output colours in each line.
21 --show-arts/-sa Show arts in the default directory.
22 --text=<text>/-t=<text> Display a custom text.
23 --version/-v Display the current /usr/bin/cowspeak version.
24 --update/-u Update cowspeak if possible.
25 --welcome/-w Show some system details to the user.
Note on Arguments ๐
You have to pass each argument separately. For example, cowspeak -rc rotates the colour of the output, and -w shows a welcome screen with some system status and information. So if you want to use both, you have to use cowspeak -rc -w (instead of cowspeak -rcw).
If you pass an invalid argument, cowspeak will not inform you. It will simply ignore the invalid argument so you can cheer!
Screenshots ๐ธ
โโโ[sourav::archlinux]โ[~] โโโโผโฎ cowspeak -w
//======================================================================\\ | >> Welcome Sourav! | | :: Model: Inspiron 5567 | | :: BIOS: Dell Inc.(1.1.2) | | :: Logname: sourav | | :: Hostname: archlinux | | :: Local IP: 192.168.2.8 | | :: Desktop Session: Xfce Session | | :: OS: Arch Linux (x86_64-linux) | | :: Kernel: 5.5.13-arch1-1 | | :: CPU: Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz | | [Cores: 4] | | :: Total CPU Usage: 32.26% | | [C1: 25% | C2: 0% | C3: 63% | C4: 29%] | | :: Memory: 2764.17 MB / 3845.14 MB (71.89%) | | :: Swap: 290.9 MB / 3145.72 MB (9.25%) | | :: Uptime: 9 hours, 54 minutes, 22 seconds | | :: Tasks: 209 | | [Running 2 | Sleeping 137 | Idle 70] | | :: Shell: /bin/bash | | :: PWD: /home/sourav/ (126 items) | | :: Terminal Size: 26 ร 104 | | :: Battery: DELL CYMGM77 (Samsung SDI) (Li-ion) | | [Charge: 100% | Full] | | :: Date & Time: March 31, Tuesday, 05:21:27 AM | \\======================================================================// ooo oo o /) /\___/\ (( \`@_@'/ )) {_:Y:.}_// ----------{_}^-'{_}----------
โโโ[sourav::archlinux]โ[~] โโโโผโฎ echo hello | cowspeak //====================================================\\ | hello | \\====================================================// ooo oo o __ _ o'')}____// `_/ ) (_(_/-(_/
โโโ[sourav::archlinux]โ[~] โโโโผโฎ cowspeak <<< `tail /usr/bin/cowspeak` //====================================================\\ | colourize.(IO.readlines(file).drop(2).join) | | | | elsif display_text | | puts colourize === text | | end | | | | rescue SystemExit, Interrupt, SignalException | | abort $-n * 2 | | rescue Exception => e | | exception_handle.(e) | | end | \\====================================================// ooo oo o (`-()_.-=-. /66 , , \ =(o_/=//_( /======` ~"` ~"~~`
โโโ[sourav::archlinux]โ[~] โโโโผโฎ cowspeak -w -rc //====================================================================\\ | >> Welcome Sourav! | | :: Model: Inspiron 5567 | | :: BIOS: Dell Inc.(1.1.2) | | :: Logname: sourav | | :: Hostname: archlinux | | :: Local IP: 192.168.2.8 | | :: Desktop Session: Xfce Session | | :: OS: Arch Linux (x86_64-linux) | | :: Kernel: 5.5.13-arch1-1 | | :: CPU: Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz | | [Cores: 4] | | :: Total CPU Usage: 29.03% | | [C1: 38% | C2: 33% | C3: 22% | C4: 25%] | | :: Memory: 2811.63 MB / 3845.14 MB (73.12%) | | :: Swap: 281.42 MB / 3145.72 MB (8.95%) | | :: Uptime: 9 hours, 59 minutes, 3 seconds | | :: Tasks: 208 | | [Running 1 | Sleeping 136 | Idle 70] | | :: Shell: /bin/bash | | :: PWD: /home/sourav/ (126 items) | | :: Terminal Size: 26 ร 102 | | :: Battery: DELL CYMGM77 (Samsung SDI) (Li-ion) | | [Charge: 100% | Full] | | :: Date & Time: March 31, Tuesday, 05:26:09 AM | \\====================================================================// ooo oo o /) /\___/\ (( \`@_@'/ )) {_:Y:.}_// ----------{_}^-'{_}----------
Bug Report ๐
Cowspeak considers bugs and security issues very seriously ๐. If you got any bug in cowspeak, any security issue, or an idea, please let me know via or email me souravgoswami@protonmail.com