Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 1008 Bytes

Mockingbard

Use Markov chains to generate real-ish looking gibberish from Campfire logs or any plain-text input.

Requires

pystache

pinder

bottle

Usage

Usage: campfire.py [options]

Options:
  -h, --help            show this help message and exit
  -t TOKEN, --token=TOKEN
                        Your Campfire API auth token
  -d DOMAIN, --domain=DOMAIN
                        Campfire subdomain to use
  -r ROOM, --room=ROOM  Name of room to use
  -n DAYS, --num_days=DAYS
                        Number of days to go back for source material.
  -o ORDER, --order=ORDER
                        Order of markov chain to use. Defaults to 2.
  -i IGNORE, --ignore=IGNORE
                        Comma separated names of users to ignore.

This will start an HTTP server that'll server out fake campfire log transcripts on port 8080. Have fun!