Tunnels
A public URL for what runs on your computer. lnk tunnel open gives
a web app, a model or anything else that speaks HTTP an address anyone
can reach, with nothing to set up on your router.
Needs: macOS or Linux, and a GitHub account on Local Link's invite list. It's free.
Quickstart
lnk up tunnels # add tunnels, and accounts for your login
lnk auth login # log in with GitHub
lnk tunnel open 3000 --name my-app --auth friend:secret # https://my-app.<you>.local.link
lnk tunnel status # your open tunnelsLog in
lnk auth login # log in with GitHub
lnk auth whoami # who you are
lnk auth logout # forget your login on this computerLocal Link is an invite-only beta: only GitHub accounts on its invite list can log in.
Open a tunnel
lnk tunnel open 3000 --name my-app --publicYour app on port 3000 is live at https://my-app.<you>.local.link for as
long as the command runs. Without --name, it gets a random one. If the
connection drops, lnk reconnects and the URL stays the same.
You always choose who can reach it: --public for anyone with the URL,
--github for some GitHub accounts, or --auth for a password. Nothing
goes public by accident.
Let in only some people
lnk tunnel open 3000 --github alice,bobEach visitor signs in with GitHub in their browser, and only the accounts you list get in. A sign-in lasts a day. Open the tunnel again with a new list to let someone in or out.
Protect it with a password
LINK_AUTH=friend:secret lnk tunnel open 3000Only people with the password get in, and anyone guessing is slowed down.
The variable keeps the password out of sight of other users of your
computer; --auth friend:secret works too.
Expose a model
lnk tunnel open qwen3 --name qwen --auth friend:secretSee Models.
See your tunnels
lnk tunnel statusYour open tunnels, from all your computers, with who can reach each.
What works
- Web pages, APIs, streaming responses, uploads and WebSockets.
- Up to 10 tunnels at once, from all your computers.
- A response has 60 seconds to start, then can stream for as long as it likes.
- HTTP only, on
local.linkaddresses. - Local Link's server checks passwords and sign-ins before anything reaches your computer. It never logs anything about the requests to your tunnels: the terms have the details.
Every flag: lnk tunnel <command> --help and lnk auth <command> --help.
