Git Product home page Git Product logo

e-z-notes's Introduction

E-Z Notes

E-Z Notes is a Google Chrome extension designed to help users easily gather information without leaving their web browser. E-Z Notes takes selected information and appends it to a Google Doc of the user's choice. Originally developed at SwampHacks '18.

Team Members:

Randy Tsui                Spring '20

Travis Raghubans     Spring '20

Warren Oliver            Spring '19

How:

E-Z Notes uses HTML and Javascript. Creates and appends text to files using Google Apps Script API and selects file with Google Picker API

Requirements

  • Google Account
  • Python SimpleHTTPServer

Installation

  1. Create a new project on Google Cloud Developer Console

  2. Navigate to IAM & admin/settings and record your Project Number and Project ID.

  3. In the search bar, search for "Google Picker API" and enable it. Then navigate to credentials, create an API Key, and record it.

  4. In the search bar, search for "Google Apps Script API" and enable it. Navigate to credentials and create an OAuth Client ID for a Web Application. Under "Authorized JavaScript Origins" Enter http://localhost:8000. Record the OAuth2 client ID.

  5. Visit Google Apps Script and create a script consisting of the code within the googleScript.gs.

  6. Navigate to the "Resources" tab in the Google Script, select Cloud Platform Project and enter your project ID (Step 2).

  7. Go to your Google Apps Script Dashboard, visit settings on the left menu and enable Google Apps Script API.

  8. Navigate to File>Project Properties and record your Script ID.

  9. Within the config-empty.js file, enter all the information you just gathered: developerKey (API Key), scriptID, appID (Project Number), clientID (OAuth Client ID). Also, Change the config-empty.js to config.js

  10. Navigate to GAS.html and append API Key to the URL on line 16, so that it will be: https://www.google.com/jsapi?key=YOUR_KEY).

Launch

  1. Navigate to the directory of the project in command line and launch a python web server. python -m SimpleHTTPServer 8000
  2. In your browser, navigate to http://localhost:8000/GAS.html

Current functionality

  • Currently, it only exectues as a web application, not a chrome extension. This is due to a conflict between OAuth2 and Google Chrome Extensions.
  • Can append selected information on the current page to document using hot key: <Enter>
  • Can create new files

e-z-notes's People

Contributors

randyt97 avatar warren1215 avatar traghubans avatar

Watchers

James Cloos 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.