Skip to content

Releases

Viaalink CLI v4.2.1

Choose a tag to compare

@kwuite kwuite released this 01 Dec 05:17

4.2.1 lifts the 4.1.1 pause on via vault, introduces Viaalink Apps in alpha (with the first ten public apps and optional vault-backed app secrets), adds WireGuard device traffic inspection (via inspect start --device) plus MySQL, MariaDB and Redis decoders to the network inspector, ships via's own Caddy 2.11.7 build (with caddy-security, caddy-l4 and DNS-01 providers) in every release archive, fixes Caddy restart recovery and package routing, and patches a critical cross-spawn advisory.

Install or update

curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bash

Windows (PowerShell): irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex · Already on 4.x: via update · Coming from 3.x: run the installer again.

Security

  • cross-spawn 7.1.2 (was 7.0.6). Resolves GHSA-ghv9-86vm-4v8m (critical, command injection on Windows when spawning batch files) in the shipped dependency tree.

Added

  • via inspect start --device inspects a phone's or computer's own traffic.
    It prints a WireGuard config and QR code to import on the device; all of its
    TCP and UDP traffic then goes through this machine. Only that config's key
    connects, and the listener binds to one address of this machine. TLS is not
    opened, so no certificate goes on the device; each flow is logged with its
    host, TLS version and whether its payload is readable. Each start is a run
    with its own flow log and a control canary (--canary). via inspect stop --device --forget also removes the keys.
  • An app package can declare its network services in its own via.yaml, with
    the fields of a project's via.yaml (network.services.<id>: dial,
    host, public, subdomain, env, priority, rawRoutes, ...), in
    place of a net.manifest.yaml. via net apply, via env init and
    via config validate read it for every folder under the packages
    directory that has an app.yaml. A published HTTP service is reached
    through the proxy without naming the proxy's port, and the project's
    ENV_PREFIX goes in front of the service id. A net.manifest.yaml keeps
    working; a package with both files is refused with a message that names
    them, and a field an app may not set (login, modes) is an error that says
    to set it in the project's via.yaml.
  • Three more fields on a via.yaml service, which until now only a
    net.manifest.yaml could set: responseHeaders (response headers the
    proxy sets on that service's answers, for example
    responseHeaders: { "Cache-Control": ["no-store"] }), authPolicy (the
    login policy the proxy asks for in front of the service) and
    authBypassPaths (paths that skip that policy, such as the service's own
    sign-in callbacks).
  • via config validate warns when a service has securitySensitive: true and
    basic_auth: { enabled: false }. A securitySensitive service always keeps a
    login, so that enabled: false did nothing, and the file passed validation.
    To publish such a service without a login (an app with its own sign-in),
    remove securitySensitive: true.
  • Viaalink Apps, alpha: the first ten apps are public. The registry
    viaalink/apps holds Authentik, Gitea, Mattermost, n8n,
    Open WebUI, Redmine, Apache Superset, Vaultwarden, Wiki.js and Zammad. Add it once with
    via app registry add viaalink https://github.com/viaalink/apps; then, in a project folder
    (via init), via app install <id>, via app start <id> and via app setup <id> give a
    running app with its first administrator made. With Authentik in the same project the other
    apps connect their sign-in to it themselves. No registry is built in; via app list and
    via app registry list now name this command while none is added.
  • The vault is back, and apps can use it (optional). The via vault commands load again
    without VIA_ENABLE_VAULT=1; the pause of 4.1.1 is lifted. via app vault <id> stores an
    installed app's generated secrets in the vault and leaves their addresses in .env
    (KEY=via://<project>/<app>/KEY); via app start and via app setup hand the app the
    values. project.apps.vault: true in via.yaml does this for every app at install. An
    app file can name more secret keys with secrets:. When an app's secrets are in .env as
    plain text, via app install and via app start say so in one line; nothing is moved
    unless you ask.
  • prepare: steps in an app file. They run on every via app start <id>, before the
    app's containers exist, for settings an app only reads when it starts (a sign-in client,
    a repaired .env value). What a step writes to .env reaches the containers of that same
    start, and the app's data folders and files are in place before a step runs. A failing
    step stops the start. via app install and via app info show them as
    "Steps before every start"; --only starts part of an app without them.
  • via app setup hands each step the app's own folder as VIA_APP_DIR and its
    data directory as VIA_APP_DATA_DIR, so an app can ship a setup script and
    call it wherever the app is installed.
  • project.apps.compose_project and project.apps.network in via.yaml:
    a project can name the one Docker Compose project and the network its apps
    run in, so a plain via app status sees the same containers as a script
    that sets VIA_APPS_COMPOSE_PROJECT / VIA_APPS_NETWORK (which still win).
  • via app start <id> --only <service>[,<service>] starts only the named
    services of an app (and what they depend on), for example its database
    before a restore. It reports those containers only, and refuses a name that
    is not one of the app's services.
  • inspect: true on a TCP service now shows MySQL, MariaDB and Redis traffic
    decoded in the network inspector, next to Postgres: the inspector loads the
    mysqlwire and rediswire decoders as well as pgwire. Each one recognises its
    own protocol from the bytes, so one inspector serves every database. Logins
    (a MySQL password, a Redis AUTH) are kept out of the stored flows, and
    decoded queries and rows stay out of the inspector's log file. An inspector
    that was started with the Postgres decoder alone is restarted on the next
    via net apply.
  • via app: install and run apps from an app registry. A registry is a git
    repository or a directory with one folder per app (apps/<id>/app.yaml
    plus its Docker Compose file); add one with
    via app registry add <name> <git-url|directory>. No registry is built in.
    via app list, via app search <text> and via app info <id> show what
    there is; via app install <id> shows the images, ports, volumes and setup
    commands of the app and asks before it copies anything. The app lands in the
    project's packages/<id>/ folder, its settings are added to .env, and
    apps.lock.yaml records the registry, the commit and a hash of the package.
    via app start|stop|status|setup|uninstall <id> run it; uninstalling keeps
    the app's data volumes. An app with a net.manifest.yaml gets its address
    from via net apply, like any other package of the project. A package the
    project already has in packages/<id>/ is an app as soon as it has an
    app.yaml: it starts and stops with the same commands and is never
    uninstalled. An app's Compose file gets VIA_APP_DATA_DIR (its own data
    folder in the project's workspace) and VIA_APPS_NETWORK (the Docker network
    apps share, via-apps unless the project's .env names another). Each app
    runs in its own Docker Compose project named <project>-<app>, so two
    projects on one machine can run the same app without sharing containers or
    volumes. A one-off
    container that ends without an error (migrations, first-time init) counts as
    done, not as a failed start; a container that ends with an error and is
    restarted by Docker fails the start, and via app status shows how often
    each container was restarted. via app info <id> also describes an app the
    project already has, with no registry added. An app can
    name files it needs in its data folder before the first start (files: in
    app.yaml, a copy of a package file or an empty file); a file that exists is
    never replaced. A project
    that already runs its packages in one Docker Compose project keeps doing so
    by setting VIA_APPS_COMPOSE_PROJECT in .env; via app start and
    via app status then count and show only the app's own containers, not
    those of the other apps in that Compose project. This first
    version does not check signatures and has no update yet.

