Skip to content
Amaroad

CLI Commands

Complete reference for Amaroad's command-line interface.

Commands

Amaroad is managed through pnpm scripts defined in package.json.

Development

pnpm run dev

Start the development server with hot module replacement.

bash
pnpm run dev

Opens at http://localhost:3850 by default. Navigate to http://localhost:3850/<deck-name> to view a specific deck.

pnpm run build

Build the project for production deployment.

bash
pnpm run build

pnpm run start

Start the production server after building.

bash
pnpm run start

pnpm run lint

Run ESLint to check code quality.

bash
pnpm run lint

Export

PDF and PPTX export are available through the browser UI. When viewing a deck, use the export buttons in the toolbar to generate exports.

  • PDF — Renders each slide at full resolution via Playwright and combines them into a high-quality PDF
  • PPTX — Renders each slide as a high-resolution image and inserts them into a PowerPoint file using pptxgenjs

Sharing via Cloudflare Tunnel

Amaroad includes cloudflared as a dependency. The tunnel can be started through the UI or by asking your AI agent:

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

Alternatively, you can start a tunnel manually:

bash
pnpm exec cloudflared tunnel --url http://localhost:3850

This generates a public URL (e.g., https://abc123.trycloudflare.com) that anyone can access.