GithubHelp home page GithubHelp logo

snikolaesku / gnotes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tgig/gnotes

0.0 2.0 0.0 2.32 MB

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

Home Page: https://notes.giggy.com

JavaScript 89.97% HTML 9.23% CSS 0.79%

gnotes's Introduction

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.

gnotes's People

Watchers

 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.