GithubHelp home page GithubHelp logo

isabella232 / motivate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from justinmatters/motivate

0.0 0.0 0.0 629 KB

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

License: MIT License

Shell 3.38% Python 96.46% Batchfile 0.16%

motivate's Introduction

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
python3

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.

motivate's People

Contributors

adiagg2000 avatar althafhussaink avatar arshan-q avatar ashtsh avatar billhammond-dev avatar bubblemelon avatar chamow97 avatar chironly avatar eazydev avatar fleaz avatar fullstackman avatar fuzzmz avatar ganeshhubale avatar jmeline avatar jmhobbs avatar justinmatters avatar lucyparry avatar lyupin avatar maybebored avatar michellymenezes avatar mubaris avatar nandy-andy avatar otazz avatar sagar9268 avatar savannahar68 avatar sesh22 avatar shwuup avatar sreyasrangaraju avatar toivomattila avatar vvanarasi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.