• This repository has been archived on 22/Oct/2020
  • Stars
    star
    306
  • Rank 136,456 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Motivate

Join the chat at https://gitter.im/pymotivate/Lobby

Motivate


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

Features

  • Colored Output
  • Supports bash and zsh

Requirements

git
python 3x

Installation

Linux/MacOS

$ git clone https://github.com/mubaris/motivate.git
$ cd motivate/motivate
$ sudo ./install.sh
$ source ~/.bashrc

zsh users should replace .bashrc with .zshrc.

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.

Windows

  • Make sure you have Python3 on your path.
  • Clone the repository git clone https://github.com/mubaris/motivate.git.
  • Add the path to your local clone to your system path.
  • Run py -3 motivate.py from the command prompt.

Update Database

$ git clone https://github.com/mubaris/motivate.git
$ cd motivate
$ ./UPDATE

Usage

$ motivate

"When something is important enough, you do it even if the odds are not in your favor."
		--Elon Musk

Contribution

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.

More Repositories

1

curiosity

Find Amazing Github :octocat: Projects ⚑
JavaScript
246
star
2

friendly-fortnight

🐺 K-Means Clustering using Python from Scratch πŸ„
Python
127
star
3

yes

yes - Implementation of simple and dangerous yes command in various languages. πŸ‘
Shell
86
star
4

zifi

zifi - Make Stories everywhere using React 😍
JavaScript
85
star
5

potential-enigma

Linear Regression from scratch
Jupyter Notebook
42
star
6

urban-robot

Reddit bot πŸ’» which replies to sarcastic comments :trollface: :trollface:
Jupyter Notebook
33
star
7

year_progress

⏳ Moved to
JavaScript
30
star
8

tensorflow-101

🐎 Introduction to TensorFlow ❄️
Python
23
star
9

omega_bot

One Chatbot to rule them all
CSS
20
star
10

emoji-tweeter

Want to tweet with claps? Use this
JavaScript
16
star
11

extension

Code for Eternity Chrome Extension
JavaScript
14
star
12

ozii

Generate πŸ“Ÿ PulseGraphs πŸ“Š from Text πŸ“° data
Python
10
star
13

simpleHTTPServer

πŸŽ‰ Implementation of simpleHTTPServer in Golang 🎁
Go
9
star
14

permanent-loss

Calculate historic Impermanent Loss
JavaScript
8
star
15

aave_liquidations

Jupyter Notebook
7
star
16

studious-eureka

SVM Model Implementation
Python
6
star
17

flasher

JavaScript
6
star
18

Fez

Python script to print all translations of a sentence
Python
5
star
19

dictionary-terminal

Get dictionary definitions in Terminal from http://dictionary.com/
Python
3
star
20

saga-auth-flow

React Authentication Flow using Redux and Redux Saga
JavaScript
3
star
21

filmoji

Mapping Hollywood Celebrities to Emojis based on their Movie Names 😍
JavaScript
2
star
22

mind-expanding-books

JavaScript
2
star
23

dumb-contracts

JavaScript
2
star
24

cricket-scores

Get cricket scores via Terminal
Python
2
star
25

website

CSS
2
star
26

mubaris.blog.backend

PHP
1
star
27

LogSymbols.jl

Julia
1
star
28

Zquotes

Collection of amazing quotes
1
star
29

stunning-doodle

JavaScript
1
star
30

reimagined-octo-waddle

CSS
1
star
31

nicebot

Nice Bot for Telegram
Python
1
star
32

zifi-example

JavaScript
1
star
33

mubaris.github.io

πŸ“ My Personal Website ✨
JavaScript
1
star
34

graviton

Build πŸ’» Desktop Applications using Golang, HTML and CSS 🎁
Go
1
star