A simple script to print random motivational quotes. Highly influenced by linux command fortune.
git python 3x
git clone https://github.com/mubaris/motivate.git cd motivate/motivate sudo ./install.sh source ~/.bashrc
zsh users should replace
If you have no root priviledge, install in this way:
git clone https://github.com/mubaris/motivate.git cd motivate ln -s $PWD/motivate/motivate.py moti ln -s $PWD/dummy.sh mmoti export PATH=$PWD:$PATH # echo 'export PATH=$PWD:$PATH' >> ~/.bashrc
Later you can run by calling
moti (a single run) or
mmoti (keep running until you break it).
After doing so, I found that python 2.x is enough to run this script.
git clone https://github.com/mubaris/motivate.git.
py -3 motivate.pyfrom the command prompt.
git clone https://github.com/mubaris/motivate.git cd motivate ./UPDATE
$ motivate "When something is important enough, you do it even if the odds are not in your favor." --Elon Musk
The most popular way to contribute is adding new quotes. You do it by adding next JSON file in
motivate/data/ directory. The rule is 20 quotes per file.
Before you submit your new JSON file, it is helpful to validate your file at this website to make sure it is formatly correct.
But any improvements are welcome - just open a pull request with some description.
You're also welcome to discuss the idea on Gitter Chat.