https://github.com/humansinput/meowcat
View your files from terminal in a meowified way!
https://github.com/humansinput/meowcat
bash cats cli cli-app meow meowcat tcl tcl-scripts terminal terminal-game
Last synced: 10 months ago
JSON representation
View your files from terminal in a meowified way!
- Host: GitHub
- URL: https://github.com/humansinput/meowcat
- Owner: humansinput
- Created: 2019-12-01T16:12:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-01T16:37:29.000Z (over 6 years ago)
- Last Synced: 2025-05-16T13:11:52.361Z (about 1 year ago)
- Topics: bash, cats, cli, cli-app, meow, meowcat, tcl, tcl-scripts, terminal, terminal-game
- Language: Tcl
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
Awesome Lists containing this project
README
== meowcat
[source]
----
______________________
| |
| A tiny CLI tool that |
| t will meowify your |
| files! |
|_ __________________|
| /
|_|
|\ /|
| \ / |
| \ / |
| \ / |
| \/ |
| __ __ |
| | || | |
| | .||. | |
| |__||__| |
| _ |
| |
| \/\/ |
|__________|
___| |____
| | _____ |\ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
|_| |___| | \_\
| |
| / | |
| | | |
| | | |
| | | |
_| | | |_
|____| |___|
----
Copyright (C) Tim K/RoverAMD 2019
=== What is this?
As you've probably guessed already, this is a replacement for the ``cat`` command-line tool, but all of the file output is meowified, just like in ``cowsay``, but with cats, not cows.
=== Why did I even make this?
Because cats are cute...
=== Installation (Linux and macOS)
Needs Tcl 8.4 or newer to operate and nothing else. On Ubuntu, install Tcl with ``sudo apt-get install tclsh -y``.
[source,bash]
----
$ sudo curl -o /usr/local/bin/meowcat http://meow.roveramd.com/meowcat.tcl
$ sudo chmod 755 /usr/local/bin/meowcat
----
If you prefer ``meowcat`` over regular ``cat``, create an alias to ``meowcat`` from ``cat``:
[source,bash]
----
$ alias cat=meowcat
----
=== Usage
[source,bash]
----
meowcat
----
Available flags:
[squares]
- **-u** - draws a happy cat with an UwU face.
- **-h** - height of the cat's body in stdout rows. Default value is **6**.
- **-f** - offset from the left. Default value is **5**.
You can specify **-** as the input filename to read from stdin.
Examples:
[source,bash]
----
$ meowcat -h4 -f2 /etc/mandriva-release
______________________
| |
| OpenMandriva Lx rele |
| ease 2014.0 (Phospho |
| orus) for x86_64 |
|_ __________________|
| /
|_|
|\ /|
| \ / |
| \ / |
| \ / |
| \/ |
| __ __ |
| | || | |
| | .||. | |
| |__||__| |
| _ |
| |
| \/\/ |
|__________|
___| |____
| | _____ |\ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
|_| |___| | \_\
| |
| / | |
| | | |
| | | |
| | | |
| | | |
_| | | |_
|____| |___|
$ printf '%s' "I've just imagined that I found a huge fish for dinner." | meowcat -u -
______________________
| |
| I've just imagined t |
| that I found a huge |
| fish for dinner. |
|_ __________________|
| /
|_|
|\ /|
| \ / |
| \ / |
| \ / |
| \/ |
| __ __ |
| | || | |
| |/\||/\| |
| |__||__| |
| _ |
| |
| \/\/ |
|__________|
___| |____
| | _____ |\ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
| | | | | \ \
|_| |___| | \_\
| |
| / | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
_| | | |_
|____| |___|
----
=== License
0BSD