spectacles-networking

Installation
SKILL.md

Spectacles Networking — Reference Guide

Two main mechanisms for network access in Spectacles lenses:

  1. InternetModule — HTTP/HTTPS via the Fetch API (recommended) or performHttpRequest. From Lens Studio 5.9, these APIs live in InternetModule; prior to 5.9 they were in RemoteServiceModule.
  2. Web View — embed a web page in the AR scene, with bidirectional JS messaging.

The Remote Service Gateway (RSG) is a third option but is specific to AI/cloud-model calls — see the spectacles-ai skill for that.

Official docs: Internet Access | Spectacles Home


Setup

  • Enable Internet Access: Project Settings → Capabilities → ✅ Internet Access. Without this, all requests fail on-device.
  • Fetch API: Spectacles OS v5.58.6621+ and Lens Studio v5.3+. Use InternetModule (Lens Studio 5.9+): add the module to your project and call internetModule.fetch(request).
  • HTTPS is required for publishable lenses; HTTP requires Experimental APIs and cannot be published. Never ship a lens using HTTP, even in preview builds shared with others — switch to HTTPS before distributing.
  • Fetch only works in Preview when Device Type Override is set to Spectacles.
Installs
7
GitHub Stars
6
First Seen
Mar 5, 2026
spectacles-networking — rolandsmeenk/lensstudioagents