Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
aframe-webthing
Advanced tools
AFrame-Webthing is a webcomponent that bind properties of physical devices to virtual models.
As reference example we'll use simulator devices from webthing SDK, but it's mosty same if deployed on actual devices, check resources chapter for more details.
make -C example/webthing-iotjs start &
#| node index.js
#| http://localhost:8888
#| Ctrl+C
bg
make -C example/webthing-iotjs demo
#| curl http://localhost:8888/properties
#| {"on":true, "level":42}
x-www-browser './example/aframe/index.html?verbose=yes'
make -C example/webthing-node start &
#| node index.js
#| http://localhost:8888
#| Ctrl+C
bg
make -C example/webthing-node demo
#| curl http://localhost:8888/properties
#| {"on":true, "level":42}
make start
#| PORT=8880 node index.js
#| Your app is listening on port 8880
x-www-browser 'http://localhost:8880?verbose=yes&useWs=no'
# Or you could use a public server (on http):
x-www-browser 'http://rzr.github.io/aframe-webthing?useWs=no&verbose=yes'
For our developement purposes we used local filesystem (file:// scheme), but for more advanced scenes, hosting on the web (on http) is also possible.
make start
#| PORT=8880 node index.js
#| Your app is listening on port 8880
x-www-browser 'http://localhost:8880/example/aframe/?verbose=yes&useWs=no'
# Or you could use a public server (on http):
x-www-browser 'http://rzr.github.io/aframe-webthing?useWs=no&verbose=yes'
URL can be accesed from VR Headset like GearVR, just type the URL from SamsungInternet in VR mode (aka sVRbrowser).
FAQs
Bind webthings to XR
The npm package aframe-webthing receives a total of 2 weekly downloads. As such, aframe-webthing popularity was classified as not popular.
We found that aframe-webthing demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.