Code Monkey home page Code Monkey logo

gistevernoteimport's Introduction

Gist Evernote Importer

Relies of the Evernote gem, Typhoeus, and Datamapper to quickly import and keep your gists up to date inside of Evernote.

Warning

This is very much me just scratching my own itch. The code could be much better abstracted, and made into a gem. Oh and tests would be nice ;)

That being said, I'm probably one of 3 people that have a use for this. But if for some reason your interested, feel free to fork it and make it your own.

The reason

I use evernote for saving things like receipts and business cards, and random digital cruft I accumulate over the course of my day.

The only thing missing was my Github Gists. For that matter, Gists in general are a great way to stash code snippets, but have no means of searching.

Evernote on the other hand has great search capabilities, but TERRIBLE support for code snippets.

This project tries to rectify the situation.

Installation

First, get an API token from Evernote. This will let you access just your account.

https://www.evernote.com/api/DeveloperToken.action

Clone the repo, move config.yml.sample to config.yml and update with your own info(including an API key from Evernote). Then run the bundler installer

bundle install

Now you can simply run one command to import all your Gists

ruby import.rb

If anything in your gists change, this will automatically update to appropriate note in Evernote with the information

How

There's a sqlite database storing the Gist, the Evernote Guid, and the current hash of all the files. Any changes to the gist makes the hash invalid, which then updates the Evernote note with the matching Guid.

gistevernoteimport's People

Contributors

mdp avatar

Stargazers

Afelio Padilla avatar

Watchers

James Cloos avatar Afelio Padilla avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.