Skip to content

larsmagne/meme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

Dependencies

Emacs Version

To use this library, you need Emacs 29 or later. It has to be built with all the normal image-related goodies.

See Welcome New Emacs Developers for simple instructions on how to do this.

imgur.el library

Meme.el depends on imgur.el. Download it and put it in your load-path.

Microsoft True Type Fonts

You will also need to get the correct fonts,

Ubuntu

$ apt install ttf-mscorefonts-installer

Arch Linux

Using an AUR wrapper,

$ pacaur -S ttf-ms-fonts fontconfig-ttf-ms-fonts

Installation From Source

Meme.el is not officially part of MELPA yet, so the easiest way to install it is to clone the repository and add it to your Emacs load path,

$ cd /path/to/src
$ git clone https://github.com/larsmagne/meme.el

Configuration

Then in your init.el add the following:

(add-to-list 'load-path "/path/to/src/meme")
(require 'meme)
(autoload 'meme "meme.el" "Create a meme from a collection" t)
(autoload 'meme-file "meme.el" "Create a meme from a file" t)

Usage

./screenshot.png You can now effectively generate memes within Emacs from

Collection of Images

M-x meme, will allow you choose an image to edit from those stored in /path/to/src/meme/images

Select an Image File

M-x meme-file will let you browse to the desired image file.