Skip to content

Tiny python script that prints a random Magic: The Gathering's card's flavor text when executed. Call it on your terminal profile to get random quotes every time you open the terminal.

License

Notifications You must be signed in to change notification settings

JustADataConstruct/MTGRandomQuote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTGRandomQuote

Sample image

Tiny python script that prints a random Magic: The Gathering's card's flavor text when executed. Call it on your terminal profile to get random quotes every time you open the terminal.

Install

pip install .

Usage

Call mtgquote to print a random quote into your terminal.

The exact specifics will change depending on the shell you use.

Bash

Call mtgquote on your .bash_profile

ZSH

Call mtgquote on your .zshrc file.

Data

All data lives in the flavor.sqlite file. This file contains data obtained from https://mtgjson.com/.

About

Tiny python script that prints a random Magic: The Gathering's card's flavor text when executed. Call it on your terminal profile to get random quotes every time you open the terminal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages