Skip to content

A tool to display random inspirational quotes and famous dialogues from movies and TV shows on your CLI ๐Ÿ˜Ž

License

Notifications You must be signed in to change notification settings

veerendra2/quotations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Quotations

This is a re-implementation of funmotd, originally written in Python. ๐Ÿ

A tool to display random inspirational quotes and famous dialogues from movies and TV shows on your CLI.

demo.mov

Features

  • โœˆ๏ธ Works entirely offline.
  • ๐Ÿ“ฆ Single binary, no dependencies.
  • ๐Ÿ”ž Option to enable NSFW quotes.
  • ๐Ÿ–ฅ๏ธ Useful as Message of the Day (MOTD) in your terminal when you open it.

Installation

Homebrew

brew tap veerendra2/tap
brew install --cask quotations

Download Binaries

  • Download the latest binary from the Releases page.
  • Move it to a directory included in your $PATH, such as /usr/local/bin/.
mv quotations /usr/local/bin/
chmod +x /usr/local/bin/quotations

Usage

Run the following command to see available options:

quotations --help
  -e    Display entertainment quotes (default)
  -i    Display inspirational quotes
  -n    Enable NSFW quotes

Configuration

To display a random quote each time you open your terminal, add the following line to your shell configuration file (e.g., ~/.bashrc, ~/.zshrc, or ~/.profile).

# Example for bash
echo "/usr/local/bin/quotations" >> ~/.bashrc

# To include NSFW quotes
echo "/usr/local/bin/quotations -n" >> ~/.bashrc

# By default it displays entertainment quotes
# To display inspirational quotes
echo "/usr/local/bin/quotations -i" >> ~/.bashrc

Then, reload your shell configuration:

source ~/.bashrc

Add Quotes with Script

cd assets
pip3 install -r requirements.txt
# See comments in the script for help
python3 quotes_updater.py

Contributing

Contributions are welcome! Feel free to submit issues, pull requests, or even suggest new quotes.

About

A tool to display random inspirational quotes and famous dialogues from movies and TV shows on your CLI ๐Ÿ˜Ž

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •