Skip to content

feat: support loopback-only private workspace access with qURL - #2

Open
justin-layerv wants to merge 2 commits into
davindicode:mainfrom
justin-layerv:feat/optional-qurl-private-workspace
Open

justin-layerv wants to merge 2 commits into
davindicode:mainfrom
justin-layerv:feat/optional-qurl-private-workspace

Conversation

@justin-layerv

@justin-layerv justin-layerv commented Nov 17, 2026 •

Copy link
Copy Markdown

This adds an optional qURL private-access recipe and an OTG_HOST bind address for the production server. A user can bind OTG Code to loopback, approve the opening CLI device, and issue a short-lived browser session. Leaving OTG_HOST unset preserves current behavior; the Cloudflare path is unchanged.

I work on qURL at LayerV. This contribution was prepared with AI assistance. It adds no qURL dependency or default service change.

Validation on OTG Code 0.1.1 (071fa70), Node 22 in a disposable Docker workspace, qURL CLI 4.4.3:

  • Production build, all 29 tests, and typecheck pass.
  • Actual OTG_HOST=127.0.0.1 server responds on container loopback; connection to the container non-loopback address is refused.
  • A separate, approved qURL CLI device issued a five-minute link. A real browser loaded OTG Code through that link, showed online, and returned QURL_OTG_REVIEW_OK from its terminal. No host credentials or user workspace were mounted.
  • An unapproved CLI device could not obtain content (exit 5).
  • The synthetic resource was deleted; publisher and disposable workspace were stopped.

The README distinguishes device approval from possession of the browser link, notes full terminal/file authority, and explains deletion versus removing a device grant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant