Run PiChamber on the computer that holds your projects, then connect from a browser or another PiChamber client. Install the CLI first: Install.
The computer running the server is the host. Sessions use its files, Pi configuration, and provider credentials—not those of the connecting device. Keep the host awake and the server running while you use it remotely.
The examples use port 3000.
Replace this port with your actual server port.
Start a server
For guided setup, use an interactive terminal:
pichamber serve
The CLI asks for these settings:
- Access: this machine only, the local network, or a custom bind address.
- Server port.
- UI password.
- Browser UI and API, or API only.
- Background or foreground mode.
The CLI shows your choices before it starts the server.
- For local browser access, select This machine only.
- Set the port to
3000. - Select Generate a secure password.
- Select Browser UI and API.
- Select In the background.
- Confirm the settings.
- Save the printed password.
- Open
http://127.0.0.1:3000on the host. - Enter the password.
The browser shows your session list after successful authentication.
For scripts, CI, and non-interactive terminals, use explicit flags:
pichamber serve --port 3000 --ui-password
By default, this command starts a background server on 127.0.0.1.
Without a configured password, --ui-password generates one.
Loopback (127.0.0.1) means this computer only.
It is not the address to use on your phone.
Foreground mode keeps the server attached to its terminal.
For the flag-based command, --foreground selects this mode.
Check and stop
Forgot the port? List discovered instances and their ports:
pichamber status
Stop one server using its actual port:
pichamber stop --port 3000
Closing the terminal does not stop a background server. Background mode does not configure automatic startup. See Keep it running after reboot for startup integration. The CLI guide describes logs and restart commands.
Keep it running after reboot
Startup integration lets the operating system manage the server. Use a globally installed CLI and a supported runtime. Startup integration uses the runtime that runs the CLI. See Install for runtime requirements.
-
If a manually started server uses the required port, stop it:
pichamber stop --port 3000 -
Start guided startup setup:
pichamber startup enable -
Select the access setting.
-
Set the port to
3000. -
Select Generate a secure password.
-
Confirm the settings.
-
Save any generated password.
The CLI installs and starts the service after confirmation. Choose Local network if other devices need direct LAN access.
For scripts, CI, and non-interactive terminals, use explicit flags:
pichamber startup enable --port 3000 --ui-password
For LAN access, also include --lan:
pichamber startup enable --port 3000 --lan --ui-password
On macOS and Windows, the server starts at login, not before login. On Linux with systemd, root installs a system service that starts at boot. Other users install a user service. Its availability before login or after logout depends on the system's user-service configuration. Startup integration does not configure Android boot startup.
Startup integration manages only the server. It does not restart standalone tunnels or restore managed tunnels. Start the required tunnel separately.
-
To check startup integration, run:
pichamber startup status -
To prevent automatic server restart, disable startup integration:
pichamber startup disable
The CLI guide describes startup commands and platform requirements.
Connect from another device
Same trusted Wi-Fi: no tunnel needed. A loopback-only server must restart before it accepts LAN connections.
-
If a server already uses this port, stop it:
pichamber stop --port 3000 -
Start guided setup:
pichamber serve -
Select Local network.
-
Set the port to
3000. -
Select Generate a secure password.
-
Select Browser UI and API.
-
Select In the background.
-
Confirm the settings.
-
Save the printed password.
For scripts, CI, and non-interactive terminals, use:
pichamber serve --port 3000 --lan --ui-password
-
Find the host's LAN IP address.
On macOS, System Settings → Wi-Fi → Details → TCP/IP shows the address.
-
Open
http://HOST-IP:3000on the other device. -
Enter the server password.
LAN HTTP access is intended for trusted networks.
Outside your network: use a Cloudflare tunnel. LAN access and a tunnel can run together. Follow Connect devices for foreground tunnel commands, browser versus app pairing, and how to stop each kind of tunnel.
For a PiChamber-managed tunnel, shut down remote access before the server:
pichamber tunnel stop --port 3000
pichamber stop --port 3000
For a standalone cloudflared tunnel, press Ctrl+C in its terminal instead
of using pichamber tunnel stop, then stop the server separately.
Docker
Copy docker-compose.yml from the repository, set PICHAMBER_UI_PASSWORD to a
strong password, and run docker compose up -d. See Run PiChamber in Docker
for host port bindings, projects, persistent data, and upgrades.
If startup fails, see Troubleshooting.