Gnotes

Save a markdown file into a dropbox folder and it will sync to Evernote

  • 所有者: tgig/Gnotes
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Defunked

GNotes is no longer active. Evernote decided my implementation was no bueno and disconnected it. I don't currently have the time to update the API, so GNotes will be non-functional until I come up for air... maybe never.

If you want to get it going again, read Issue #8 and submit a pull request.

Gnotes

Basically, I really like Evernote. But I don't like the interface to Evernote. As a coder, I like the interface to Atom, Sublime Text, and iTerm.

Markdown is a beautiful thing, and I prefer to write notes with markdown formatting. Evernote doesn't let me use markdown.

I like to write a lot of notes and Evernote isn't the most convenient thing to pull up.

Sometimes I like to write very long notes and Evernote gets laggy.

I don't like to rely on a third party service to hold all my content, so it's nice to have a local copy of everything.

And... I was curious about AWS Lambda and needed a good test project.

How it works

Uses Dropbox, Evernote, and AWS.

Connect your Dropbox and Evernote account. Save a markdown file into the Dropbox folder and it will sync to Evernote.

Sign up at https://notes.giggy.com

Works like this:

  1. Save a markdown file into your connected Dropbox folder
  2. Dropbox webhook calls AWS API Gateway, which executes an AWS Lambda
  3. AWS Lambda queues a job in SNS, which is connected to another AWS Lambda
  4. Lambda #2 grabs the file from Dropbox, converts it to ENML, uploads to Evernote

Hosted 100% on AWS:

  • API Gateway - connecting to AWS Lambdas
  • Lambda - all business logic
  • SNS - connecting multiple Lambdas
  • DynamoDB - save file id's
  • S3 - host website
  • Cloudfront - CDN & enables an SSL certificate to be installed

Signup Process Flow AWS, Dropbox, Evernote

Save Note Process Flow, AWS, Dropbox, Evernote

Repo structure

lambda

All AWS Lambdas and all business logic code is in this folder. There are two scripts used to develop and deploy to AWS:

  • node run-lambda [folder name] - Run this code in the terminal to execute the Lambda locally. Must have a folder named [folder name], with files named index.js and event.json
  • node deploy-zip [folder name] - Zips up Lambda code, node_modules, and shared files and uploads it to named AWS Lambda.

www

Built with Punch

To run this on your local machine:

git clone https://github.com/tgig/Gnotes.git
npm install
punch s

Be sure to create a .env file.

Right now there are a few hard coded sections. Not ideal, but I don't really expect anybody else to be running versions of this on their own server any time soon.

主要指标

概览
名称与所有者tgig/Gnotes
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证
所有者活动
创建于2015-11-14 04:53:16
推送于2018-09-27 21:50:38
最后一次提交2018-09-27 14:50:38
发布数0
用户参与
星数30
关注者数5
派生数4
提交数71
已启用问题?
问题数8
打开的问题数1
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?