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

@spark-apps/quickpeek

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/quickpeek

Core library for QuickPeek - AI-powered demo video generation

npmnpm
Version
1.0.1
Version published
Weekly downloads
578
362.4%
Maintainers
1
Weekly downloads
 
Created
Source

QuickPeek Core

Core library for QuickPeek - AI-powered demo video generation

npm MIT

Installation

npm install @spark-apps/quickpeek

Overview

This is the core library used by @spark-apps/quickpeek-cli. It provides:

  • API Client - Communication with QuickPeek backend for AI planning
  • TTS Engine - Text-to-speech via Edge TTS (60+ languages)
  • FFmpeg Wrapper - Video composition, watermarks, effects
  • Prompt Builder - System and user prompts for AI planning
  • Web Crawler - Page analysis for demo planning
  • Utilities - Caption styling, ASS subtitle generation, config management

Usage

import {
  callAI,
  generateVoiceover,
  composeVideo,
  crawlPage,
  buildSystemPrompt,
  buildUserPrompt,
  DEFAULT_CONFIG,
  VERSION,
} from '@spark-apps/quickpeek';

// Crawl a page for interactive elements
const { title, elements } = await crawlPage('https://example.com');

// Generate AI demo plan
const systemPrompt = buildSystemPrompt(8);
const userPrompt = buildUserPrompt(url, title, elements, 'English', 'A todo app', 8);
const result = await callAI(systemPrompt, userPrompt, 'user@email.com');

// Generate voiceover
const { voiceoverPath, stepAudio } = await generateVoiceover(
  steps,
  config,
  workDir,
  outputDir,
  logError,
  task,
  info
);

// Compose final video
await composeVideo({
  videoPath,
  assPath,
  outputPath,
  voiceoverPath,
  musicPath,
  // ... options
});

Exports

ModuleDescription
api-clientBackend API communication
ttsText-to-speech generation
ffmpegVideo composition
promptsAI prompt templates
crawlWeb page analysis
configDefault configuration
utilsASS subtitles, color conversion
voicesVoice mappings for 60+ languages
stylesCaption styling
cursorCustom cursor CSS/JS
watermarkWatermark generation

MIT License - Made with ☕ by Spark Apps

Keywords

quickpeek

FAQs

Package last updated on 09 Dec 2025

Related posts