a "Cheap 'Cheap Bots Done Quick' Replacement" for automatically tweeting Tracery grammar outputs
Steps to set up this bot:
- Download the latest release and extract it to a folder of your choice.
- Replace the contents of
src/config/traceryConfig.json
with your own Tracery-Grammar code. - add your Twitter API Keys from your Twitter Developer page to
src/config/credentials.env.test
and rename the file tocredentials.env
- (optional) Change the
postInterval
value insrc/config/config.json
to your preference. By default, it's set to 180, which means that the bot will create a tweet every 180 minutes. - For the bot to work, you need to install the latest version of Node.js for your OS from here.
- Once Node.js is installed, open the CLI of your choice/OS and navigate to the root path of the copy of this repository you downloaded earlier (the folder containing the file
package.json
) - Type
npm install
to install all the dependencies the bot needs to work. - To run the bot, type
npm run start
.
Congrats! The bot should now be up and running!