toboggan: Twitter bot generator

[ bsd3, library, program, web ] [ Propose Tags ]

Please see

[Skip to Readme]




Maintainer's Corner

Package maintainers

  • No current members of group

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],
Dependencies base (>= && <4.10), clit (>= && <0.3), directory (>= && <1.3), madlang (>= && <0.2), optparse-generic (>=1.1.1 && <1.2), text (>= && <1.3), toboggan (>= && <0.2) [details]
License BSD-3-Clause
Copyright Copyright: (c) 2016 Vanessa McHale
Author Vanessa McHale
Category Web
Home page
Source repo head: git clone
Uploaded by vmchale at 2017-01-08T19:06:00Z
Executables toboggan
Downloads 1465 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-01-08 [all 1 reports]

Readme for toboggan-

[back to package description]

Toboggan - a twitter bot generator

Horoscope example

This is an example of how to use the Text.Madlibs and Web.Tweet modules; primarily to showcase the Madlibs DSL. You can try a test tweet with

 $ toboggan --config configure/horoscope.mad --cred YOUR_CRED_FILE

You'll get a JSON-encoded response saying it all worked nicely if all goes well. If you like the results you can also get an example crontab for a daily bot that runs at 1pm with

 $ toboggan --cron --config template.mad --cred credential
# m  h  dom mon dow   command  9 13  *   *   *    ~/.local/bin/toboggan --cred /home/user/programs/toboggan/credential --config /home/user/programs/toboggan/template.mad

(json response will be here)


Install stack with

curl -sSL | sh

and then use stack install to install.


Configure using a .cred file as described in Web.Tweet documentation. Use a Madlibs file to generate the bot text.


You'll probably want the madlang-vim if you use vim.