Skip to content

JAlexLong/tmeme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dankcli

PyPI version Python Version Downloads

dankcli is a CLI Image Captioning Tool or Meme Generator which automatically adds white space and text to the top of your image.

Installation

$ pip install dankcli

Usage

$ python -m dankcli "path/to/image" "Meme text you want to add" [-f "final_image_name_without_extension"]

The text gets automatically wrapped according to width of image but you can also have intentional \n in your text. The image is saved in the current folder with the name as the current date and time, the name can be changed with the optional -f or --filename argument, specifying a file name without the file extension.

Example

Example 1 (showing \n functionality)

$ python -m dankcli "templates/yesbutno.jpg" "Mom at 2am: Are you awake?\n\nMe:"

turns this

to this

Example 2 (showing auto textwrap)

$ python -m dankcli "mymemes/helpmeme.jpg" "When you make a meme generator but now you can't stop making memes"

turns this

to this

About

CLI Image Captioning Tool or Meme Generator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%