Loading the documentation…
DataMind Oda can serve its interface to a browser on your computer, as the web mode, from a web server built into the app. It is the same Oda: your chats, models and settings are all there, and nothing needs installing beyond DataMind Oda itself. 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.
<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.opening the default browser; pass --no-open to disable. Over a remote connection, it prints the address and skips the handoff.web-app: could not open the default browser because <reason> and asks you to 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.Sign-in required; reopen the address the server printed when it started. Opening the app's address without the token does not sign a browser in.not found or an empty page instead of opening the app, so a mistyped or stale address fails clearly.Keep the web interface on this computer or on a network you trust. The server adds no encryption of its own, and anything under its address that is not behind the browser sign-in is public to whoever can reach it.
| The page shows | What it means and what to do |
|---|---|
Sign-in required; reopen the address the server printed when it started. | This browser has not signed in yet. Reopen the exact address from the latest start; if you no longer have it, start the web mode again and use the address it prints. |
not found or an empty page | The address is not one the interface serves. Check it for a typo, then open the address Oda printed. |
If the address does not open at all, the web mode is not running. Start it again; if its port is already in use, the web mode does not start and Oda shows why.
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, the command name followed by <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 adds a line ending 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.
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. There is no password to type, and after that the browser opens the interface directly.
This browser has not been signed in yet. The page answers Sign-in required; reopen the address the server printed when it started., and reopening the exact address from the latest start signs the browser in.
Not in a browser that has already signed in: the sign-in is kept in a cookie there, so you can bookmark the plain address. Each start mints a fresh token, so to sign a new browser in, use the address from the latest start.
Yes. The sign-in is kept in the browser that opened the printed address, so open it in each browser you want to use.
not found mean?You opened an address the interface does not serve. Check it for a typo, then open the address Oda printed. A chat or a screen has no address of its own: open the printed address and navigate inside the app.
No. It serves the app page and the app's own files from the app's folder, and nothing else. An address that tries to reach outside the folder is refused instead of served.
The server adds no encryption of its own, and the files the page is built from are served without the sign-in. Keep it on this computer, or use it only over a network you trust.
No. The browser in a chat's side panel is where you and Oda work on web pages together, covered by The browser in Oda. The web interface is Oda's own interface, served to a browser on this computer.