create-slide-quiz-plus
v0.1.0
Published
Scaffold a Reveal.js or Slidev presentation with live audience quizzes (Netlify, Vercel, and Cloudflare Pages)
Downloads
109
Maintainers
Readme
create-slide-quiz-plus
Scaffold a Reveal.js or Slidev presentation with live audience quizzes, powered by slide-quiz and AnyCable.
Fork of create-slide-quiz with Cloudflare Pages support added alongside the original Netlify and Vercel targets.
Usage
npx create-slide-quiz-plusRun this inside your existing Reveal.js or Slidev project directory.
Deploy targets
- Netlify — copies templates from the installed
slide-quizpackage intonetlify/functions/, writesnetlify.toml - Vercel — copies templates from the installed
slide-quizpackage intoapi/ - Cloudflare Pages — copies bundled templates into
functions/api/, writeswrangler.tomlwith a sanitized project name, sets up.dev.vars
The Cloudflare templates ship inside this CLI (templates/cloudflare/), so it works against the upstream slide-quiz package on npm — no need to wait for a republished slide-quiz.
Cloudflare detection looks for wrangler.toml, wrangler.jsonc, wrangler.json, or .wrangler/. If the Wrangler CLI is installed, the script can create the Pages project, push the ANYCABLE_BROADCAST_URL secret, and deploy.
Requirements
- Node.js 18+
- An existing Reveal.js or Slidev project (or the CLI will scaffold one)
- Optional platform CLIs for one-shot deploy:
netlify,vercel, orwrangler
License
MIT
