Connect your own machine

Serve a Project folder from a workstation or GPU server with witwin host and open it from Studio or the web app through My machines.

witwin host serves a Project folder from any machine you can log in to, such as a lab workstation or a GPU server, and makes it available under My machines in Studio and in the web app. The machine connects out to WiTwin, so it needs no open port or VPN.

Start a host#

On the machine that has the Project:

witwin host path/to/project

The first run asks you to sign in. On a machine without a browser it shows a device code to confirm from another device. Add --init to make the folder a Project if it is not one yet.

Keep the command running while you work on the Project.

Availability

witwin host ships with the WiTwin server package, which is not on a public package index yet. This guide describes the beta; installation steps will be added when the package is published.

Open it#

In Studio, open the Projects list's More menu and choose My machines.... Pick the machine; the Project opens like a local one.

Options#

OptionEffect
--headlessNo prompts or banner, for services and scripts
--no-relayServe on this machine only, without connecting to WiTwin
--attach URLForward to a Project server that is already running
--plugin-path PATHAdd a local Plugin folder; repeatable
--no-pluginsStart without Plugins
--port NLocal gateway port (default: random)

Studio refuses very broad folders such as your home folder or a drive root. Use --allow-broad-folder only if you mean it.

Manage hosts#

witwin host status path/to/project
witwin host unregister path/to/project

unregister removes the folder from My machines. witwin login, witwin logout and witwin whoami manage the stored sign-in.