The toboggan package

[Tags:bsd3, library, program]

Please see

[Skip to Readme]


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 BSD3
Copyright Copyright: (c) 2016 Vanessa McHale
Author Vanessa McHale
Stability Unknown
Category Web
Home page
Source repository head: git clone
Uploaded Sun Jan 8 19:06:00 UTC 2017 by vmchale
Distributions NixOS:
Downloads 27 total (9 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2017-01-08 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for toboggan

Readme for toboggan-

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.