Skip to content

This is a twitter app that returns the amount of time before the 2016 election is over.

Notifications You must be signed in to change notification settings

Ntangen/election-countdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🇺🇸 Is the Election Over Yet? 🇺🇸

Election countdown app

This is where I'm working on my twitter app that will return the number of days, hours, minutes and seconds until the 2016 U.S. election is over. You can see the web version here.

Mark1 - returns a countdown to a specific user.

Mark2 - Various improvements. The Mark 2 only replies to direct tweets to @IsItOverYet2016, and ignores its own replies/other mentions. Changed around the count module to make sure the javascript was running appropriately so as to give the most updated time. Also added a bunch of console.log messages to keep the log clean and relevant.

Quick edit: I changed the procfile to spin up this app on a worker dyno on Heroku, in order to get around the all-too-common Boot Timeout error.

Next steps - Still collecting ideas.

  • I think it would be convenient to set the bot only to respond to direct "@" tweets, not just mentions.Done!
  • Adding commands would be an obvious next step. Eg. "how many days left?" or "how much time in seconds?" or something like that.
  • I've also thought about what other data sources I could plug into. I think the idea of returning some kind of campaign finance data - "how much did Bernie Sanders raise in Q3?" - might be kinda cool.
  • Have ideas? Let me know! [email protected]

About

This is a twitter app that returns the amount of time before the 2016 election is over.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published