Skip to content

Real time event feedback system for event organizers.

License

Notifications You must be signed in to change notification settings

EventSense/EventSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EventSense

Real time event feedback system for event organizers. Created during APIcon 2014's hackathon. The public-facing component is a Twitter feed, which it monitors for mentions. Event organizers can interact with the system using SMS messaging, with a natural language processor translating their texts into machine-understandable requests.

To test out the Twitter features, tweet at @APIRXR. If it likes what you say, it'll retweet it. If it doesn't, it'll let you know.

Uses the Twitter, Nexmo, and Wit.AI APIs.

Authors

Branches

  • master: full hackathon code (SMS + Twitter)
  • demo: modified live demo (Twitter)

Setup

Requires the following environment variables for the Node server to run as is:

  • PORT: port that server is attached to (defaults to 9000)
  • URL: url of server (defaults to http://localhost)
  • CONSUMER_KEY: Twitter API consumer key
  • CONSUMER_SECRET: Twitter API consumer secret
  • ACCESS_TOKEN_KEY: Twitter API access token key
  • ACCESS_TOKEN_SECRET: Twitter API access token secret
  • NEXMO_KEY: Nexmo API key
  • NEXMO_SECRET: Nexmo API secret
  • NEXMO_PHONE: Nexmo phone number (phone number you send and recieve texts from when interacting with EventSense)
  • TEST_PHONE: Phone number to recieve texts from Nexmo (your personal phone number)
  • WITAI_KEY: Wit.AI API key

Once you have all of the environment variables set up, you will have to train Wit.AI to understand your commands. The code is currently expecting the following intents (from Wit.AI's processing of incoming texts):

  • eventSummary
  • scheduleTweet with scheduleTweet containing a message_body and possibly datetime.

Otherwise, run npm install from the root directory and then node server.js to start the node server. For incoming SMS features, server will have to be accessible via a URL other than localhost, but other features should work.

Disclaimer

Currently this is hackathon-level code. It works with our deployment and dev environments, but has not been tested otherwise, and may contain extraneous code. For informational purposes only.

About

Real time event feedback system for event organizers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •