local.link

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 tunnels

Log in

lnk auth login   # log in with GitHub
lnk auth whoami  # who you are
lnk auth logout  # forget your login on this computer

Local 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 --public

Your 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,bob

Each 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 3000

Only 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:secret

See Models.

See your tunnels

lnk tunnel status

Your open tunnels, from all your computers, with who can reach each.

What works

Every flag: lnk tunnel <command> --help and lnk auth <command> --help.