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.
pnpm run devOpens 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.
pnpm run buildpnpm run start
Start the production server after building.
pnpm run startpnpm run lint
Run ESLint to check code quality.
pnpm run lintExport
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:
> Expose this deck via Cloudflare Tunnel and share the URLAlternatively, you can start a tunnel manually:
pnpm exec cloudflared tunnel --url http://localhost:3850This generates a public URL (e.g., https://abc123.trycloudflare.com) that anyone can access.