Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Use the commandline to create a simple text-above-image meme in the stlye of 9gag posts

Project Description

**MakeAboveMeme**
A command-line tool to create a meme with an image and some text above. Above that a title, below that some tags, and below them a line with "x comments, y points". Everything is optional but it looks ugly without the image.
Here's an example made with version 0.2

``python makeAboveMeme.py -T "Thest of the Mhemery" -i "https://i.imgur.com/Y3w71er.jpg" --tag "global warming" --tag "earth chan" --tag "tags are traps" --tag "What the fuck" -c "other" -p 3
``
![invisible john cena](./docs/meme.png)

To view this readme in a better formatting, please refer to the github repo listed under home page.

**Installation and Dependencies**
Maybe `pip install MakeAboveMeme` works. If not, make sure the following dependencies are installed and perform `git clone https://github.com/lucidBrot/MakeAboveMeme.git ./MakeAboveMeme`.

* `sudo apt-get install xvfb` or your standard x-server running
* [webkit2png](https://stackoverflow.com/a/48537053/2550406)

**Execute**
`python makeAboveMeme.py -T "test title"`
`webkit2png temp.html -o meme.png -x 700 1000`

**Error Codes**
If everything goes fine, the default should be 0.
If something breaks unexpectedly, the default should be 1.
If the call to webkit2png breaks, the exit code is 2.

**Formatting**
Any html tags are sanitized away. You can use `\n` typed out, the newline character `\n`, or `<br>` for line breaks though.

Release History

This version
History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5

History Node

0.4

Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
MakeAboveMeme-0.5.4.tar.gz
(384.7 kB) Copy SHA256 Hash SHA256
Source Feb 16, 2018

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting