Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/faas-and-furious/openfaas-mememachine
OpenFaaS function to generate a meme from an image URL
https://github.com/faas-and-furious/openfaas-mememachine
docker meme openfaas
Last synced: 4 months ago
JSON representation
OpenFaaS function to generate a meme from an image URL
- Host: GitHub
- URL: https://github.com/faas-and-furious/openfaas-mememachine
- Owner: faas-and-furious
- License: mit
- Created: 2017-10-09T18:02:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-29T21:32:33.000Z (over 4 years ago)
- Last Synced: 2024-06-22T16:56:59.376Z (6 months ago)
- Topics: docker, meme, openfaas
- Language: JavaScript
- Size: 393 KB
- Stars: 10
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenFaaS mememachine
Turn any image into a meme
![](https://github.com/developius/openfaas-mememachine/raw/master/meme.jpg)
# Getting started
You can deploy in just one step thanks to the remote yaml feature of the [OpenFaaS CLI](https://github.com/openfaas/faas-cli)!```
$ faas-cli deploy -f https://raw.githubusercontent.com/faas-and-furious/openfaas-mememachine/master/mememachine.yml -e read_timeout=60,write_timeout=60
```# Try it out
```
$ echo '{"image": "http://vignette4.wikia.nocookie.net/factpile/images/6/66/Lotr-boromir-1280jpg-b6a4d5_1280w.jpg","top": "ONE DOES NOT SIMPLY JUST","bottom": "DEPLOY TO PRODUCTION"}' | faas-cli invoke mememachine > meme.jpg
```