Steps
With qURL™, publish the app with qurl publish, run qurl share, and open the link on your phone. It works on mobile data as well as Wi-Fi, without finding your laptop’s LAN IP or binding the app to 0.0.0.0, and without an account. The link opens over HTTPS, so browser features that need a secure page work on the phone too.
Install the qURL CLI
On macOS, install it with Homebrew. On Linux and Windows, download the package for your platform from the latest release; the CLI page lists each one. Nothing asks you to sign up.
brew install layervai/tap/qurl qurl --versionPublish the app
The first publish creates this device’s identity, starts a background service that keeps serving after you close the terminal (while you stay logged in), and prints the app’s CRID, its stable ID. The Access row says who can open the app: a plain publish makes it private from qurl 3.4.1 on.
qurl shareturns the CRID into an access link, and the link is what you send.qurl publish http://127.0.0.1:3000Published Target: http://127.0.0.1:3000 Access: private — only you and the people you allow can open it Status: serving CRID: ae4jqpd7eaoslq7jinmjv4yikgzmcxgpjfsuobiniqnko32lpw743ivbeyha
Get the link onto your phone
Show the link as a QR code in your terminal and scan it with the phone’s camera, so no other app or service opens it first. Avoid email and chat apps that preview links: a scanner that runs the page could use the link’s one opening. Open it on the phone, not on your computer. With -q,
qurl shareprints only the link, without the expiry line; links for apps published from the CLI are single-use by default and expire within 24 hours. qrencode is a separate install (on Linux, use your package manager, for example sudo apt install qrencode).brew install qrencode qurl share <CRID> -q | tr -d '\n' | qrencode -t ansiutf8
What the recipient sees
Your phone’s browser lands on the app over HTTPS.
More
The session is tied to the network the phone opened the link from, not to the phone itself. If the phone switches between Wi-Fi and mobile data, or a VPN turns on, the app stops loading; run qurl share again and open the new link.
Troubleshooting
| If you see | Do this |
|---|---|
| The app loaded on the phone, then stopped responding | The phone changed network (Wi-Fi to mobile data, or a VPN or iCloud Private Relay switched on), or the session ended after its hour. Run qurl share again and open the new link on the phone; add --session-duration for a longer session, up to 24 hours. |
| The page loads but API calls, images, or sockets fail on the phone | The app is calling http://localhost:PORT or another absolute URL. On the phone, localhost is the phone itself. Use relative URLs, or proxy the API through the same dev server. |
Show 7 more fixes
| If you see | Do this |
|---|---|
| Vite shows “Blocked request. This host is not allowed” | Add .qurl.site to server.allowedHosts and restart Vite. See the dev server guide. |
| qurl publish says the local app is not accepting TCP connections | Start the app first and check that curl works on the same address. qurl publish connects to localhost as 127.0.0.1, so if your app listens only on IPv6 (on macOS or Linux, lsof -iTCP -sTCP:LISTEN -nP shows [::1]), publish 'http://[::1]:PORT' instead, or start the dev server with --host 127.0.0.1 and publish that address. Neither requires listening on your LAN. Keep the quotes: zsh treats the brackets as a pattern. |
| The recipient sees “Access link invalid” | The link was already used or has expired. Run qurl share again and send the new link. |
| The recipient sees “Resource not found” | The resource was deleted after the link was made. Publish the app again, then run qurl share and send the new link. |
| publish rejects http://127.0.0.1 with “only HTTPS URLs are allowed”, asks you to log in, or prints no Access: line | Your qURL CLI is out of date. On macOS run brew update, then brew upgrade qurl; elsewhere install the latest release. After updating, qurl --version prints 3.4.1 or later, and every publish is private by default. |
| publish says this Linux session “can’t reach a systemd user manager” | You are in a container or sandbox without a user service manager. Run qurl publish with --foreground; sharing lasts as long as that process runs. Container and CI setup → |
| publish says “Quota Exceeded” with “protected resource limit reached”, or “Your qURL account has reached a plan limit” | You can see this without an account: a device with no account can keep up to 3 active resources, with links that last up to 24 hours. Run qurl list --status active, then qurl delete <CRID> for any you no longer need (it asks you to confirm; --yes skips that). qurl stop keeps the resource, so it does not free a slot. |
Frequently Asked Questions
Does my phone need to be on the same Wi-Fi?
No. The phone opens the link and the app over ordinary HTTPS through LayerV, so it can be on mobile data or any network that allows web browsing. If it changes network while you test, open a fresh link.
Why not bind the app to 0.0.0.0 and use my LAN IP?
That makes the app reachable by every device on the network, needs both devices on the same network, and fails on guest and public Wi-Fi that isolate devices from each other. The phone would also load it over plain http://, where browsers block the camera, geolocation, and service workers. A qURL link keeps the app on localhost and serves it over HTTPS to the network the link was opened from.
Who else can reach my app while the link is open?
Opening the link starts a session for that browser, which lasts 1 hour by default. After a browser opens it, another browser on the same public IP cannot use its access. A script or agent that opens the link without a browser is admitted by its network address instead, which other devices on that public IP share until the session ends. A link admits whoever opens it: the API’s IP and country rules do not apply to the signed links qurl share issues. Keep your app’s own sign-in for anything sensitive.