You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • Hi @Gordon.

    What's up with the whole "Web Bluetooth only works over HTTPS" thing? Obviously that totally sux for development, as people have to develop straight on Github.
    I was thinking that there must be a way to develop locally, so I was planning on making a Docker image with a web server that creates a self-signed certificate, to see if that works.
    I initially tried it over plain HTTP though and I was surprised that I could connect to my Bangle.

    Is that expected? What would you expect to not work?
    Where does it say that Web Bluetooth only works over HTTPS? From my small amount of duckduckgoing, I can only find that you said it once in a workshop that you did... :S

    I think if people were able to just clone the repo and run it locally it would make things way simpler.

    Thanks.

  • Wed 2020.04.29

    'Web Bluetooth only works over HTTPS" thing?'
    'as people have to develop straight on Github'

    May I asked how that was deduced? While it is true that a GitHub requirement is that projects built there must follow their guidelines, development of Espruino JS over BLE may done even using localhost without https: . That is how I do it using Windows10.

    Is it possible that the PC or browser is not configured correctly?

    While it is true that the Puck.js file must be served via https:

    https://www.puck-js.com/go

    development may remain local.

    Troubleshooting (Bluetooth LE)
    Quick Start (Bluetooth LE)


    'just clone the repo and run it locally'

    Why so complex? Just run the WebIDE locally calling in modules that are needed using the require() function.

About

Avatar for Robin @Robin started