Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 770 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 770 Bytes

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