Fixed

  • Releases and nightlies ship via's own Caddy build again (Caddy 2.11.7 with
    caddy-security, caddy-l4 and the DNS-01 providers, from
    viaalink/caddy-dns-builds), as via itself downloads it. They carried
    upstream's plain Caddy 2.11.2, so caddy-security routes, Layer 4
    (TCP inspect) routes and DNS-01 certificates failed on a fresh install.
    Every archive is checked against the checksum pinned in the CLI, and a
    build without these modules is refused, never replaced by plain Caddy.
  • The network inspector's page on the published hub address
    (https://hub-…/asde/inspect/) shows traffic live again: its WebSocket was
    refused (403, "connection lost") because the relay route sent mitmweb the
    service's own address as Host, so every browser Origin looked foreign. The
    inspector's route now keeps the browser's Host (new manifest field
    caddy.keepHost); mitmweb's check still refuses other origins.
  • via inspect stop no longer takes inspected databases down: a TCP
    service's local address (Local TCP in via net urls) now goes straight to
    the database while the inspector is stopped, and says so per service.
    Before, its connections went to the stopped inspector and failed or hung.
    via net apply puts the inspector back in front.
  • **project.tunnel.domain also holds for a project's packages.*...
Read more

Viaalink CLI v4.1.1

Choose a tag to compare

@kwuite kwuite released this 19 Nov 22:31

4.1.1 moves the CLI to zod 4, which removes a high-severity advisory from what the CLI ships, and pauses the vault until its design has been reviewed.

Install or update

curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bash

Windows (PowerShell): irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex · Already on 4.x: via update · Coming from 3.x: run the installer again.

Security

  • zod 4.6.7 (was 3.25.76). Every zod before 4.6.6 lets a large array that fails an array schema use memory without limit (GHSA-mrhx-c7xc-m3w5, high). In the CLI, zod checks your config files, saved state, the GitHub CLI's output and the viaalink.com account's replies. None of the CLI's servers (via serve mcp, the hub, via http) checks incoming requests with it, and the MCP libraries already used a patched zod, so it was not reachable from the network; it was in what the CLI ships. via schema, via config validate and your config files behave as before.

Changed

  • The vault is paused. The via vault commands (list, get, set, delete, import, export, inject, run) are off by default until the feature's design has been reviewed: they are not listed in via help, and via vault … is an unknown command. Set VIA_ENABLE_VAULT=1 to switch them back on, unchanged. Stores and key files you may already have are not touched, and a vault: block in a config is still accepted.

Fixed

  • With the vault switched on, two first writes to a new scope at the same moment no longer fail with "the keyring is missing, but the scope has secrets".

Viaalink CLI v4.1.0

Choose a tag to compare

@kwuite kwuite released this 19 Nov 00:17

4.1.0 closes the ways a service on your own machine could be reached without a login, makes commands say truthfully whether they did what was asked, and finishes the GitHub side of Viaalink CI/CD: VS Code on a runner with via gh code, the job's log with via gh logs, and a session you start from GitHub's Actions page now shows its address in the job's log.

Install or update

curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bash

Windows (PowerShell): irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex · Already on 4.x: via update · Coming from 3.x: run the installer again.

Security

  • DbGate is reachable only through the studio's login. It ran on a network port with its own login off, so anyone on the same network, and any web page you visited, could read and change your databases. On Linux and macOS it now listens on a socket only you can open; on Windows on 127.0.0.1 with its own login on. Restart a running DbGate (via dbgate stop, via dbgate start) and run via net apply.
  • VS Code in the browser is no longer open to every user on your machine. via code start now listens on a socket only you can open (Linux, macOS) or asks for its own password (Windows). Restart it and run via net apply.
  • The MCP control server (via serve mcp, via serve hub) needs a login for everything except health, the service list, tunnels, relays and the shell list, and masks secrets in what it returns. Run via env init and via net apply once after upgrading. Scripts and apps that called it without a login must now send one.
  • via tmux kill-all only ends sessions the CLI started. It used to end every tmux session whose name starts with asd-, also your own.
  • via net start --id <id> no longer restarts a detected service from the folder you stand in (which could serve your project's .env). It runs the service in its own folder, or starts nothing and says why.
  • via caddy server-add no longer wipes your routes. If you used it before, run via net apply to put them back.

Check before you upgrade scripts and CI

  • Commands exit non-zero when they did not do what was asked. Among them: via up, via start and via stop when a task fails; via init when a module asked to auto-start did not start; via config validate outside a project; via gh active, via gh runs and via gh stop when the GitHub CLI call fails. The changelog lists every one.
  • Every command refuses an option it does not take, with a pointer to its --help, instead of ignoring it.
  • via gh terminal --interface codeserver is gone: use via gh code. via gh terminal no longer asks which CLI version the runner installs; pass --cli-version <tag> to choose one.
  • via gh setup and via ci install use the git repository of the folder you are in, and exit 1 outside one.
  • Template helpers take named arguments only: getRandomString(length=64), not getRandomString(64); the same for getRandomPort(s) and getPortRange.
  • Removed: via deps sync, via deps validate, via deps update (they only worked in the source checkout), via repo setup (use via init) and via env-init (use via env init).

Viaalink CI/CD

  • via gh code starts VS Code on a GitHub runner, or reopens yours. It is via gh terminal with VS Code instead of a terminal.
  • via gh logs [<run-id>] prints the job log of a session's run, without GitHub's timestamps; --grep <text> keeps the matching lines.
  • A session started from GitHub's Actions page shows its address. via gh setup and via ci install now store the relay's address (VIA_TUNNEL_HOST, VIA_TUNNEL_PORT) as repository variables instead of secrets. GitHub replaces a secret's value with *** in a run's log, so the address could not be read there. The key, the host key pins and the terminal password stay secrets. A repository set up earlier keeps working; to get the readable address, run via gh setup again, push the new terminal.yml, and run via gh setup once more.
  • via gh setup and via ci install take --yes for scripts, and never replace an edited terminal.yml without saying its changes are lost (--replace-workflow).
  • Each run's title says whether it is a terminal or a VS Code session.

New

  • Pair a phone with the hub: via hub pair prints an address and a one-time code for the Android app; via hub devices lists paired phones and via hub unpair removes one.

Fixed

  • Downloads and GitHub API calls give up instead of hanging: an API call after 15 seconds, a download when no data arrives for 60 seconds.
  • via start and via stop run their task the way via run does, and background steps of a task keep running after the command returns.
  • More than forty further fixes are in the changelog.

Viaalink CLI v4.0.1

Choose a tag to compare

@kwuite kwuite released this 15 Nov 12:28

4.0.1 makes what the CLI tells you trustworthy, for people and for AI agents that follow it literally. Every command a hint, fix or error suggests now exists, with the options it shows. via net apply and via down exit 1 when they report an error. The CLI stops a process only when it can prove the pid is still the process it started.

Install or update

curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bash

Windows (PowerShell): irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex · Already installed: via update

Check before you upgrade scripts and CI

  • Unknown options are refused. Many more commands now reject an option they do not know, with a pointer to --help, instead of ignoring it. A script that passed a flag a command never read now fails: remove the flag. via logs -n 50 now takes the number.
  • via net apply exits 1 when it reports an error for any service, including a public address that does not answer within 30 seconds. Before, "Apply finished with errors" still exited 0.
  • via down exits 1 when anything was not stopped, was refused or failed.
  • A process is stopped only with proof. A relay client whose pid file comes from an older version, or a pid file that belongs to another project's workspace, is reported (pid, pid file, reason) and left running; the command exits 1.
  • via net expose stop --id <id> on a shared hub service needs --force, like via net stop already did.
  • A public address may change once. A tunnel stored under an uncleaned prefix (my_app, shop.v2, a slug over 48 characters) moves to the cleaned host (my-app) on the next via net apply, and the move is reported.

Fixed

  • A changed tunnel prefix now moves the tunnel. Before, via net apply kept the old host and exited 0 while the new address answered 404. Now the new tunnel starts, the old one stops, and the move is reported (moved in --json).
  • via net apply --tunnel checks every public address, with certificate validation, before it reports a tunnel as up.
  • Hints only name real commands. Every suggested command is checked against the CLI's own command list, so hints no longer send you to the relay binary, a just recipe or a source checkout.
  • Relays added with a join link whose credential has no expiry made via diagnose, via relay list and publishing act as if there was no relay. A missing expiry now means the credential never expires.
  • The dashboard's live service stream no longer reports every service as removed while the registry is being written.

Viaalink CLI v4.0.0

Choose a tag to compare

@kwuite kwuite released this 13 Nov 13:22

Viaalink CLI 4.0 brings Viaalink CI/CD: a live terminal or VS Code on a GitHub Actions runner, published through your relay and started from your laptop with one command, plus temporary addresses for the services your job runs. Project state moves from .asd/ to .via/, Caddy now listens on this machine only, and no command puts a login into a URL any more. This is a major release: read Breaking changes / upgrading before you update.

New: Viaalink CI/CD

  • via ci install adds a short .github/workflows/terminal.yml that calls the Viaalink CI/CD Action (uses: viaalink/cicd@v2; workflows that still say viaalink/ci-terminal@v2 keep working). Installing the CLI on the runner, the login, publishing through the relay and cleanup all live in the Action, so fixes reach your repository without reinstalling the workflow. via ci on its own lists its commands.
  • via ci install --runs-on self-hosted,linux,x64 runs the terminal on your own self-hosted runners. At a terminal, via ci install asks where the terminal runs and offers custom labels.
  • via gh setup installs the workflow and stores its repository secrets for you, after asking (the relay key, its host key pins and the terminal password VIA_TERMINAL_PASSWORD). Values go to gh secret set on stdin and are never printed. --relay <name> picks which enrolled relay's key to store; with several relays and no --relay, it asks.
  • via gh terminal starts a session: "Start terminal.yml in on (runner , terminal)? [Y/n]". It prints Published: https://…/, how to sign in, and via gh stop <run>, then returns. --watch keeps following the run until it ends. --interface codeserver opens VS Code instead of a shell; --show-login also prints the address with the login in it.
  • via gh terminal works with the Action and with the CLI's own terminal.yml, follows the run it started (not a colleague's), and reopens your running session instead of queueing a second one.
  • The version step offers the workflow's default (recommended), the latest release, the latest nightly, or a version you type.
  • via gh active lists running sessions; via gh runs shows terminal runs as a table; via gh stop stops a session.

New: project state in .via/

  • The CLI keeps a project's local state in .via/ (.via/workspace/, .via/state/) and no longer writes .asd/ into a project.
  • When it creates .via/ in a git repository, it adds .via/ to the project's .gitignore once and says so, unless git already ignores it. CRLF line endings are kept. Outside a git repository, or in a repository at your home folder, no .gitignore is touched.

Other additions

  • dial: 5175 in via.yaml (and in net.manifest.yaml) means localhost:5175. host:port keeps working.
  • Databases: a service can declare database: { engine: postgres, … }, and via database start lists it in DbGate as a ready connection (no password stored). tunnelProtocol: tcp with inspect: true shows each Postgres connection's SQL in the network inspector; with public: true the database gets a raw TCP port on your relay through via net apply --tunnel. Only the database's own login stands in front of that port, and via net apply says so.
  • via deps install --binary caddy installs Viaalink's own Caddy 2.11.7 build (DNS-01 providers, authentication and layer4 plugins) on Linux, macOS and Windows, x64 and arm64. Run it with --force to switch an existing install. VIA_CADDY_BASE_URL takes Caddy from your own folder or URL of builds, checked against its SHA256SUMS.txt.
  • After via net apply changes a service's env: values in .env, it names each changed key and the service to restart. Values are not printed.
  • via doctor has an "App listeners" check, and via diagnose checks the relay, device key, DNS and SSH port that the relay client actually uses.

Changed

  • Output leads with the address to share: Published: https://…, then Local route: … (this machine only) and Your app: localhost:<port>, in via expose, via expose list, via files, via net and via net urls. via net urls marks services that need a login.
  • The login in front of a public: true service in via.yaml now follows your preferences.expose_auth choice, as via expose already did. Terminals, code editors, database tools and Mailpit always keep their login. Change it with via config set preferences.expose_auth always|sensitive-only|never.
  • via read-env masks passwords, secrets, tokens, keys and logins inside URLs; --show-secrets prints them. via read-env NAME prints only that value.
  • A refused login shows a short page ("This address needs a login. Ask whoever shared it.") instead of a blank one.
  • The default local host is via.localhost (was asd.localhost), and a service without its own path or host answers on /via/<service> (was /asde/<service>). See upgrading below.

Breaking changes / upgrading

  • via devinci is gone. Use via ci (via ci install).
  • Project state moves from .asd/ to .via/. While services an earlier version started still run from .asd/ (Caddy, and the services and tunnels in its registry), the CLI keeps using .asd/ and names them. To move:
    1. via down
    2. via env init (it shows Workspace: .asd/workspace → .via/workspace)
    3. Delete the old .asd/ folder; it is no longer used.
  • ${{ macro.exposedOriginWithAuth() }} is removed. It wrote https://user:password@… into .env. A via.yaml that uses it now fails with "unknown macro expression". Use ${{ macro.exposedOrigin() }} and pass the login separately, for example curl -u "$ASD_BASIC_AUTH_USERNAME:$ASD_BASIC_AUTH_PASSWORD" "$APP_URL".
  • Caddy listens on this machine only (127.0.0.1, and ::1 where available) instead of every network interface. Relay addresses keep working. To reach a project from other devices on your network, or from the internet when this machine is a server, set network.caddy.lan_access: true in via.yaml; the change takes effect on the next via net apply or via caddy start.
    If you run your own Viaalink Relay that serves HTTPS through Caddy: set network.caddy.lan_access: true in the Relay's config before it runs this CLI, or update the Relay to 1.40.5 or later. Otherwise its public HTTPS listens on loopback only.
  • via gh stop <id> asks before stopping a run someone else started. Without a terminal it does not ask: it stops only your own runs, and for any other run prints "Not stopped: # …" and exits 1. It only cancels terminal sessions, never a CI or release run.
  • A terminal.yml from before 3.2 is refused ("This terminal.yml was installed by a CLI before 3.2; run via gh setup to update it."). Run via gh setup in the repository, let it replace the file, and commit it.
  • GitHub terminal secrets have new names. The workflow reads VIA_TUNNEL_KEY, VIA_TUNNEL_KEY_ID, VIA_TUNNEL_HOST, VIA_TUNNEL_HOST_KEY_FINGERPRINTS, optional VIA_TUNNEL_PORT, and VIA_TERMINAL_PASSWORD. The old ASD_TUNNEL_* secrets are not read. Run via gh setup again in each repository that uses the terminal workflow (it stores the new secrets), then delete the old ones with gh secret delete ASD_TUNNEL_KEY --repo <owner>/<repo> (and _KEY_ID, _HOST, _PORT). via gh terminal names any missing secret. The terminal password is no longer a workflow input, and the default username is now via.
  • via auth export no longer prints the private key. Add --with-key, as in eval $(via auth export --with-key).
  • A via.yaml service without activation checks is only published when its app answers. via net apply --tunnel probes its dial and leaves it unpublished when nothing listens ("web: not published — app down: …"). Start the app first.
  • project.tunnel.protocol: tcp is refused. It published the root service without its login. Give the service itself tunnelProtocol: tcp and public: true.
  • Local addresses: run via net apply once after upgrading. Old asd.localhost and /asde/<service> bookmarks then redirect to via.localhost and /via/<service>. Projects that set project.domain keep their host.
  • via caddy sync-auth with only ASD_BASIC_AUTH_PASSWORD in the environment now uses the login in .env. Set both username and password in the environment, or keep the login in .env.
  • via diagnose --region is removed (it did nothing).
  • Run via net apply once after upgrading to put back logins on services exposed with an earlier version (see Security).

Security

  • No login goes into a URL the CLI writes to a file, prints, copies or opens: via net menus, the service menus (which now offer "Copy username" and "Copy password"), via net open, the registry and ASD_TTYD_URL in .env. Restart the web terminal and code-server once (via ttyd stop && via ttyd start, the same for codeserver) to rewrite an address an older version left.
  • via net apply no longer removes the login via expose put in front of a service's public address. Run via net apply once after upgrading.
  • The studio's files (/asde/hub-config.json, /asde/hub-services.json, /asde/hub-services-public.json) and the dashboard need the studio login on every address, and no longer carry a login. If you published the studio (via terminal tunnel, via hub up or features.hub_visibility), replace its login: cd ~/.local/share/via/projects/personal && via expose auth --rotate.
  • A service deleted from via.yaml is no longer left public: the next via net apply closes its relay address and removes its routes.
  • A hub service id that is not lowercase letters, digits and hyphens is refused wherever it becomes a socket path.
  • The terminal workflow masks the password in its URL-encoded forms, no longer echoes invalid inputs, refuses unusual usernames, and stops the published address as soon as a run is cancelled.
  • The network inspector and DbGate say in their...
Read more

Viaalink CLI v3.2.6

Choose a tag to compare

@kwuite kwuite released this 04 Nov 12:49

Security release for the web terminal, plus via relays, clearer account and relay output, and a set of fixes for via up, dbgate and mitmproxy. 3.2.4 and 3.2.5 were tagged but never published; 3.2.6 is the first public release with these changes.

Security

  • On Linux and macOS the web terminal's password is no longer on ttyd's command line, where any user of the computer could read it with ps. ttyd now listens on a UNIX socket in a directory only you can enter, and Caddy asks for the hub login (via expose auth) in front of it, locally and through the relay. Windows is unchanged.
  • /asde/terminal/asd/healthcheck no longer leads to the terminal. In 3.2.3 a project with network.caddy.basic_auth.enabled could be reached through it without a login. Every hub healthcheck now answers itself, and via net apply puts the service's login in front of every raw route that passes requests on to a sensitive service. Update if you use the web terminal.
  • After via expose auth --rotate the old password no longer works over HTTPS, and the web terminal restarts so shells opened with the old login end.
  • via ttyd start tunnel no longer prints the password.
  • The npm packages compiled into the CLI are refreshed, picking up fixes for published advisories in axios, follow-redirects, form-data, shell-quote, ws, hono and others. zod 3 remains affected by GHSA-mrhx-c7xc-m3w5 (fixed only in zod 4).

Added

  • via relays lists the Relays your viaalink.com account is connected to, and whether this device already uses each one. Matching happens locally; nothing about your device's relays is sent. --json for scripts.
  • Every release carries THIRD_PARTY_NOTICES.txt and a CycloneDX SBOM (viaalink-cli.cdx.json).

Changed

  • via whoami shows your viaalink.com account and this device's relays separately.
  • via relay info <name> lists every domain the relay offers, and also takes a domain instead of a name; via relay list shows "+N more" when a relay has several domains.
  • The bundled relay client is viaalink-relay 1.38.0.

Fixed

  • via up runs projects that only have a via.yaml, and no longer prints "Started" for a task that did not start.
  • via run and via up fill missing .env keys from the template before checking the config.
  • The tunnel URL via expose prints now keeps the relay's port.
  • via dbgate start and via mitmproxy start work without a separate Bun install (also on Windows), stop cleanly, and print an address only once it answers.
  • via urls follows the workspace a project pins, and lists services a via run step published.
  • A mistyped command on a fresh computer no longer creates a workspace.
  • The .env.bak backup is readable only by you.
  • via caddy start no longer says "Caddy installed" when it did not install one.

Re-run the installer to also update the bundled relay client and helpers; via update only swaps the CLI binary.

Viaalink CLI v3.2.3

Choose a tag to compare

@kwuite kwuite released this 31 Oct 23:39

Security release: the bundled relay client is updated.

Security

  • The relay client is viaalink-relay 1.37.1, built with Go 1.26.10, x/net 0.62.0 and x/crypto 0.58.0. It fixes 16 advisories that affect it, among them two in x/crypto/ssh (GO-2026-6355, GO-2026-6354). Checksums are pinned for all six platforms.

Re-run the installer to update the relay client; via update only swaps the CLI binary.

Viaalink CLI v3.2.2

Choose a tag to compare

@kwuite kwuite released this 31 Oct 19:37

Dashboard services send one valid CORS header again.

Fixed

  • The web terminal, VS Code and other dashboard services no longer send an invalid, duplicated Access-Control-Allow-Origin header. The list of sites allowed to embed them now goes only into the Content-Security-Policy frame-ancestors header. Run via net apply after updating to refresh the routes.

Changed

  • The Caddy client is now @viaalink/caddy-api-client 0.10.0 (formerly @accelerated-software-development/caddy-api-client).

Viaalink CLI v3.2.1

Choose a tag to compare

@kwuite kwuite released this 31 Oct 16:10

The CLI is via all the way down: via.yaml, VIA_* settings and via data and config directories. Existing asd.yaml files, ASD_* names and asd directories keep working.

New

  • via.yaml is the project file. via init writes via.yaml in a new project. A project with only asd.yaml keeps using it, unchanged. When a folder has both, via.yaml is used and the CLI says asd.yaml is ignored.
  • Every ASD_* setting can be set as VIA_* (VIA_SKIP_BINARIES=all, VIA_MODE, VIA_HTTP_HOST, …). When both are set, VIA_ wins. The installers read VIA_INSTALL_BASE_URL, VIA_HOME and VIA_NO_MODIFY_PATH.
  • Your data and config directories are named via: ~/.local/share/via and ~/.config/via on Linux, ~/Library/Application Support/via on macOS, %LOCALAPPDATA%\via and %APPDATA%\via on Windows. The installer, or the first via run, moves an existing asd directory there and leaves a link at the old name. Relay enrolments, device keys, the vault, projects and running services carry on untouched. If Windows holds a file in the old directory open, the CLI keeps using it and tries the move again on a later start.

Changed

  • Messages, help and via schema name via.yaml, the via directories and VIA_* settings. via auth prints VIA_TUNNEL_* exports for containers.
  • The relay client is viaalink-relay 1.37.0, with pinned checksums for Linux, macOS and Windows.
  • On Windows the CLI is installed in %LOCALAPPDATA%\via\bin.

Also in this release (from 3.1.9)

3.1.9 and 3.2.0 were not published on their own; everything in them ships here.

New

  • via files start [folder] shares a folder in the browser. It asks three questions: keep serving in the background (yes), publish it on your relay (no), and put a login in front (yes). Flags answer them for scripts: --background/--foreground, --public, --auth=none|basic. via files tunnel shares it publicly in one step; via files list and via files stop <name> manage shares, from any folder. Hidden files (.env, .git/…) are never served, and a symlink cannot lead outside the shared folder.
  • via expose auth --rotate replaces the logins of a project (the basic auth and the web terminal's). Old passwords and links stop working at once. It asks first; --yes for scripts.
  • Quick login, opt-in: via config set preferences.show_auth_in_urls true. In a terminal that supports it, links open with one click and show the password as dots. In CI, a pipe, a log or Apple Terminal no password is printed.
  • via expose checks the public address before it says it is live, and tells you when the tunnel does not answer yet.

Changed

  • No passwords in output. Only via expose auth shows them, now including the web terminal's login. terminal start, net apply, the service menus and via urls no longer print one.
  • You pick the default relay. The first relay you add becomes the default. Adding another asks whether it should be the default; without a terminal the default stays and the new relay is added to via relay list. --default switches without asking; via relay set <name> switches later.
  • via relay rotate-key asks before it replaces the device key; --yes for scripts.
  • via net apply without a relay applies everything on this machine and ends with a clear warning that nothing was published, with the steps to add a relay.
  • Output says via and Viaalink. Hints name the command you typed, and services read "VS Code", "Network inspector", "Database manager", "Web terminal" and "Dashboard".
  • A bare via shows the same task-ordered overview as via help.
  • via help no longer lists database (it needs a separate Bun install) and, on Windows, code (no Windows build). Both still run.
  • via init registers the folder as a project, so via projects list shows it.

Fixed

  • via expose list shows exposes without a tunnel ("On this machine only") and no longer reports a live tunnel in a temp folder as an orphan.
  • Short options take their value: -s prod, -n 50, -p <dir>.
  • via ssh connect works when the project path contains a space.
  • via vault import imports .env files next to a .env.example and skips a Python .env/ folder.
  • On Windows the installer keeps %VAR% entries in your PATH.
  • via terminal start points at via terminal tunnel (the expose hint led to a login loop).
  • Stop commands say "stopped" or "was not running"; "Did you mean?" no longer suggests unrelated commands.
  • A python3 -m http.server is detected as a service.

Viaalink CLI v3.1.8

Choose a tag to compare

@kwuite kwuite released this 30 Oct 14:29

Viaalink CLI 3.1.8 tightens security and gives via help a clear overview of the commands that are ready to use.

Install or update

curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex

Highlights

  • A clear via help. It lists the commands that were tested on Linux, macOS and Windows, by task: Get started, Relays, Publish, Tools in the browser, Secrets, Check and update. via help --all still lists every command.
  • Mistyped options are caught. An option a command does not take is refused with a suggestion (via update --chanel → "Did you mean --channel?"). Before, it was ignored. --help on these commands lists their options.
  • How your relay names your links. via relay info <relay> shows whether the relay gives your links a suffix (for example -nico), and via expose takes it into account. This needs Viaalink Relay 0.62.6 or newer, and a relay client that can ask.

Security

  • Web terminal: via terminal listens on this machine only (127.0.0.1). Before, its login page could be reached from your local network.
  • Network inspector: the proxy behind via inspect listens on this machine only (it was open to your network). Its password no longer shows in the process list. Set MITMPROXY_LISTEN_HOST if another device should use the proxy.
  • Project settings: via no longer runs scripts that a bunfig.toml in the current folder points to. This is not yet the case for the build for older CPUs without AVX2.
  • Adding a relay by hand: via relay add --host … --key … checks the relay's host key before it asks which domains the relay serves.

Fixes

  • via net: the "newly detected service" window only offers your own services running in this project. A service you skip with Esc stays skipped, and Ctrl+Q quits while the window is open.