Viaalink CLI · via · for developers
From localhost to the world — viaalink.
Run via expose 3000 on your machine to put a local web app on your own domain through your Viaalink Relay.
via expose 3000Your app is then reachable at https://app.relay.yourcompany.com
01 / Install
Install the Viaalink CLI.
One command installs via. Then connect it to your Relay with via relay add.
Linux, macOS and Android (Termux)
curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bashWindows (PowerShell)
irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iexOr download the archive
The one-liner is the recommended way; the archive is for when you can't run a script. Checksums are linked below to verify your download.
02 / Publish
Publish a local port through your Viaalink Relay.
via expose 3000 gives a port on your machine a public HTTPS address through your Viaalink Relay.
via expose 3000via expose 3000 --foreground keeps it in the terminal until you press Ctrl+C.
Set up a Viaalink Relay → · Guides: Install the CLI · Connect to a Relay · Publishing services
04 / via.yaml
See what via.yaml publishes.
Edit the file on the left. The right side shows what via net apply would do: which service gets which address on your Relay.
project my-shop · 3 services
Runs in your browser. It reads project and network.services only.
Contact
Talk to a human. Kelvin is one.
Questions about the CLI or Viaalink Relay? Write directly.