Skip to content

andrewmacheret/pun-server

Repository files navigation

Random Pun

Build Status Docker Stars Docker Pulls License

Output a random pun (from punoftheday.com) by running the following command:

./pun.py

See it running at https://pun.andrewmacheret.com.

Prereqs:

  • python
  • py-bs4 (you can install it with easy_install bs4)

Usage:

  • ./pun.py

Random Pun REST Server

Prereqs:

Usage:

  • npm install

  • node pun-server.js

Docker Server

Prereqs:

Usage:

  • docker run --rm -it -p 9999:80 andrewmacheret/pun-server

  • curl localhost:9999

Random Pun MOTD

To install the motd updater so you see a new random pun every time you ssh into your server, run:

sudo motd/setup.sh

Result:

MOTD screenshot

Releases

No releases published

Packages

No packages published