js/commands/slides

js/commands/slides.ts

fino:commands/slides — serve a file-backed presentation from the CLI.

fino slides talk.mdx serves the audience at / and the presenter console at /_presenter. The deck is loaded before the listener is announced and file-backed presentations update live when their source changes. The command binds to 127.0.0.1 by default; --host explicitly changes the bind address. The presenter route has no authentication, so a public bind also exposes its controls to anyone who can reach the server.

fino slides talk.mdx --port 4000
fino slides talk.mdx --host 0.0.0.0

Constants

const command

Serve one MDX or component-module slide deck until the command is stopped.