https://github.com/Vendicated/memegen
A posix shell script to generate memes from the command line
https://github.com/Vendicated/memegen
meme-generator posix shell-script
Last synced: 5 months ago
JSON representation
A posix shell script to generate memes from the command line
- Host: GitHub
- URL: https://github.com/Vendicated/memegen
- Owner: Vendicated
- License: gpl-3.0
- Created: 2021-03-29T20:16:57.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-19T11:31:38.000Z (over 2 years ago)
- Last Synced: 2024-12-04T23:31:54.558Z (about 1 year ago)
- Topics: meme-generator, posix, shell-script
- Language: Shell
- Homepage:
- Size: 1.23 MB
- Stars: 27
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# memegen
A POSIX shell script to generate memes from the commandline using ImageMagick
## Requirements
- ImageMagick installed
- Impact font installed properly. Check: `convert -list font | grep Impact`
## Usage
```
memegen [TOP_CAPTION] [BOTTOM_CAPTION]
- INPUT_FILE: Full or absolute path to a local file. Or alternatively an image url (will be downloaded to /tmp/memetemp using curl)
- OUTPUT_FILE: Full or absolute path to save file to. Will not override if file exists
- TOP_CAPTION: Top caption. Only one of TOP_CAPTION and BOTTOM_CAPTION is required
- BOTTOM_CAPTION: Bottom caption
```
## Example
```sh
$ memegen https://i.imgur.com/Yu6kZc5.jpg 5g.jpg "5g users be like" "omg my phone so fast nya~"
Done! Saved to 5g.jpg
```
Results in:
