• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H26-Nov-2021-32

assets/img/H26-Nov-2021-

completions/H26-Nov-2021-11899

include/H26-Nov-2021-893668

src/H26-Nov-2021-1,095884

.editorconfigH A D26-Nov-202198 76

.gitignoreH A D26-Nov-202121 32

CONTRIBUTING.mdH A D26-Nov-20212.4 KiB3628

LICENSEH A D26-Nov-202118 KiB349287

README.mdH A D26-Nov-20215.5 KiB138112

tmatrix.6H A D26-Nov-20212.6 KiB117116

README.md

1# TMatrix
2
3[![\[Latest GitHub release\]](https://img.shields.io/github/v/release/M4444/TMatrix)](https://github.com/M4444/TMatrix/releases)
4[![\[License\]](https://img.shields.io/badge/license-GPL--2.0--only-green)](https://github.com/M4444/TMatrix/blob/master/LICENSE)
5
6[![Codacy Badge](https://api.codacy.com/project/badge/Grade/995dada1ec344743921cdd10fc118f3a)](https://www.codacy.com/manual/M4444/TMatrix?utm_source=github.com&utm_medium=referral&utm_content=M4444/TMatrix&utm_campaign=Badge_Grade)
7[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/M4444/TMatrix.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/M4444/TMatrix/context:cpp)
8
9TMatrix is a program that simulates the digital rain from The Matrix.
10It's focused on being the most accurate replica of the digital rain effect achievable on a typical terminal, while also being customizable and performant.
11
12## Installation
13
14[![Packaging status](https://repology.org/badge/vertical-allrepos/tmatrix-m4444.svg)](https://repology.org/project/tmatrix-m4444/versions)
15
16### Install on Arch Linux [![AUR votes](https://img.shields.io/aur/votes/tmatrix-git)](https://aur.archlinux.org/packages/tmatrix-git)
17
18Install [`tmatrix-git`](https://aur.archlinux.org/packages/tmatrix-git/) from
19the AUR. For example, with an [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers)
20such as [`yay`](https://aur.archlinux.org/packages/yay/):
21```shell
22yay -S tmatrix-git
23```
24
25### Install on Gentoo Linux
26```shell
27eselect repository enable bright
28emerge --ask tmatrix
29```
30
31### Install on any Nix system
32```shell
33nix-env -f '<nixpkgs>' -iA tmatrix
34```
35
36### Install on openSUSE Linux
37
38The package can be installed from the community repo:
39#### For openSUSE Tumbleweed
40```shell
41zypper addrepo https://download.opensuse.org/repositories/home:kosmonaut2000/openSUSE_Tumbleweed/home:kosmonaut2000.repo
42zypper refresh
43zypper install TMatrix
44```
45#### For openSUSE Leap 15.2
46```shell
47zypper addrepo https://download.opensuse.org/repositories/home:kosmonaut2000/openSUSE_Leap_15.2/home:kosmonaut2000.repo
48zypper refresh
49zypper install TMatrix
50```
51
52### Download and install on other GNU/Linux distributions
53The prebuilt TMatrix uses **version 5** of the ncurses library.
54To install the library on Ubuntu or Debian run:
55```shell
56sudo apt-get install libncurses5
57```
58Now that you have the required library you can install and run tmatrix:
59```shell
60wget -q https://github.com/M4444/TMatrix/releases/download/v1.3/installation.tar.gz
61tar -zxvf installation.tar.gz
62cd installation
63sudo ./install.sh
64```
65To check if it installed correctly run:
66```shell
67tmatrix --version
68```
69
70#### Uninstall
71```shell
72sudo rm -f /usr/bin/tmatrix \
73           /usr/share/man/man6/tmatrix.6.gz \
74           /usr/share/bash-completion/completions/tmatrix \
75           /usr/share/zsh/site-functions/_tmatrix
76```
77To check if anything was left behind you can run:
78```shell
79locate tmatrix
80```
81
82### Build and install from source
83#### Tools
84This project uses C++17 so you'll need the latest tools in order you build it:
85- [CMake 3.8+](https://cmake.org/download/)
86- [GCC 7+](https://gcc.gnu.org/) or [Clang 5+](http://releases.llvm.org/)
87
88#### Library
89- [ncurses](https://www.gnu.org/software/ncurses/)
90
91#### Commands
92```shell
93git clone https://github.com/M4444/TMatrix.git
94cd TMatrix
95mkdir -p build && cd build
96cmake ..
97make -j8
98sudo make install
99```
100
101## Info
102
103### Options
104TMatrix is very customizable.
105You can change the starting title text, the color of the background and the characters, the speed, length and separations of the rain streaks.
106During execution you can use `p` to pause and `q` to quit.
107
108For a full description of all the options run `man tmatrix` or `tmatrix --help`.
109
110### Contributing
111Suggestions, bug reports and patch submissions are all welcome.
112You can create an [issue](../../issues), send a [pull requests](../../pulls) of just send an [email](mailto:mc.cm.mail@gmail.com).
113For details see [CONTRIBUTING.md](../master/CONTRIBUTING.md).
114
115### Author
116Written and maintained by Miloš Stojanović ([mc.cm.mail@gmail.com](mailto:mc.cm.mail@gmail.com)).
117
118### Acknowledgments
119Thanks to:
120- [Infinisil](https://github.com/Infinisil) for creating a Nix package
121- [filalex77](https://github.com/filalex77) for creating a Gentoo Linux package, adding bash, zsh and tcsh completions scripts and a .editorconfig file
122- [eliasrg](https://github.com/eliasrg) for creating and maintaining the Arch Linux package, clarifying the installation options on Arch Linux, adding CMake install commands for the man page and helping in the creation of completions scripts
123- [Makefile-dot-in](https://github.com/Makefile-dot-in) for fixing a problem linking atomic on Android
124- [sebpardo](https://github.com/sebpardo) for pointing out a typo in the man page
125- [fosspill](https://github.com/fosspill) for correcting the name of the required ncurses library
126- [meskarune](https://github.com/meskarune) for the idea and helpful suggestions for creating the 'fade' and 'rainbow' options
127- [taschenlampe](https://github.com/taschenlampe) for creating a openSUSE Linux package and reporting an issue with the install script
128
129### License
130TMatrix is licensed under the `GPL-2.0-only` - see the [LICENSE](../master/LICENSE) file for details.
131
132### Donations
133If you wish to send a donation you can do so here [![Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/M4444/donate) or here [![PayPal](assets/img/PayPal.png?raw=true)](https://www.paypal.com/paypalme/4milos).
134
135### How it looks
136![](assets/img/TMatrix.png?raw=true)
137![](assets/img/TMatrix.gif?raw=true)
138