🖖Limericks from Star Trek Scripts
See it in action: https://twitter.com/TrekLimerickBot
cp .env.template .env
Create a Twitter app and note your credentials.
Use the credentials from the last step to fill in the following fields in
Creating Rhyme Database
- Create a set of parsed Star Trek scripts using tng-parser.
- Place this set of parsed scripts in a new
./trek-limerick-bot.js process, and the scripts will be converted and placed into
- Now you can run the
trek-limerick-bot.jswill use the processed scripts.
First, install dependencies:
Usage: trek-limerick-bot [options] [command] Commands: process Processes scripts in "scripts/" generate Generate a limerick post Post a limerick as a tweet stream Options: -h, --help output usage information
$ ./trek-limerick-bot.js generate He is protected by a force field... So someone did sabotage the shield... I got the com panel... They have closed the channel. that proud core of him that would not yield...
AWS Lambda Deployment
Build the .zip package:
npm run package
Setup a CloudWatch Schedule with a
rate(1 hour)activation schedule.