DataMind Oda can serve its interface to a browser on your computer, as the web mode. This page is the reference for starting it, the addresses it prints and how a browser signs in; for the walkthrough, see Oda in the browser, and to work in a chat there, see Chat with Oda.
Open a terminal on the computer where Oda runs.
Start the web mode:
oda --profile web
Oda serves the interface, prints its address, and opens that address in your default browser. The interface runs until you stop it.
Add options to the start command:
| Option | What it does |
|---|---|
--host <host> | Binds the interface to this host. Oda refuses to bind all network interfaces. |
--port <port> | Listens on this port; --port 0 lets the system pick a free one. |
--trusted-host <authority> | Accepts an extra host, or host and port, for the interface's browser checks; repeat the option for more than one. |
--no-open | Starts without opening a browser. |
When you leave the options out, Oda binds 127., listens on port 3080, opens your default browser, and trusts no extra hosts.
Oda profiles and launchers covers profiles in general, and Command line and flags covers how a flag wins over the configuration.
oda web: <address>. When the start has a local-network address, the same line adds it in a (LAN: <address>) part. Both addresses carry the sign-in token.oda web: opening the default browser; pass --no-open to disable. Over a remote connection, it prints the address and skips the handoff.oda web: could not open the default browser because <reason>; use the address printed at startup.127. 0. 0. 1 and port 3080.--host 0. 0. 0. 0 fails before serving, with error: --host 0. 0. 0. 0 is intentionally not supported yet for safety: it would expose remote code execution to the network; use 127. 0. 0. 1 instead. (LAN: . . . ) part and accepts it. If your addresses change while the interface runs, restart it to read them again.--trusted-host.While the interface serves a chat, Oda is told: You are interacting with the user through the DataMind Oda Web GUI at <address>.
Canonical local URL of the DataMind Oda Web GUI serving this session, so a command can open or copy it.The address line, oda web: <address>, with a (LAN: <address>) part when the start has a local-network address; both carry the sign-in token. When it hands off to your browser, it notes oda web: opening the default browser; pass --no-open to disable. The address prints once the interface is ready to serve.
(LAN: . . . ) address?A second address for the same interface over the local network, printed when the start has one. Oda reads the computer's network addresses once, when it starts, so restart the interface if they change.
--host 0. 0. 0. 0 fail?Oda refuses to bind all network interfaces. The start stops with error: --host 0.. Keep the local address, and add any other hostname you reach the interface under with --trusted-host.
Host 127., port 3080, the default browser opens, and no extra hosts are trusted. To let the system pick a free port, pass --port 0.
The host and port stay as set, but each start mints a fresh sign-in token. To sign a new browser in, use the address from the latest start; a browser that has already signed in keeps working from the plain address.
Opening the exact printed address once exchanges its one-time token for a signed cookie kept by that browser, and the page reloads without the token. After that the browser opens the interface directly. The Oda web app covers the sign-in page itself.
Yes. Oda is told it is interacting with you through the DataMind Oda Web GUI at its address, that "this page", "this GUI" and "this app" mean this interface, and that "The browser provides no implicit DOM, route, or screenshot context." It works from the chat and its tools, not from what you see on the page.