/twilio-evernote-part-one

Code for part one of the note taking on the go blog posts for Twilio and Evernote

Primary LanguageRuby

Note Taking On The Go With Twilio and the Evernote API

Twilio + Evernote = ♥

This is the code repo for a blog post on how your can Twilio and the Evernote API to allow you to create a note in Evernote from a text message. I highly encourage you to walk through the entire tutorial to get this software up-and-running on a server of your choice.

If you have any questions or run into a problem, please feel free to file an issue.

Thanks!

Setup

Here's what you'll need to get started:

The blog post that accompanies this repo describes how to set up the developer key and Evernote Sandbox account.

If you want to jump right into using this right now, use the Heroku Button below:

Deploy

Just point your Twilio number's Messaging URL to http://yourhost:PORT/message and then any SMS sent to that number will result in a note being created in your Evernote Sandbox account.

Installation

Grab the source code:

$ git clone <this repo>

Change into the directory that was created and install the required gems using Bundler:

$ bundle install

Setup an environment variable to hold your Evernote API developer token:

$ export EVERNOTE_DEV_TOKEN=***YOUR_DEV_TOKEN_HERE***

Run the app with:

$ bundle exec thin start -R config.ru

To test locally you'll want to expose your localhost web server via a public address using something like ngrok.

Once you have that running, configure your Twilio number's Messaging URL to point at the /message endpoint in the running app. Now you can send an SMS to your Twilio number to create a note in your Evernote Sandbox account.

Meta

  • No warranty expressed or implied. Software is as is.
  • MIT License
  • Made with ♥ by Twilio Philly