Skip to content

faas-and-furious/faas-contributor-stamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This uses ImageMagick, docs here

Pre-reqs:

Setup OpenFaaS including the CLI via:

Example:

Deploy via YAML:

$ faas-cli deploy -f stack.yml

Or via parameters:

$ faas-cli -action deploy -name faas-stamp -image alexellis2/faas-stamp:0.2 -fprocess "sh entry.sh"

Then invoke it:

$ curl -SL "https://avatars2.githubusercontent.com/u/8311848?v=4&s=460" > jock.jpg
$ curl localhost:8080/function/faas-stamp --data-binary @jock.jpg > john-new.jpg

Use custom message:

$ curl localhost:8080/function/faas-stamp  -H "X-Caption: FaaS is cool" --data-binary \
  @$HOME/Downloads/avatar.jpg > avatar_new.jpg 

About

Stamp your avatar as an OpenFaaS contributor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •