New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@spark-apps/quickpeak

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-apps/quickpeak

Auto-generate demo videos for your web app with AI

Source
npmnpm
Version
1.1.7
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

<img src=imgs/logo.png>

Demo videos for your web app with AI

npm MIT Discord GitHub Stars

Quick Start

npm install -g @spark-apps/quickpeak
qp localhost:3000
Prerequisites
npx playwright install chromium
apt install ffmpeg   # Linux
brew install ffmpeg  # macOS

API Key: On first run, QuickPeak will prompt you to set up your free Groq API key.

Voice: Uses Microsoft Edge TTS (free, no API key needed).

Features

FeatureDescription
AI PlanningGroq AI (Llama 3.3) analyzes your app and generates demo steps
Voice OverFree Edge TTS narration in 60+ languages (no API key)
Karaoke CaptionsWord-by-word highlighted subtitles
Background MusicOptional music with fade in/out
Smart ZoomPer-step zoom for focused demos

Usage

qp <url> [options]
CommandDescription
qp localhost:3000Record demo (auto-adds http://)
qp example.comRecord demo (auto-adds https://)
qp myapp.com lang=arArabic narration
qp myapp.com -d "A todo app"Describe app to focus AI on core features
qp initCreate config file
qp config lang esSet config option

Options:

  • lang=xx — Language for narration (en, es, ar, zh...)
  • -d, --description "..." — Help AI understand your app's core purpose

Config

Run qp init to create quickpeak.config.json:

{
  "lang": "en",
  "video": { "width": 1080, "height": 1920, "fps": 30 },
  "music": { "path": "./music.mp3", "volume": 0.3 }
}
All Options
OptionDefaultDescription
plan.maxSteps8Maximum demo steps
langenLanguage code (60+ supported)
video.width1080Video width (px)
video.height1920Video height (px)
video.fps30Frames per second
video.quality0.5Video quality 0-1 (1 = best)
video.presetfastEncoding speed (see table below)
video.cursortrueShow mouse cursor
video.highlightfalseHighlight active element
video.fadeIn/Out0.3Fade duration 0-1 (seconds)
video.contrast0.65Contrast boost 0-1
music.path-Background music file
music.volume0.3Music volume 0-1
intro.enabledfalseEnable voice intro before demo
intro.text-Custom intro text (defaults to AI description)
output.dir./demoOutput directory

Preset Values (encoding speed vs file size):

PresetSpeedFile Size
ultrafastFastestLargest
superfast↓↓
veryfast
faster
fastDefault
medium
slow
slower
veryslowSlowestSmallest

API Keys

ServiceRequiredPurposeGet Key
GroqYesAI planning (Llama 3.3)console.groq.com/keys
Edge TTSNoVoice narration (free)No key needed

QuickPeak will prompt you to set up your Groq API key on first run, or add it manually:

# .env
GROQ_API_KEY=gsk_...

Languages

Set lang to auto-select the best voice:

CodeLanguageCodeLanguage
enEnglisharArabic
esSpanishfrFrench
deGermanzhChinese
jaJapanesekoKorean
ptPortuguesehiHindi

See src/voices.ts for all 60+ supported languages.

Caption Styling

Create captions.css in your project root:

.caption {
  font-family: "Arial Black", sans-serif;
  font-size: 64px;
  color: #FFFF00;
  -qp-highlight: #FFFFFF;
  -webkit-text-stroke: 2px rgba(0,0,0,0.5);
}

Output

FileDescription
demo/demo.mp4Final video
demo/plan.jsonEditable script

Report Bug · Discord · Privacy

MIT License - Made with ☕ by Spark Apps

Keywords

demo

FAQs

Package last updated on 08 Dec 2025

Related posts