Skip to content
⚡️ motivate ⚡️ - A simple script to print random motivational quotes. Highly influenced by linux command fortune.
Branch: master
Clone or download
mubaris Merge pull request #172 from zachsanford/add-zach-sanford
Added some quotes in the 180.json file.
Latest commit ff66d01 Sep 21, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
motivate Added some quotes in the 180.json file. Also I validated it with the … Sep 18, 2018
.gitignore New quotes for the project. Thanks for letting me participate! May 11, 2018
LICENSE Fix file permissions Oct 14, 2017 Update Aug 8, 2018 Add non-root install/use. Add a keep-running mode. Jan 6, 2018
motivate.svg Add Logo Nov 25, 2017
requirements.txt get quotes via APIs Feb 18, 2018
setup.cfg Ready for PyPi Oct 19, 2017


Join the chat at


A simple script to print random motivational quotes. Highly influenced by linux command fortune.


  • Colored Output
  • Supports bash and zsh


python 3x



$ git clone
$ cd motivate/motivate
$ sudo ./
$ source ~/.bashrc

zsh users should replace .bashrc with .zshrc.

If you have no root priviledge, install in this way:

$ git clone
$ cd motivate
$ ln -s $PWD/motivate/ moti
$ ln -s $PWD/ 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.


  • Make sure you have Python3 on your path.
  • Clone the repository git clone
  • Add the path to your local clone to your system path.
  • Run py -3 from the command prompt.

Update Database

$ git clone
$ cd motivate


$ 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.

You can’t perform that action at this time.