Skip to content
DexCode

Sharing & Presenting

Share your DexCode slides via Cloudflare Tunnel, export to PDF/PPTX, or present directly.

Sharing Options

DexCode provides multiple ways to share your slides with others.

Cloudflare Tunnel

The fastest way to share a live deck. DexCode includes cloudflared as a dependency and has built-in tunnel management. Ask your AI agent:

bash
> Expose this deck via Cloudflare Tunnel and share the URL

Or start a tunnel manually:

bash
npx cloudflared tunnel --url http://localhost:3000

This generates a public URL (e.g., https://abc123.trycloudflare.com) that anyone can access. The viewer sees your slides in real time — any updates you make are reflected immediately.

PDF Export

Export your deck to a high-quality PDF via Playwright. Each slide is rendered at full resolution and combined into a single PDF file for sharing or printing.

PPTX Export

Export to PowerPoint format. Each slide is rendered as a high-resolution image and inserted into a PPTX file using pptxgenjs.

Presenter Mode

Use the presenter mode button in the toolbar to open a two-window presentation setup:

  • Presenter window: Shows current slide, next slide preview, speaker notes, and timer
  • Audience window: Shows the current slide fullscreen (ideal for projector output)

Both windows stay synchronized via BroadcastChannel API — no server needed.

Keyboard Shortcuts

KeyAction
or SpaceNext slide
Previous slide
fToggle fullscreen
EscExit fullscreen

Embedding

Since DexCode decks are standard web pages, you can embed them in other sites using an iframe:

html
<iframe
  src="https://your-tunnel-url.trycloudflare.com"
  width="100%"
  height="600"
  style="border: none; border-radius: 8px;"
></iframe>