Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Combining Snap extensions #1830
When I discovered the http server built into Snap4Arduino I saw a way in which these Snap extensions could run in their own tab (or browser) and communicate via localserver:42001. In a quick test I enabled Snap! to send messages to Snap4Arduino in this way.
This didn't work for NetsBlox talking to Snap4Arduino since NetsBlox must run with HTTPS while the localserver is HTTP and the browser doesn't allow them to mix. I faced this problem on the Raspberry Pi where I was able to run localhost with SSL and convince the browser to trust a self-signed certificate. For our project this is a reasonable solution since we plan to provide teachers with an SD card image for the Raspberry Pi with our customisations.