Skip to content

Jerome1337/henri-facts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Henri Facts

OpenFaaS

Simple golang FAAS powered by OpenFaas used as a Slack command.

This function return a random quote from @henri9813

Usage

Use https://jerome1337.o6s.io/henri-facts

For example

$ curl https://jerome1337.o6s.io/henri-facts

Response

{
  "response_type":"in_channel",
  "text":"Il est blazing nické"
}

The response_type key is necessary when this FAAS is used as a Slack command

For a funny terminal

Add the following line at the end of your .bashrc or .zshrc

$ cowsay $(curl -s https://jerome1337.o6s.io/henri-facts | jq ".text")

Requirements

  • cowsay
  • jq

About

Serverless FAAS used to work as a Slack command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages