A Google Drive project loader for Snap!, written in Node.JS and hosted on Render.
This is something I've wanted to make for a while, and I'm glad to finally put it out there!
- Export a copy of your Snap! project to your computer. It should be an .XML file.
- Upload your .XML file to Google Drive.
- Open the "Share" menu, then set "General Access" to "Anyone with the Link" and "View."
- Press the "Copy Link" button. Then, open that link.
- Your link should look like this: https://drive.google.com/file/d/YOUR-ID/view, where YOUR-ID is the file identifier. Copy it.
- Create a new Snap! project. In it, create a variable called "driveID" and set that variable to the file identifer you got in step 5.
- Save your project and publish it. Title it something snappy.
- You're all good!
- Make sure you have the username of the user who made the project and the name of the project with the file identifier in it.
- Go to the studygiggle website.
- Type in the username and the project name. Press the "Load Project" button.
- Wait for the project to load. Once it does, press the "Get Project from Drive" button.
- You're good to go!
- make sure you're typing out the names correctly.
- make sure you're not pressing the "Get Project from Drive" button too soon -- it can take a second.
- it can take a few seconds for the project to load after you press the "Get Project from Drive" button. be patient!
- if you run into a message saying something about attributes after an equal sign, please write a bug report.
this project is licensed under a modified ISC license. see the "pj's license" file for more details.
coolio!! my build command is 'npm install' and my start command is 'node index.js'. you're gonna need a Google Drive API Key and set an environment variable called "API_KEY" to that.