On this page ▾
Remote access
slide-ng --remote=secret # others on your network can open the deck and follow the presenter
slide-ng --remote # the same, with a random password that is printed
SLIDE_NG_PASSWORD=secret slide-ng --remote # keeps the password out of the process list
The command prints the public and private deck addresses and the presenter address, /presenter/1?password=secret. Use that address on the presenter's device. A viewer opens http://<your address>:4230/1?password=secret. The page logs in with the password, then takes it out of the address bar. With routerMode: hash the addresses are /#/?password=... and /#/presenter/1?password=....
Press c in the terminal of the dev server to print a QR code of the private address for each network address, so a phone can open it. The QR code holds the password, like the address it encodes.
- Only the dev server listens on the network, on
0.0.0.0unless you pass--bind <address>. Its companion server stays on127.0.0.1. - There is always a password: the one given,
SLIDE_NG_PASSWORD, a prompt on a terminal, or a random one. This differs from Slidev, which allows a remote mode without one. The host, origin and session token of every request are checked as well. - It lets a device sync and write, and opens the presenter, notes, overview and notes editor pages. Without it, those addresses go to the slides.
- Opened without a password, the page asks once, in the deck's interface language. A device that dismisses the prompt only shows the slides: it does not follow the presenter, since syncing needs the password.
- A viewer on another device only follows. Its sync menu has Send Only and Bidirectional Sync disabled, see Presenter mode.
- Spaces in a password: the terminal prompt trims them, but
SLIDE_NG_PASSWORDand--remote=...keep them as written. The login compares exactly what is typed. - It is sent without encryption and there is no HTTPS, so use it on a network you trust. Whoever has it can edit your slides.
- A login lasts 8 hours. It is signed with the password, so it survives a restart of the dev server with the same password. Changing the password ends every login at once. There is no other way to log a device out.
- Windows of one browser sync with no server. Other devices need this.
The dev server's MCP endpoint needs the same password, see MCP server. See Security for the checks the server makes. --tunnel is not available.