Categorygithub.com/depado/memegen
repositorypackage
0.2.1
Repository: https://github.com/depado/memegen.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

MemeGen

forthebadgeforthebadgeforthebadge

Go Version Go Report Card License Say Thanks!

Very Simple Meme Generator

Introduction

Memegen is a very simple CLI program that can write text on a picture you provide, either on top, bottom or both. It supports font loading, font sizing, will word-wrap properly if the text is too long. Just a little project for fun mostly.

Install

Grab the latest binary on the releases page or install it from source:

$ go get -u github.com/depado/memegen

Note: This project uses go modules

Usage

Usage:
  memegen <picture> [options] [flags]
  memegen [command]

Available Commands:
  help        Help about any command
  version     Show build and version

Flags:
  -b, --bottom string      text to display on bottom
      --font.outline int   outline of the font (default 4)
  -f, --font.path string   font path to use (default "fonts/impact.ttf")
  -s, --font.size float    font size (default 70)
  -h, --help               help for memegen
  -o, --output string      output file (default "out.png")
  -t, --top string         text to display on top

Use "memegen [command] --help" for more information about a command.

In order for this to work, you'll need to download fonts or specify the path of the .ttf font you wish to use (that is installed on your system). For example you can create the fonts/ directory and download the impact font in it.