Snip is an add-on for Google Forms to help teachers turn printed worksheets into digital forms. With Snip, users can easily crop and save sections of their worksheets (such as instructions, questions, and answers) to their Google Drive. They can then insert the cropped portions of the worksheet directly into questions and responses in Google Forms instead of having to type and recreate diagrams.
-
Install Google's clasp tool:
npm i @google/clasp -g
-
Log into your Google Apps Script account via clasp
clasp login
-
Clone/download this repo
-
Run
npm install
-
Copy
.clasp.json.sample
to.clasp.json
-
Edit
.clasp.json
and set your project ID.- To find the file ID, open your project from Google Drive. The ID is in the address bar, after the
/d/
and before/edit
- For example, '//script.google.com/a/google.com/d/abc123-xyz098/edit?usp=drive_web'
- To find the file ID, open your project from Google Drive. The ID is in the address bar, after the
-
Develop the code. When you're ready to push it to the Google Apps Script server, run
npm run dev
Note: The dev
command will not create a deployment. It will just push a copy of your code to the specified project for development purposes