Back to Slidev

Remote Access

docs/features/remote-access.md

52.15.11.4 KB
Original Source

Remote Access

You can run your presentation with remote access by using the --remote flag:

::: code-group

bash
pnpm dev --remote
# i.e. slidev --remote
bash
npm run dev -- --remote
# i.e. slidev --remote
bash
yarn dev --remote
# i.e. slidev --remote
bash
bun dev --remote
# i.e. slidev --remote
bash
deno run dev --remote
# i.e. slidev --remote

:::

Password Protection

If you want to share your slides but don't want other people to access the presenter mode, you can pass a password to the option, i.e. --remote=your_password. Then the password is required when accessing the presenter mode.

Remote Tunnel

You can open a Cloudflare Quick Tunnels to expose your local server to the internet. This way, you can share your slides with others without setting up a server.

::: code-group

bash
pnpm dev --remote --tunnel
# i.e. slidev --remote --tunnel
bash
npm run dev -- --remote --tunnel
# i.e. slidev --remote --tunnel
bash
yarn dev --remote --tunnel
# i.e. slidev --remote --tunnel
bash
bun dev --remote --tunnel
# i.e. slidev --remote --tunnel
bash
deno run dev --remote --tunnel
# i.e. slidev --remote --tunnel

:::