Skip to content

reskin89/wawa_twitter_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wawa_twitter_bot

To find my damn wawa pizza

This is a simple go script that will select a random quote from quotes.txt and tweet it.

It reads the text file, finds the amount of lines and selects a random number between 0 - (len-1) to account for the slice array.

It is run by a concourse pipeline on a local concourse server with a 6 hour timer setup so this will happen every 6 hours.

The environment variables required for the script are the tokens from twitter developer:

ACCESS_TOKEN
ACCESS_TOKEN_SECRET
CONSUMER_KEY
CONSUMER_SECRET

To contribute and add any quotes with memories of your favorite wawa pizza, please submit a pull request!

About

To find my damn wawa pizza

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published