memeoid

command module
v0.0.0-...-cc6b2b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

Memeoid

This is a simple meme generator with support for animated gifs.

I could not find another FLOSS meme generator which supported them, so I created a new one.

Still in super-early stages of development, probably full of very bad design choices as I cargo-culted my way around GIF manipulation.

Still, with the provided dockerfile you have a functioning meme generator you can use.

Installation

Docker is the only supported platform. Build your image by running

$ docker build . -t memeoid:latest

Please note: by running the build, you'll implicitly accept the EULA for the Microsoft core fonts, as the docker image uses Microsoft Impact by default.

By default the image is built to run memeoid as user 1000, for ease of use by me during development. You should export the UID variable if you want to change that.

Running

First, you need a directory containing gifs you want to use as base for the memes. The directory should be accessible to the UID we chose at build time.

Then, you need to create a directory where the output memes will be saved.

Now you can run memeoid

GIFDIR=<dir-with-originals> MEMEDIR=<dir-for-memes> ./run.sh

Modifying templates without a rebuild

You can just point the TEMPLATEDIR variable to your template directory:

export TEMPLATEDIR=templates
GIFDIR=<dir-with-originals> MEMEDIR=<dir-for-memes> ./run.sh

Just remember that directory needs to be readable by the user running the application.

Documentation

Overview

Copyright © 2020 Giuseppe Lavagetto

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL