The project is an extension that allows the user to embed CircuitVerse circuit's in a Google Slide. Unfortunately, Google Slides does not embed iframe. However, it is possible to achieve that by using a combination of Google Slides Add-On on and chrome extension.
First things first. Make a local clone of this repo so you can work on it from your own computer.
git clone https://github.com/CircuitVerse/CircuitVerse-Presentation-Embed.git
cd CircuitVerse-Presentation-Embed
- Goto chrome://extensions/, enable developer mode
- Click load unpacked extension and select the chrome extension folder
- Goto about:debugging#/runtime/this-firefox on Firefox
- Click on "Load Temporary AddOn" and select
manifest.json
in the firefox extension folder
- Goto to the following Google Slides presentation: https://docs.google.com/presentation/d/1QybVSk8CujyHEHlLDtdlCiae9vK9qGhWfb4SA-WGCR0/edit#slide=id.g36e2028529a5eb1_0
- Goto presentation mode. Live Circuits should load.
- Goto chrome://extensions on Chrome
- Click on the reload icon just below your extension to reload
- Goto about:debugging#/runtime/this-firefox on Firefox
- Click on the "Reload" just below your extension to reload
- Install clasp tool:
npm install -g @google/clasp
- Then enable the Google Apps Script API: https://script.google.com/home/usersettings
- Login:
clasp login
- Goto to the Add on folder:
cd Google\ Slides\ Add\ On
- Run
clasp create --type slides --title "CircuitVerse Embed Project"
- Run
clasp push
to push changes from local system to Google Docs - Run
clasp pull
to pull changes from google docs to local system
For more information on how to use clasp, check the main repo.