Tracery & Twitterbots

-from Katie Rose, reposting here

We’ll be integrating our grammars with Cheap Bots Done Quick, a twitterbot hosting service that uses Tracery. Everyone should be able to get a simple twitterbot running in class. Please take a look through other bots for inspiration, or just to get a good sense of what is possible.

Kate Compton’s Tracery


Github (full documention);

Visual editor;

George Buckenham’s Cheap Bots Done Quick

Template for Tracery webpage
If you want to generate longer texts and Twitter’s character limit is too constraining you can use Tracery in a web page:
1) Download the template from here
2) Download Brackets or use your favorite code editor.
3) In Brackets set the folder to the template
4) Modify grammar.js according to the tracery format
5) Modify style.css to customize the appearance

Resources for advanced projects
A taxonomy of bots
Darius Kazemi’s Repositories
Various Tutorials
Allison Parrish resources, corpuses, examples (python)


some twitterbots made with cheap bots done quick-
If you’re interested in this type of work, I’ve attached a zip file of some longer-form generated literature below- feel free to download and read through a few. The Policeman’s Beard is Half Constructed is particularly interesting, as it is very early (1984!). There are also several works from the annual NaNoGenMo (the generative answer to NaNoWriMo, where one writes a 50k word novel in November), and some chapbooks (including my own).

Zip file-  generated text (& friends)

Posted in