Terminal based replica of the digital rain from The Matrix.
TMatrix is a program that simulates the digital rain from The Matrix. It's focused on being the most accurate replica of the digital rain effect achievable on a typical terminal, while also being customizable and performant.
Install tmatrix-git
from
the AUR. For example, with an AUR helper
such as yay
:
yay -S tmatrix-git
eselect repository enable bright
emerge --ask tmatrix
nix-env -f '<nixpkgs>' -iA tmatrix
The package can be installed from the community repo:
DISTRIBUTION=Tumbleweed
#DISTRIBUTION=Leap_15.5
#DISTRIBUTION=Leap_15.4
zypper addrepo "https://download.opensuse.org/repositories/home:kosmonaut2001/openSUSE_${DISTRIBUTION}/home:kosmonaut2000.repo"
zypper refresh
zypper install TMatrix
The prebuilt TMatrix uses version 5 of the ncurses library. To install the library on Ubuntu or Debian run:
sudo apt-get install libncurses5
Now that you have the required library you can install and run tmatrix:
wget -q https://github.com/M4444/TMatrix/releases/download/v1.4/installation.tar.gz
tar -zxvf installation.tar.gz
cd installation
sudo ./install.sh
To check if it installed correctly run:
tmatrix --version
sudo rm -f /usr/bin/tmatrix \
/usr/share/man/man6/tmatrix.6.gz \
/usr/share/bash-completion/completions/tmatrix \
/usr/share/zsh/site-functions/_tmatrix
To check if anything was left behind you can run:
locate tmatrix
This project uses C++17 so you'll need the latest tools in order you build it:
git clone https://github.com/M4444/TMatrix.git
cd TMatrix
mkdir -p build && cd build
cmake ..
make -j8
sudo make install
TMatrix is very customizable.
You can change the starting title text, the color of the background and the characters, the speed, length and separations of the rain streaks.
During execution you can use p
to pause and q
to quit.
For a full description of all the options run man tmatrix
or tmatrix --help
.
Suggestions, bug reports and patch submissions are all welcome. You can create an issue, send a pull requests of just send an email. For details see CONTRIBUTING.md.
Written and maintained by Miloš Stojanović ([email protected]).
Thanks to:
TMatrix is licensed under the GPL-2.0-only
- see the LICENSE file for details.
If you wish to send a donation you can do so here or here .