Sign inSign up

momirza/cowsayer

By momirza

•Updated about 8 years ago

An API that return ASCII cows (and other animals)

Image
0

340

momirza/cowsayer repository overview

⁠Cowsayer

⁠To run:
$ docker run -p 8000:8000 momirza/cowsayer
[2018-09-27 21:32:49 +0000] [1] [INFO] Starting gunicorn 19.9.0
[2018-09-27 21:32:49 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
[2018-09-27 21:32:49 +0000] [1] [INFO] Using worker: sync
[2018-09-27 21:32:49 +0000] [8] [INFO] Booting worker with pid: 8
⁠Making requests:
$ curl -s -X "POST" "http://localhost:8000/cow/" \
     -H 'Content-Type: application/json' \
     -d $'{
            "text": "Hello everyone!"
        }' | xargs printf
  _______________
< Hello everyone! >
  ===============
                    \
                     \
                       ^__^                             
                       (oo)\_______                   
                       (__)\       )\/\             
                           ||----w |           
                           ||     ||  
⁠Animals

Available animals are:

  • beavis
  • cheese
  • daemon
  • cow
  • dragon
  • ghostbusters
  • kitty
  • meow
  • milk
  • stegosaurus
  • stimpy
  • turkey
  • turtle
  • tux

Tag summary

Content type

Image

Digest

Size

30.5 MB

Last updated

about 8 years ago

docker pull momirza/cowsayer