Skip to main content

CLI Meme Generator to automatically add whitespace and text to top

Project description


PyPI version Downloads

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


$ pip install dankcli


$ python -m dankcli "path/to/image" "Meme text you want to add"

The text gets automatically wrapped according to width of image but you can also have intentional \n in your text. The meme is saved in a new folder called 'dankcli-output' with an indexed name.


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dankcli, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size dankcli-0.5.1-py3-none-any.whl (222.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dankcli-0.5.1.tar.gz (221.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page