Skip to content

Markov chains for fun and profit (but mostly fun) for text, in Python

Notifications You must be signed in to change notification settings

thegreatape/mockingbard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Markov chains for fun and profit (but mostly fun) for text, in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages