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
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
- Google Account
- Python SimpleHTTPServer
-
Create a new project on Google Cloud Developer Console
-
Navigate to IAM & admin/settings and record your Project Number and Project ID.
-
In the search bar, search for "Google Picker API" and enable it. Then navigate to credentials, create an API Key, and record it.
-
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. -
Visit Google Apps Script and create a script consisting of the code within the googleScript.gs.
-
Navigate to the "Resources" tab in the Google Script, select Cloud Platform Project and enter your project ID (Step 2).
-
Go to your Google Apps Script Dashboard, visit settings on the left menu and enable Google Apps Script API.
-
Navigate to File>Project Properties and record your Script ID.
-
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 theconfig-empty.js
toconfig.js
-
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).
- Navigate to the directory of the project in command line and launch a python web server.
python -m SimpleHTTPServer 8000
- In your browser, navigate to
http://localhost:8000/GAS.html
- 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