An image manipulation api used for creating meme-ish images. This is an attempt to recreate DankMemer/imgen
with better docs and such.
The project is currently work in progress, thus any and all contributions are welcome. See development section for setting up locally.
Api documentation will be available in the /api/
endpoint, and a json and yaml representation in /api/endpoints.json
and /api/endpoints.yaml
endpoint respectively.
- Cover all endpoints supported in
DankMemer/imgen
- Create readable documentation
The repo is setup to work with vercel as it will be deployed to vercel. It uses Next.js api routes for endpoints and next-rest-framework for creating strongly typed endpoints and automated documentations.
- pages/api: contains endpoints, every file denotes an endpoint
- src/: utility funcs and others.
- assets/: fonts and images used in endpoints
- A single endpoint should not access too many images. Vercel has a max size limit for serverless funcs and it deduces the file size based on fs imports and others. Dynamically trying to load files will cross file size restrictions.
- Clone repo
$ git clone https://github.com/Yakiyo/memage
- Set it up. See Development
- Create new branch
$ git checkout -b coolNewFeatureBranch
- Make ur changes and create a pull request. Please ensure ur code compiles and runs successfully and is properly linted and formatted. Check
rome.json
This project is a recreation of DankMemer api's imgen. Images in assets/
are directly copied from imgen's repo.
memage © Yakiyo. Authored and maintained by Yakiyo.
Released under MIT License