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

Tutorial; http://www.crystalcodepalace.com/traceryTut.html

Github (full documention); https://github.com/galaxykate/tracery

Visual editor; http://www.brightspiral.com/tracery/

George Buckenham’s Cheap Bots Done Quick
http://cheapbotsdonequick.com/

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)

 

twitterbots!
https://twitter.com/godtributes
https://twitter.com/wikishoutouts
https://twitter.com/soft_focuses
https://twitter.com/lichmaze
https://twitter.com/TVCommentBot
https://twitter.com/Deer_ebooks
https://twitter.com/FFD8FFDB
https://twitter.com/CreatureList
https://twitter.com/reverseocr
https://twitter.com/ARealRiver
https://twitter.com/nice_tips_bot
https://twitter.com/artassignbot
https://twitter.com/park_your_car
https://twitter.com/GenerateACat
https://twitter.com/wikisext
https://twitter.com/everywitchword
https://twitter.com/TwoHeadlines
https://twitter.com/pentametron
https://twitter.com/oliviataters
https://twitter.com/MythologyBot
https://twitter.com/poem_exe
https://twitter.com/RestroomGender
https://twitter.com/digital_henge
https://twitter.com/Botgle
https://twitter.com/a_lovely_cloud
https://twitter.com/the_ephemerides
some twitterbots made with cheap bots done quick-

https://twitter.com/tranquilbot
https://twitter.com/memorypoem
https://twitter.com/infinitedeserts
https://twitter.com/unicode_garden
https://twitter.com/cryptbooks
https://twitter.com/CombinationBot
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