larsmagne/meme

An Emacs meme generator

Emacs Lisp

196

104 commits

updated Sep 22, 2026

See the code

README

* Table of Contents                                                     :TOC:
 - [[#dependencies][Dependencies]]
   - [[#emacs-version][Emacs Version]]
   - [[#microsoft-true-type-fonts][Microsoft True Type Fonts]]
   - [[#melpa-repository-packages][MELPA Repository Packages]]
 - [[#installation-from-source][Installation From Source]]
 - [[#configuration][Configuration]]
 - [[#usage][Usage]]
   - [[#collection-of-images][Collection of Images]]
   - [[#select-an-image-file][Select an Image File]]
* 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 [[https://lars.ingebrigtsen.no/2014/11/13/welcome-new-emacs-developers/][Welcome New Emacs Developers]] for simple instructions on how to do
this.

** imgur.el library

Meme.el depends on [[https://github.com/larsmagne/imgur.el][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
#+BEGIN_SRC shell
$ apt install ttf-mscorefonts-installer
#+END_SRC
*** Arch Linux
Using an AUR wrapper,
#+BEGIN_SRC shell
$ pacaur -S ttf-ms-fonts fontconfig-ttf-ms-fonts
#+END_SRC
* Installation From Source
[[https://github.com/larsmagne/meme][Meme.el]] is not officially part of MELPA [[https://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00848.html][yet]], so the easiest way
to install it is to clone the repository and add it to your Emacs load
path,
#+BEGIN_SRC shell
$ cd /path/to/src
$ git clone https://github.com/larsmagne/meme.el
#+END_SRC
* Configuration
Then in your ~init.el~ add the following:

#+BEGIN_SRC emacs-lisp
(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)
#+END_SRC

* Usage
#+CAPTION: Remove font and will fallback to default system setting.
[[./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.
** Download an Image
~M-x meme-url~ will download the specified image and use that.

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Contributors

larsmagne

89 commits

nyameko

10 commits

skrytebane

3 commits

sachac

2 commits

larsmagne/meme

An Emacs meme generator

Emacs Lisp

196

104 commits

updated Sep 22, 2026

See the code

README

* Table of Contents                                                     :TOC:
 - [[#dependencies][Dependencies]]
   - [[#emacs-version][Emacs Version]]
   - [[#microsoft-true-type-fonts][Microsoft True Type Fonts]]
   - [[#melpa-repository-packages][MELPA Repository Packages]]
 - [[#installation-from-source][Installation From Source]]
 - [[#configuration][Configuration]]
 - [[#usage][Usage]]
   - [[#collection-of-images][Collection of Images]]
   - [[#select-an-image-file][Select an Image File]]
* 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 [[https://lars.ingebrigtsen.no/2014/11/13/welcome-new-emacs-developers/][Welcome New Emacs Developers]] for simple instructions on how to do
this.

** imgur.el library

Meme.el depends on [[https://github.com/larsmagne/imgur.el][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
#+BEGIN_SRC shell
$ apt install ttf-mscorefonts-installer
#+END_SRC
*** Arch Linux
Using an AUR wrapper,
#+BEGIN_SRC shell
$ pacaur -S ttf-ms-fonts fontconfig-ttf-ms-fonts
#+END_SRC
* Installation From Source
[[https://github.com/larsmagne/meme][Meme.el]] is not officially part of MELPA [[https://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00848.html][yet]], so the easiest way
to install it is to clone the repository and add it to your Emacs load
path,
#+BEGIN_SRC shell
$ cd /path/to/src
$ git clone https://github.com/larsmagne/meme.el
#+END_SRC
* Configuration
Then in your ~init.el~ add the following:

#+BEGIN_SRC emacs-lisp
(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)
#+END_SRC

* Usage
#+CAPTION: Remove font and will fallback to default system setting.
[[./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.
** Download an Image
~M-x meme-url~ will download the specified image and use that.

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Contributors

larsmagne

89 commits

nyameko

10 commits

skrytebane

3 commits

sachac

2 commits

Languages

Emacs Lisp

100.0%