@muskanmeet/invoicing-design-system 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cache/replit/env/latest +78 -0
- package/.cache/replit/env/latest.json +1 -0
- package/.cache/replit/modules/nodejs-20.res +1 -0
- package/.cache/replit/modules/python-3.11.res +1 -0
- package/.cache/replit/modules/replit-rtld-loader.res +1 -0
- package/.cache/replit/modules/replit.res +1 -0
- package/.cache/replit/modules.stamp +0 -0
- package/.cache/replit/nix/dotreplitenv.json +1 -0
- package/.cache/replit/toolchain.json +1 -0
- package/.cache/typescript/5.9/package-lock.json +50 -0
- package/.cache/typescript/5.9/package.json +1 -0
- package/.config/nextjs-nodejs/config.json +7 -0
- package/.eslintrc.json +3 -0
- package/.local/.commit_message +31 -0
- package/.local/secondary_skills/LICENSE.txt +21 -0
- package/.local/secondary_skills/ad-creative/.fingerprint +1 -0
- package/.local/secondary_skills/ad-creative/SKILL.md +872 -0
- package/.local/secondary_skills/ai-recruiter/.fingerprint +1 -0
- package/.local/secondary_skills/ai-recruiter/SKILL.md +1087 -0
- package/.local/secondary_skills/ai-sdr/.fingerprint +1 -0
- package/.local/secondary_skills/ai-sdr/SKILL.md +204 -0
- package/.local/secondary_skills/ai-secretary/.fingerprint +1 -0
- package/.local/secondary_skills/ai-secretary/SKILL.md +1132 -0
- package/.local/secondary_skills/branding-generator/.fingerprint +1 -0
- package/.local/secondary_skills/branding-generator/SKILL.md +286 -0
- package/.local/secondary_skills/competitive-analysis/.fingerprint +1 -0
- package/.local/secondary_skills/competitive-analysis/SKILL.md +429 -0
- package/.local/secondary_skills/content-machine/.fingerprint +1 -0
- package/.local/secondary_skills/content-machine/SKILL.md +321 -0
- package/.local/secondary_skills/deep-research/.fingerprint +1 -0
- package/.local/secondary_skills/deep-research/SKILL.md +517 -0
- package/.local/secondary_skills/design-thinker/.fingerprint +1 -0
- package/.local/secondary_skills/design-thinker/SKILL.md +327 -0
- package/.local/secondary_skills/excel-generator/.fingerprint +1 -0
- package/.local/secondary_skills/excel-generator/SKILL.md +954 -0
- package/.local/secondary_skills/excel-generator/financial-models.md +289 -0
- package/.local/secondary_skills/file-converter/.fingerprint +1 -0
- package/.local/secondary_skills/file-converter/SKILL.md +823 -0
- package/.local/secondary_skills/flashcard-generator/.fingerprint +1 -0
- package/.local/secondary_skills/flashcard-generator/SKILL.md +233 -0
- package/.local/secondary_skills/geo/.fingerprint +1 -0
- package/.local/secondary_skills/geo/SKILL.md +378 -0
- package/.local/secondary_skills/geo/references/content-patterns.md +158 -0
- package/.local/secondary_skills/geo/references/platform-notes.md +128 -0
- package/.local/secondary_skills/geo/references/scorecard.md +113 -0
- package/.local/secondary_skills/geo/references/technical-checklist.md +257 -0
- package/.local/secondary_skills/github-solution-finder/.fingerprint +1 -0
- package/.local/secondary_skills/github-solution-finder/SKILL.md +174 -0
- package/.local/secondary_skills/infographic-builder/.fingerprint +1 -0
- package/.local/secondary_skills/infographic-builder/SKILL.md +317 -0
- package/.local/secondary_skills/infographic-builder/antv-syntax.md +470 -0
- package/.local/secondary_skills/infographic-builder/react-fallback.md +210 -0
- package/.local/secondary_skills/insurance-optimizer/.fingerprint +1 -0
- package/.local/secondary_skills/insurance-optimizer/SKILL.md +209 -0
- package/.local/secondary_skills/interview-prep/.fingerprint +1 -0
- package/.local/secondary_skills/interview-prep/SKILL.md +349 -0
- package/.local/secondary_skills/invoice-generator/.fingerprint +1 -0
- package/.local/secondary_skills/invoice-generator/SKILL.md +527 -0
- package/.local/secondary_skills/legal-contract/.fingerprint +1 -0
- package/.local/secondary_skills/legal-contract/SKILL.md +977 -0
- package/.local/secondary_skills/meal-planner/.fingerprint +1 -0
- package/.local/secondary_skills/meal-planner/SKILL.md +517 -0
- package/.local/secondary_skills/personal-shopper/.fingerprint +1 -0
- package/.local/secondary_skills/personal-shopper/SKILL.md +361 -0
- package/.local/secondary_skills/photo-editor/.fingerprint +1 -0
- package/.local/secondary_skills/photo-editor/SKILL.md +605 -0
- package/.local/secondary_skills/podcast-generator/.fingerprint +1 -0
- package/.local/secondary_skills/podcast-generator/SKILL.md +560 -0
- package/.local/secondary_skills/podcast-marketing/.fingerprint +1 -0
- package/.local/secondary_skills/podcast-marketing/SKILL.md +550 -0
- package/.local/secondary_skills/podcast-marketing/audio-processing.md +530 -0
- package/.local/secondary_skills/podcast-marketing/content-atoms.md +253 -0
- package/.local/secondary_skills/podcast-marketing/content-calendar.md +318 -0
- package/.local/secondary_skills/podcast-marketing/content-templates.md +325 -0
- package/.local/secondary_skills/podcast-marketing/quote-cards.md +238 -0
- package/.local/secondary_skills/podcast-marketing/rss-and-batch.md +359 -0
- package/.local/secondary_skills/podcast-marketing/video-clips.md +660 -0
- package/.local/secondary_skills/podcast-marketing/youtube-processing.md +328 -0
- package/.local/secondary_skills/product-manager/.fingerprint +1 -0
- package/.local/secondary_skills/product-manager/SKILL.md +272 -0
- package/.local/secondary_skills/programmatic-seo/.fingerprint +1 -0
- package/.local/secondary_skills/programmatic-seo/SKILL.md +1207 -0
- package/.local/secondary_skills/real-estate-analyzer/.fingerprint +1 -0
- package/.local/secondary_skills/real-estate-analyzer/SKILL.md +786 -0
- package/.local/secondary_skills/recipe-creator/.fingerprint +1 -0
- package/.local/secondary_skills/recipe-creator/SKILL.md +259 -0
- package/.local/secondary_skills/recreate-screenshot/.fingerprint +1 -0
- package/.local/secondary_skills/recreate-screenshot/SKILL.md +215 -0
- package/.local/secondary_skills/replit-migration-guardrails/.fingerprint +1 -0
- package/.local/secondary_skills/replit-migration-guardrails/SKILL.md +55 -0
- package/.local/secondary_skills/replit-migration-guardrails/references/base44.md +47 -0
- package/.local/secondary_skills/replit-migration-guardrails/references/vercel.md +78 -0
- package/.local/secondary_skills/resume-maker/.fingerprint +1 -0
- package/.local/secondary_skills/resume-maker/SKILL.md +790 -0
- package/.local/secondary_skills/seo-auditor/.fingerprint +1 -0
- package/.local/secondary_skills/seo-auditor/SKILL.md +448 -0
- package/.local/secondary_skills/skill-creator/.fingerprint +1 -0
- package/.local/secondary_skills/skill-creator/SKILL.md +214 -0
- package/.local/secondary_skills/skill-finder/.fingerprint +1 -0
- package/.local/secondary_skills/skill-finder/SKILL.md +299 -0
- package/.local/secondary_skills/stock-analyzer/.fingerprint +1 -0
- package/.local/secondary_skills/stock-analyzer/SKILL.md +798 -0
- package/.local/secondary_skills/storyboard/.fingerprint +1 -0
- package/.local/secondary_skills/storyboard/SKILL.md +558 -0
- package/.local/secondary_skills/supplier-research/.fingerprint +1 -0
- package/.local/secondary_skills/supplier-research/SKILL.md +213 -0
- package/.local/secondary_skills/tax-reviewer/.fingerprint +1 -0
- package/.local/secondary_skills/tax-reviewer/SKILL.md +131 -0
- package/.local/secondary_skills/travel-assistant/.fingerprint +1 -0
- package/.local/secondary_skills/travel-assistant/SKILL.md +667 -0
- package/.local/secondary_skills/video-editing/.fingerprint +1 -0
- package/.local/secondary_skills/video-editing/SKILL.md +705 -0
- package/.local/secondary_skills/video-editing/dead-space-and-chunking.md +1081 -0
- package/.local/secondary_skills/video-editing/operations.md +1719 -0
- package/.local/secondary_skills/video-editing/virality-scoring.md +1212 -0
- package/.local/secondary_skills/video-editing/voiceover.md +788 -0
- package/.local/secondary_skills/website-cloning/.fingerprint +1 -0
- package/.local/secondary_skills/website-cloning/SKILL.md +544 -0
- package/.local/secondary_skills/website-cloning/extraction.md +1207 -0
- package/.local/secondary_skills/website-cloning/pitfalls.md +297 -0
- package/.local/skills/LICENSE.txt +21 -0
- package/.local/skills/agent-inbox/.fingerprint +1 -0
- package/.local/skills/agent-inbox/SKILL.md +128 -0
- package/.local/skills/artifacts/.fingerprint +1 -0
- package/.local/skills/artifacts/SKILL.md +21 -0
- package/.local/skills/artifacts/artifacts/automation/artifact.yaml +40 -0
- package/.local/skills/artifacts/artifacts/automation/files/package.json.template +47 -0
- package/.local/skills/artifacts/artifacts/automation/files/scripts/build.sh +6 -0
- package/.local/skills/artifacts/artifacts/automation/files/scripts/inngest.sh +18 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/global.d.ts +1 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/mastra/agents/agent.ts +89 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/mastra/index.ts +212 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/mastra/inngest/client.ts +17 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/mastra/inngest/index.ts +214 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/mastra/storage/index.ts +8 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/mastra/tools/exampleTool.ts +71 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/mastra/workflows/workflow.ts +203 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/triggers/cronTriggers.ts +61 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/triggers/exampleConnectorTrigger.ts +153 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/triggers/slackTriggers.ts +638 -0
- package/.local/skills/artifacts/artifacts/automation/files/src/triggers/telegramTriggers.ts +94 -0
- package/.local/skills/artifacts/artifacts/automation/files/tests/testCronAutomation.ts +86 -0
- package/.local/skills/artifacts/artifacts/automation/files/tests/testWebhookAutomation.ts +118 -0
- package/.local/skills/artifacts/artifacts/automation/files/tsconfig.json +26 -0
- package/.local/skills/artifacts/artifacts/data-visualization/artifact.yaml +48 -0
- package/.local/skills/artifacts/artifacts/expo/OWNERS +2 -0
- package/.local/skills/artifacts/artifacts/expo/artifact.yaml +47 -0
- package/.local/skills/artifacts/artifacts/expo/files/app/(tabs)/_layout.tsx +86 -0
- package/.local/skills/artifacts/artifacts/expo/files/app/(tabs)/index.tsx +28 -0
- package/.local/skills/artifacts/artifacts/expo/files/app/+not-found.tsx +45 -0
- package/.local/skills/artifacts/artifacts/expo/files/app/_layout.tsx +60 -0
- package/.local/skills/artifacts/artifacts/expo/files/app.json.template +38 -0
- package/.local/skills/artifacts/artifacts/expo/files/assets/images/icon.png +0 -0
- package/.local/skills/artifacts/artifacts/expo/files/babel.config.js +6 -0
- package/.local/skills/artifacts/artifacts/expo/files/components/ErrorBoundary.tsx +54 -0
- package/.local/skills/artifacts/artifacts/expo/files/components/ErrorFallback.tsx +278 -0
- package/.local/skills/artifacts/artifacts/expo/files/components/KeyboardAwareScrollViewCompat.tsx +29 -0
- package/.local/skills/artifacts/artifacts/expo/files/constants/colors.ts +59 -0
- package/.local/skills/artifacts/artifacts/expo/files/hooks/useColors.ts +24 -0
- package/.local/skills/artifacts/artifacts/expo/files/metro.config.js +3 -0
- package/.local/skills/artifacts/artifacts/expo/files/package.json.template +58 -0
- package/.local/skills/artifacts/artifacts/expo/files/scripts/build.js +573 -0
- package/.local/skills/artifacts/artifacts/expo/files/server/serve.js +135 -0
- package/.local/skills/artifacts/artifacts/expo/files/server/templates/landing-page.html +460 -0
- package/.local/skills/artifacts/artifacts/expo/files/tsconfig.json +23 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/artifact.yaml +15 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/components.json +21 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/index.html +31 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/mockupPreviewPlugin.ts +199 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/package.json.template +75 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/public/favicon.svg +3 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/.generated/mockup-components.ts +3 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/App.tsx +146 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/accordion.tsx +55 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/alert-dialog.tsx +139 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/alert.tsx +59 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/aspect-ratio.tsx +5 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/avatar.tsx +50 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/badge.tsx +43 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/breadcrumb.tsx +115 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/button-group.tsx +83 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/button.tsx +65 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/calendar.tsx +213 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/card.tsx +76 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/carousel.tsx +260 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/chart.tsx +367 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/checkbox.tsx +28 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/collapsible.tsx +11 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/command.tsx +153 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/context-menu.tsx +198 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/dialog.tsx +120 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/drawer.tsx +116 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/dropdown-menu.tsx +201 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/empty.tsx +104 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/field.tsx +244 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/form.tsx +176 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/hover-card.tsx +27 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/input-group.tsx +168 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/input-otp.tsx +69 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/input.tsx +22 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/item.tsx +193 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/kbd.tsx +28 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/label.tsx +26 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/menubar.tsx +254 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/navigation-menu.tsx +128 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/pagination.tsx +117 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/popover.tsx +31 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/progress.tsx +28 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/radio-group.tsx +42 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/resizable.tsx +45 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/scroll-area.tsx +46 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/select.tsx +159 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/separator.tsx +29 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/sheet.tsx +140 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/sidebar.tsx +727 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/skeleton.tsx +15 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/slider.tsx +26 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/sonner.tsx +31 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/spinner.tsx +16 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/switch.tsx +27 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/table.tsx +120 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/tabs.tsx +53 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/textarea.tsx +22 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/toast.tsx +127 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/toaster.tsx +33 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/toggle-group.tsx +61 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/toggle.tsx +43 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/components/ui/tooltip.tsx +32 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/hooks/use-mobile.tsx +19 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/hooks/use-toast.ts +189 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/index.css +158 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/lib/utils.ts +6 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/src/main.tsx +5 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/tsconfig.json +20 -0
- package/.local/skills/artifacts/artifacts/mockup-sandbox/files/vite.config.ts +72 -0
- package/.local/skills/artifacts/artifacts/react-vite/artifact.yaml +41 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/components.json +20 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/index.html.template +24 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/package.json.template +77 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/public/favicon.svg +3 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/public/robots.txt +2 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/App.tsx +42 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/accordion.tsx +55 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/alert-dialog.tsx +139 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/alert.tsx +59 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/aspect-ratio.tsx +5 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/avatar.tsx +50 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/badge.tsx +43 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/breadcrumb.tsx +115 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/button-group.tsx +83 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/button.tsx +65 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/calendar.tsx +213 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/card.tsx +76 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/carousel.tsx +260 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/chart.tsx +367 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/checkbox.tsx +28 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/collapsible.tsx +11 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/command.tsx +153 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/context-menu.tsx +198 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/dialog.tsx +120 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/drawer.tsx +116 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/dropdown-menu.tsx +201 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/empty.tsx +104 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/field.tsx +244 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/form.tsx +176 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/hover-card.tsx +27 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/input-group.tsx +168 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/input-otp.tsx +69 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/input.tsx +22 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/item.tsx +193 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/kbd.tsx +28 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/label.tsx +26 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/menubar.tsx +254 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/navigation-menu.tsx +128 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/pagination.tsx +117 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/popover.tsx +31 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/progress.tsx +28 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/radio-group.tsx +42 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/resizable.tsx +45 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/scroll-area.tsx +46 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/select.tsx +159 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/separator.tsx +29 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/sheet.tsx +140 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/sidebar.tsx +727 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/skeleton.tsx +15 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/slider.tsx +26 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/sonner.tsx +31 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/spinner.tsx +16 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/switch.tsx +27 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/table.tsx +120 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/tabs.tsx +53 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/textarea.tsx +22 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/toast.tsx +127 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/toaster.tsx +33 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/toggle-group.tsx +61 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/toggle.tsx +43 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/components/ui/tooltip.tsx +32 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/hooks/use-mobile.tsx +19 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/hooks/use-toast.ts +191 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/index.css +393 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/lib/utils.ts +6 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/main.tsx +5 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/src/pages/not-found.tsx +21 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/tsconfig.json +22 -0
- package/.local/skills/artifacts/artifacts/react-vite/files/vite.config.ts +75 -0
- package/.local/skills/artifacts/artifacts/slides/artifact.yaml +33 -0
- package/.local/skills/artifacts/artifacts/slides/files/index.html.template +46 -0
- package/.local/skills/artifacts/artifacts/slides/files/package.json.template +30 -0
- package/.local/skills/artifacts/artifacts/slides/files/public/favicon.svg +3 -0
- package/.local/skills/artifacts/artifacts/slides/files/scripts/validate-slides.ts +193 -0
- package/.local/skills/artifacts/artifacts/slides/files/src/App.tsx +251 -0
- package/.local/skills/artifacts/artifacts/slides/files/src/data/slides-manifest.json +1 -0
- package/.local/skills/artifacts/artifacts/slides/files/src/data/slidesManifestSchema.ts +33 -0
- package/.local/skills/artifacts/artifacts/slides/files/src/index.css +48 -0
- package/.local/skills/artifacts/artifacts/slides/files/src/main.tsx +14 -0
- package/.local/skills/artifacts/artifacts/slides/files/src/slideLoader.ts +51 -0
- package/.local/skills/artifacts/artifacts/slides/files/tsconfig.json +17 -0
- package/.local/skills/artifacts/artifacts/slides/files/vite.config.ts +74 -0
- package/.local/skills/artifacts/artifacts/video-js/artifact.yaml +38 -0
- package/.local/skills/artifacts/artifacts/video-js/files/index.html.template +27 -0
- package/.local/skills/artifacts/artifacts/video-js/files/package.json.template +36 -0
- package/.local/skills/artifacts/artifacts/video-js/files/public/favicon.svg +3 -0
- package/.local/skills/artifacts/artifacts/video-js/files/scripts/validate-recording.sh +38 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/App.tsx +5 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/components/video/ReplitLoadingScene.tsx +105 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/components/video/VideoTemplate.tsx +30 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/components/video/index.ts +1 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/hooks/use-mobile.tsx +19 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/index.css +50 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/lib/utils.ts +6 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/lib/video/animations.ts +239 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/lib/video/hooks.ts +104 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/lib/video/index.ts +19 -0
- package/.local/skills/artifacts/artifacts/video-js/files/src/main.tsx +5 -0
- package/.local/skills/artifacts/artifacts/video-js/files/tsconfig.json +16 -0
- package/.local/skills/artifacts/artifacts/video-js/files/vite.config.ts +79 -0
- package/.local/skills/artifacts/bootstrap-legacy.js +115 -0
- package/.local/skills/artifacts/bootstrap.js +118 -0
- package/.local/skills/artifacts/references/multi-artifact-creation.md +94 -0
- package/.local/skills/canvas/.fingerprint +1 -0
- package/.local/skills/canvas/SKILL.md +534 -0
- package/.local/skills/canvas/__init__.py +1 -0
- package/.local/skills/code_review/.fingerprint +1 -0
- package/.local/skills/code_review/SKILL.md +82 -0
- package/.local/skills/database/.fingerprint +1 -0
- package/.local/skills/database/SKILL.md +351 -0
- package/.local/skills/database/references/database-migrations-on-publish.md +57 -0
- package/.local/skills/delegation/.fingerprint +1 -0
- package/.local/skills/delegation/SKILL.md +200 -0
- package/.local/skills/deployment/.fingerprint +1 -0
- package/.local/skills/deployment/SKILL.md +261 -0
- package/.local/skills/deployment/references/deployment-failure-debugging.md +243 -0
- package/.local/skills/deployment/references/deployment-logs.md +147 -0
- package/.local/skills/design/.fingerprint +1 -0
- package/.local/skills/design/SKILL.md +235 -0
- package/.local/skills/design-exploration/.fingerprint +1 -0
- package/.local/skills/design-exploration/SKILL.md +95 -0
- package/.local/skills/diagnostics/.fingerprint +1 -0
- package/.local/skills/diagnostics/SKILL.md +122 -0
- package/.local/skills/environment-secrets/.fingerprint +1 -0
- package/.local/skills/environment-secrets/SKILL.md +201 -0
- package/.local/skills/expo/.fingerprint +1 -0
- package/.local/skills/expo/OWNERS +2 -0
- package/.local/skills/expo/SKILL.md +298 -0
- package/.local/skills/expo/references/design_and_aesthetics.md +141 -0
- package/.local/skills/expo/references/device_features_and_permissions.md +48 -0
- package/.local/skills/expo/references/first_build.md +114 -0
- package/.local/skills/expo/references/react_context.md +54 -0
- package/.local/skills/external_apis/.fingerprint +1 -0
- package/.local/skills/external_apis/SKILL.md +25 -0
- package/.local/skills/external_apis/references/brave.md +116 -0
- package/.local/skills/external_apis/references/elevenlabs.md +44 -0
- package/.local/skills/external_apis/references/exa.md +34 -0
- package/.local/skills/external_apis/references/firecrawl.md +37 -0
- package/.local/skills/external_apis/references/nano_banana.md +33 -0
- package/.local/skills/follow-up-tasks/.fingerprint +1 -0
- package/.local/skills/follow-up-tasks/SKILL.md +80 -0
- package/.local/skills/image-search/.fingerprint +1 -0
- package/.local/skills/image-search/SKILL.md +150 -0
- package/.local/skills/integrations/.fingerprint +1 -0
- package/.local/skills/integrations/SKILL.md +205 -0
- package/.local/skills/media-generation/.fingerprint +1 -0
- package/.local/skills/media-generation/SKILL.md +170 -0
- package/.local/skills/media-generation/audio_generation.md +138 -0
- package/.local/skills/media-generation/video_generation.md +82 -0
- package/.local/skills/mockup-extract/.fingerprint +1 -0
- package/.local/skills/mockup-extract/SKILL.md +123 -0
- package/.local/skills/mockup-graduate/.fingerprint +1 -0
- package/.local/skills/mockup-graduate/SKILL.md +97 -0
- package/.local/skills/mockup-sandbox/.fingerprint +1 -0
- package/.local/skills/mockup-sandbox/SKILL.md +750 -0
- package/.local/skills/package-management/.fingerprint +1 -0
- package/.local/skills/package-management/SKILL.md +264 -0
- package/.local/skills/post_merge_setup/.fingerprint +1 -0
- package/.local/skills/post_merge_setup/SKILL.md +102 -0
- package/.local/skills/project_tasks/.fingerprint +1 -0
- package/.local/skills/project_tasks/SKILL.md +361 -0
- package/.local/skills/query-integration-data/.fingerprint +1 -0
- package/.local/skills/query-integration-data/SKILL.md +385 -0
- package/.local/skills/react-vite/.fingerprint +1 -0
- package/.local/skills/react-vite/SKILL.md +110 -0
- package/.local/skills/react-vite/references/frontend_general_rules.md +66 -0
- package/.local/skills/react-vite/references/seo.md +158 -0
- package/.local/skills/remove-image-background/.fingerprint +1 -0
- package/.local/skills/remove-image-background/SKILL.md +55 -0
- package/.local/skills/repl_setup/.fingerprint +1 -0
- package/.local/skills/repl_setup/SKILL.md +90 -0
- package/.local/skills/repl_setup/references/angular.md +103 -0
- package/.local/skills/repl_setup/references/react_vite.md +121 -0
- package/.local/skills/repl_setup/references/vue.md +102 -0
- package/.local/skills/replit-docs/.fingerprint +1 -0
- package/.local/skills/replit-docs/SKILL.md +81 -0
- package/.local/skills/revenuecat/.fingerprint +1 -0
- package/.local/skills/revenuecat/SKILL.md +133 -0
- package/.local/skills/revenuecat/references/initial-setup.md +566 -0
- package/.local/skills/revenuecat/references/replit-revenuecat-sdk-docs.md +279 -0
- package/.local/skills/revenuecat/references/subsequent-management.md +63 -0
- package/.local/skills/security_scan/.fingerprint +1 -0
- package/.local/skills/security_scan/SKILL.md +51 -0
- package/.local/skills/skill-authoring/.fingerprint +1 -0
- package/.local/skills/skill-authoring/SKILL.md +99 -0
- package/.local/skills/slides/.fingerprint +1 -0
- package/.local/skills/slides/SKILL.md +523 -0
- package/.local/skills/slides/references/brand_research.md +86 -0
- package/.local/skills/slides/references/export_failures.md +36 -0
- package/.local/skills/slides/references/exporting.md +49 -0
- package/.local/skills/slides/references/importing.md +40 -0
- package/.local/skills/slides/references/visual_qa.md +121 -0
- package/.local/skills/slides/templates/90s-board-deck.md +285 -0
- package/.local/skills/slides/templates/academic-lecture.md +437 -0
- package/.local/skills/slides/templates/adventure-outdoor.md +845 -0
- package/.local/skills/slides/templates/analytics-dashboard.md +407 -0
- package/.local/skills/slides/templates/annual-report-cover.md +592 -0
- package/.local/skills/slides/templates/apple-minimal.md +570 -0
- package/.local/skills/slides/templates/architecture-studio.md +339 -0
- package/.local/skills/slides/templates/arctic-expedition.md +582 -0
- package/.local/skills/slides/templates/arctic-minimal.md +364 -0
- package/.local/skills/slides/templates/art-deco.md +308 -0
- package/.local/skills/slides/templates/artisan-ceramics.md +659 -0
- package/.local/skills/slides/templates/artisan-food.md +709 -0
- package/.local/skills/slides/templates/artisanal-chalkboard.md +623 -0
- package/.local/skills/slides/templates/astronomy-log.md +562 -0
- package/.local/skills/slides/templates/aurora-expedition.md +754 -0
- package/.local/skills/slides/templates/automotive-electric.md +339 -0
- package/.local/skills/slides/templates/bauhaus-avant-garde.md +443 -0
- package/.local/skills/slides/templates/bioluminescent-sea.md +814 -0
- package/.local/skills/slides/templates/biophilic-urban.md +565 -0
- package/.local/skills/slides/templates/blackboard-chalk.md +517 -0
- package/.local/skills/slides/templates/blueprint.md +478 -0
- package/.local/skills/slides/templates/botanical-index.md +822 -0
- package/.local/skills/slides/templates/botanical-wellness.md +611 -0
- package/.local/skills/slides/templates/brand-book-page.md +466 -0
- package/.local/skills/slides/templates/brutalist-concrete.md +362 -0
- package/.local/skills/slides/templates/brutalist-studio.md +325 -0
- package/.local/skills/slides/templates/brutalist-web-punk.md +591 -0
- package/.local/skills/slides/templates/celestial-observatory.md +453 -0
- package/.local/skills/slides/templates/ceramics-artisan.md +740 -0
- package/.local/skills/slides/templates/cinema-verite.md +415 -0
- package/.local/skills/slides/templates/claymorphism.md +737 -0
- package/.local/skills/slides/templates/collage-zine.md +357 -0
- package/.local/skills/slides/templates/copper-sage.md +325 -0
- package/.local/skills/slides/templates/coral-reef.md +508 -0
- package/.local/skills/slides/templates/corporate-grid.md +331 -0
- package/.local/skills/slides/templates/corporate-memphis-flat.md +938 -0
- package/.local/skills/slides/templates/cosmos-explorer.md +998 -0
- package/.local/skills/slides/templates/cpg-coffee.md +850 -0
- package/.local/skills/slides/templates/craft-coffee-roast.md +693 -0
- package/.local/skills/slides/templates/creative-agency.md +244 -0
- package/.local/skills/slides/templates/creative-director.md +875 -0
- package/.local/skills/slides/templates/culinary-brand.md +698 -0
- package/.local/skills/slides/templates/de-stijl-construct.md +320 -0
- package/.local/skills/slides/templates/desert-dunes-photo.md +483 -0
- package/.local/skills/slides/templates/desert-mirror.md +577 -0
- package/.local/skills/slides/templates/desert-modernism.md +439 -0
- package/.local/skills/slides/templates/developer-api-docs.md +654 -0
- package/.local/skills/slides/templates/editorial-magazine.md +694 -0
- package/.local/skills/slides/templates/engineering-blueprint.md +730 -0
- package/.local/skills/slides/templates/executive-mono.md +363 -0
- package/.local/skills/slides/templates/expedition-peak.md +298 -0
- package/.local/skills/slides/templates/fashion-campaign.md +681 -0
- package/.local/skills/slides/templates/fashion-editorial.md +497 -0
- package/.local/skills/slides/templates/figma-geometric.md +420 -0
- package/.local/skills/slides/templates/film-noir.md +857 -0
- package/.local/skills/slides/templates/fitness-athletics.md +663 -0
- package/.local/skills/slides/templates/flat-vector.md +912 -0
- package/.local/skills/slides/templates/fluid-luxe.md +665 -0
- package/.local/skills/slides/templates/furniture-brand.md +505 -0
- package/.local/skills/slides/templates/gallery-modern.md +436 -0
- package/.local/skills/slides/templates/gaming-esports.md +410 -0
- package/.local/skills/slides/templates/geodesic-future.md +368 -0
- package/.local/skills/slides/templates/glass-artisan.md +666 -0
- package/.local/skills/slides/templates/glassmorphism.md +320 -0
- package/.local/skills/slides/templates/greenhouse-botanical.md +662 -0
- package/.local/skills/slides/templates/healthcare-clarity.md +468 -0
- package/.local/skills/slides/templates/holographic-drop.md +663 -0
- package/.local/skills/slides/templates/hospitality-resort.md +608 -0
- package/.local/skills/slides/templates/hypercar-launch.md +557 -0
- package/.local/skills/slides/templates/infographic-title.md +306 -0
- package/.local/skills/slides/templates/ink-wash.md +244 -0
- package/.local/skills/slides/templates/investor-memo.md +509 -0
- package/.local/skills/slides/templates/isometric-data.md +703 -0
- package/.local/skills/slides/templates/ivory-boardroom.md +439 -0
- package/.local/skills/slides/templates/japanese-minimal.md +308 -0
- package/.local/skills/slides/templates/jazz-blue-note.md +478 -0
- package/.local/skills/slides/templates/kinetic-type.md +206 -0
- package/.local/skills/slides/templates/lagoon-luxury.md +320 -0
- package/.local/skills/slides/templates/lavender-pastoral.md +577 -0
- package/.local/skills/slides/templates/linear-precise.md +460 -0
- package/.local/skills/slides/templates/lineart-sketch.md +930 -0
- package/.local/skills/slides/templates/lost-temple.md +689 -0
- package/.local/skills/slides/templates/luxury-fashion.md +269 -0
- package/.local/skills/slides/templates/luxury-watch.md +678 -0
- package/.local/skills/slides/templates/marble-elegance.md +673 -0
- package/.local/skills/slides/templates/mediterranean-travel.md +811 -0
- package/.local/skills/slides/templates/memphis-design.md +426 -0
- package/.local/skills/slides/templates/midnight-jazz.md +260 -0
- package/.local/skills/slides/templates/minimalist-poster.md +538 -0
- package/.local/skills/slides/templates/molten-craft.md +743 -0
- package/.local/skills/slides/templates/moroccan-tile.md +738 -0
- package/.local/skills/slides/templates/motorsport.md +782 -0
- package/.local/skills/slides/templates/mountain-drift.md +311 -0
- package/.local/skills/slides/templates/music-label.md +641 -0
- package/.local/skills/slides/templates/neo-tokyo.md +637 -0
- package/.local/skills/slides/templates/neobrutalism.md +334 -0
- package/.local/skills/slides/templates/newspaper-broadsheet.md +687 -0
- package/.local/skills/slides/templates/noir-fragrance.md +672 -0
- package/.local/skills/slides/templates/non-profit-impact.md +320 -0
- package/.local/skills/slides/templates/ocean-breeze.md +398 -0
- package/.local/skills/slides/templates/origami-couture.md +636 -0
- package/.local/skills/slides/templates/origami-paper.md +308 -0
- package/.local/skills/slides/templates/pastel-playground.md +1114 -0
- package/.local/skills/slides/templates/perfume-noir.md +646 -0
- package/.local/skills/slides/templates/prairie-storm.md +625 -0
- package/.local/skills/slides/templates/private-equity-dark.md +506 -0
- package/.local/skills/slides/templates/renaissance-florals.md +225 -0
- package/.local/skills/slides/templates/retro-print.md +880 -0
- package/.local/skills/slides/templates/retro-vinyl-sleeve.md +229 -0
- package/.local/skills/slides/templates/riso-zine.md +1094 -0
- package/.local/skills/slides/templates/risograph.md +1151 -0
- package/.local/skills/slides/templates/saas-product-launch.md +972 -0
- package/.local/skills/slides/templates/scandinavian.md +372 -0
- package/.local/skills/slides/templates/skater-culture.md +583 -0
- package/.local/skills/slides/templates/slate-modern.md +469 -0
- package/.local/skills/slides/templates/sneaker-drop.md +1006 -0
- package/.local/skills/slides/templates/social-campaign.md +321 -0
- package/.local/skills/slides/templates/stained-glass.md +574 -0
- package/.local/skills/slides/templates/strategy-one-pager.md +508 -0
- package/.local/skills/slides/templates/street-drop.md +677 -0
- package/.local/skills/slides/templates/street-mural.md +588 -0
- package/.local/skills/slides/templates/studio-noir.md +466 -0
- package/.local/skills/slides/templates/sustainability-esg.md +686 -0
- package/.local/skills/slides/templates/swiss-archive.md +648 -0
- package/.local/skills/slides/templates/swiss-typographic.md +364 -0
- package/.local/skills/slides/templates/tea-ceremony.md +456 -0
- package/.local/skills/slides/templates/tech-earbuds.md +870 -0
- package/.local/skills/slides/templates/terracotta-studio.md +235 -0
- package/.local/skills/slides/templates/thesis-defense.md +390 -0
- package/.local/skills/slides/templates/travel-aerial.md +648 -0
- package/.local/skills/slides/templates/treasury-policy.md +475 -0
- package/.local/skills/slides/templates/tropical-lush.md +332 -0
- package/.local/skills/slides/templates/underwater-dream.md +627 -0
- package/.local/skills/slides/templates/urban-golden.md +342 -0
- package/.local/skills/slides/templates/vintage-apothecary.md +552 -0
- package/.local/skills/slides/templates/vintage-ticket-stub.md +637 -0
- package/.local/skills/slides/templates/vinyl-crate.md +550 -0
- package/.local/skills/slides/templates/vision-editorial.md +612 -0
- package/.local/skills/slides/templates/volcanic-edge.md +347 -0
- package/.local/skills/slides/templates/watercolor-city.md +827 -0
- package/.local/skills/slides/templates/wine-spirits.md +203 -0
- package/.local/skills/slides/templates/wireframe-prototype.md +718 -0
- package/.local/skills/slides/templates/workspace-design.md +782 -0
- package/.local/skills/slides/templates/workspace-modern.md +406 -0
- package/.local/skills/slides/templates/zen-meditation.md +284 -0
- package/.local/skills/slides/templates/zen-void.md +244 -0
- package/.local/skills/stripe/.fingerprint +1 -0
- package/.local/skills/stripe/SKILL.md +455 -0
- package/.local/skills/stripe/references/code-templates.md +588 -0
- package/.local/skills/threat_modeling/.fingerprint +1 -0
- package/.local/skills/threat_modeling/SKILL.md +240 -0
- package/.local/skills/validation/.fingerprint +1 -0
- package/.local/skills/validation/SKILL.md +237 -0
- package/.local/skills/video-js/.fingerprint +1 -0
- package/.local/skills/video-js/SKILL.md +793 -0
- package/.local/skills/video-js/references/audio.md +237 -0
- package/.local/skills/video-js/references/finalize_playback.md +16 -0
- package/.local/skills/video-js/references/first_build.md +87 -0
- package/.local/skills/video-js/references/scene_selectors.md +428 -0
- package/.local/skills/web-search/.fingerprint +1 -0
- package/.local/skills/web-search/SKILL.md +110 -0
- package/.local/skills/whop/.fingerprint +1 -0
- package/.local/skills/whop/SKILL.md +104 -0
- package/.local/skills/whop/references/code-templates.md +66 -0
- package/.local/skills/whop/references/whop-api.mjs +22 -0
- package/.local/skills/whop/references/whop-mcp.mjs +40 -0
- package/.local/skills/whop/references/whopClient.ts +54 -0
- package/.local/skills/workflows/.fingerprint +1 -0
- package/.local/skills/workflows/SKILL.md +245 -0
- package/.local/state/replit/agent/.agent_state_037313043e76b5c652f276153ea014a68570e145.bin +0 -0
- package/.local/state/replit/agent/.agent_state_0f5361c2a53ab324b2a941a797f6494891be084c.bin +0 -0
- package/.local/state/replit/agent/.agent_state_4272443827dc90eac8c5b1963a34ee86da70bb99.bin +0 -0
- package/.local/state/replit/agent/.agent_state_4f14655950cbd611b228b4f0e1f664b66a56af24.bin +0 -0
- package/.local/state/replit/agent/.agent_state_ce28955a30856aa3d095b3568c322c8ec098993f.bin +0 -0
- package/.local/state/replit/agent/.agent_state_ec5347d04ebfbf6cf850fe04e15590d423e96d1d.bin +0 -0
- package/.local/state/replit/agent/.agent_state_f68f8c104d815ccc387290f0fba2c87c818d29f1.bin +0 -0
- package/.local/state/replit/agent/.agent_state_f87c1803a179510408c57c7a380c26f5c2197a30.bin +0 -0
- package/.local/state/replit/agent/.agent_state_main.bin +0 -0
- package/.local/state/replit/agent/.latest.json +1 -0
- package/.local/state/replit/agent/repl_state.bin +0 -0
- package/.local/state/scribe/scribe.db +0 -0
- package/.local/state/scribe/scribe.db-shm +0 -0
- package/.local/state/scribe/scribe.db-wal +0 -0
- package/.local/state/workflow-logs/2tfQP52ibxJTy4lpZ7_JX/start_application.shell.exec.0 +27 -0
- package/.local/state/workflow-logs/6QjtmQThaHrR_QHf4v8HA/validation.external.managed.0 +31 -0
- package/.local/state/workflow-logs/6QjtmQThaHrR_QHf4v8HA/validation.json +1 -0
- package/.local/state/workflow-logs/85n-z_SHy4JSGaUeJIcxy/start_application.shell.exec.0 +18 -0
- package/.local/state/workflow-logs/GIL2Ql5124lrEqGrfRO4k/start_application.shell.exec.0 +222 -0
- package/.local/state/workflow-logs/LiH2MjG_9FwFummNHhDtO/validation.external.managed.0 +45 -0
- package/.local/state/workflow-logs/LiH2MjG_9FwFummNHhDtO/validation.json +1 -0
- package/.local/state/workflow-logs/OKp1t-fEO5U_zQi1SKOQ-/start_application.shell.exec.0 +10 -0
- package/.local/state/workflow-logs/Tpp7d6Hu6CO1NKGo_eAi7/validation.external.managed.0 +43 -0
- package/.local/state/workflow-logs/Tpp7d6Hu6CO1NKGo_eAi7/validation.json +1 -0
- package/.local/state/workflow-logs/UDYycRqPV-N4B7whZP-yX/start_application.shell.exec.0 +252 -0
- package/.local/state/workflow-logs/V8Anmvz-HuvAztflZ8yCo/start_application.shell.exec.0 +87 -0
- package/.local/state/workflow-logs/a5fMnjr9tCwoaFY93pYuN/start_application.shell.exec.0 +2519 -0
- package/.local/state/workflow-logs/ggFzYcdHfIlW0owP2pb0U/start_application.shell.exec.0 +28 -0
- package/.local/state/workflow-logs/hIHNKfUtPX3jZs8qXw_Vt/validation.external.managed.0 +41 -0
- package/.local/state/workflow-logs/hIHNKfUtPX3jZs8qXw_Vt/validation.json +1 -0
- package/.local/state/workflow-logs/nbLvtuGJXB0wPmnruB3BE/start_application.shell.exec.0 +199 -0
- package/.local/state/workflow-logs/uDhN6S0ypUEh0MphXaFGY/start_application.shell.exec.0 +73 -0
- package/.local/state/workflow-logs/xZqU5CdTivcY6KEDEcVmD/start_application.shell.exec.0 +17 -0
- package/.local/tasks/breadcrumb-component.md +89 -0
- package/.local/tasks/calendar-component.md +93 -0
- package/.local/tasks/invoicing-design-system-app.md +39 -0
- package/.local/tasks/task-1.md +42 -0
- package/.local/tasks/task-7.md +92 -0
- package/.local/tasks/task-8.md +96 -0
- package/.replit +34 -0
- package/.upm/store.json +1 -0
- package/README.md +121 -0
- package/app/dashboard/page.tsx +10 -0
- package/app/design-system/page.tsx +802 -0
- package/app/invoices/page.tsx +10 -0
- package/app/layout.tsx +28 -0
- package/app/login/page.tsx +5 -0
- package/app/page.tsx +93 -0
- package/app/signup/page.tsx +5 -0
- package/attached_assets/Colors_1779781016394.png +0 -0
- package/attached_assets/Navy_1779781016404.png +0 -0
- package/attached_assets/Orange_1779781016405.png +0 -0
- package/attached_assets/Screenshot_2026-05-26_at_1.14.29_PM_1779781472515.png +0 -0
- package/attached_assets/Screenshot_2026-05-26_at_11.28.20_AM_1779775171071.png +0 -0
- package/attached_assets/Screenshot_2026-05-26_at_2.04.42_PM_1779784485318.png +0 -0
- package/attached_assets/Typography_1779781016406.png +0 -0
- package/design-system/components/avatar.tsx +46 -0
- package/design-system/components/badge.tsx +34 -0
- package/design-system/components/breadcrumb.tsx +149 -0
- package/design-system/components/button.tsx +57 -0
- package/design-system/components/calendar.tsx +77 -0
- package/design-system/components/card.tsx +62 -0
- package/design-system/components/checkbox.tsx +27 -0
- package/design-system/components/date-picker.tsx +153 -0
- package/design-system/components/dialog.tsx +106 -0
- package/design-system/components/dropdown-menu.tsx +88 -0
- package/design-system/components/form-field.tsx +78 -0
- package/design-system/components/input.tsx +25 -0
- package/design-system/components/label.tsx +25 -0
- package/design-system/components/popover.tsx +30 -0
- package/design-system/components/radio-group.tsx +35 -0
- package/design-system/components/select.tsx +84 -0
- package/design-system/components/separator.tsx +24 -0
- package/design-system/components/switch.tsx +28 -0
- package/design-system/components/table.tsx +80 -0
- package/design-system/components/tabs.tsx +54 -0
- package/design-system/components/textarea.tsx +25 -0
- package/design-system/components/toast.tsx +118 -0
- package/design-system/components/toaster.tsx +38 -0
- package/design-system/components/tooltip.tsx +27 -0
- package/design-system/hooks/index.ts +2 -0
- package/design-system/hooks/use-media-query.ts +27 -0
- package/design-system/hooks/use-toast.ts +91 -0
- package/design-system/index.ts +36 -0
- package/design-system/lib/cn.ts +6 -0
- package/design-system/styles.css +142 -0
- package/design-system/tokens/tokens.css +149 -0
- package/design-system/tokens/tokens.ts +190 -0
- package/next.config.mjs +6 -0
- package/package.json +46 -0
- package/postcss.config.mjs +6 -0
- package/screens/_shared/app-shell.tsx +145 -0
- package/screens/auth/auth-screen.tsx +156 -0
- package/screens/dashboard/dashboard-screen.tsx +207 -0
- package/screens/index.ts +17 -0
- package/screens/invoices/invoices-screen.tsx +317 -0
- package/tailwind.config.ts +110 -0
- package/tsconfig.json +26 -0
|
@@ -0,0 +1,788 @@
|
|
|
1
|
+
# Voiceover with ElevenLabs
|
|
2
|
+
|
|
3
|
+
Complete implementation guide for adding AI-generated voiceovers to videos using ElevenLabs TTS and FFmpeg audio mixing.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
1. [Setup](#setup)
|
|
8
|
+
2. [Generating Voiceover Audio](#generating-voiceover-audio)
|
|
9
|
+
|
|
10
|
+
3. [Voice Selection](#voice-selection)
|
|
11
|
+
4. [Mixing Audio into Video](#mixing-audio-into-video)
|
|
12
|
+
|
|
13
|
+
5. [Timed Voiceover Segments](#timed-voiceover-segments)
|
|
14
|
+
6. [Complete Pipeline Example](#complete-pipeline-example)
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Setup
|
|
19
|
+
|
|
20
|
+
### 1. Connect ElevenLabs via Replit Integration
|
|
21
|
+
|
|
22
|
+
ElevenLabs is available as a Replit connector. Set it up through the integration system:
|
|
23
|
+
|
|
24
|
+
```javascript
|
|
25
|
+
|
|
26
|
+
// In the code execution sandbox:
|
|
27
|
+
|
|
28
|
+
const results = await searchIntegrations("elevenlabs");
|
|
29
|
+
|
|
30
|
+
console.log(results);
|
|
31
|
+
|
|
32
|
+
// Propose the connector to the user (they'll complete OAuth)
|
|
33
|
+
|
|
34
|
+
await proposeIntegration("connector:ccfg_elevenlabs_...");
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
After the user authorizes, on the next loop:
|
|
39
|
+
|
|
40
|
+
```javascript
|
|
41
|
+
|
|
42
|
+
// Add the connection to the project
|
|
43
|
+
|
|
44
|
+
const addResult = await addIntegration("connection:conn_elevenlabs_...");
|
|
45
|
+
|
|
46
|
+
console.log(addResult);
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### 2. Access Credentials
|
|
51
|
+
|
|
52
|
+
Use `listConnections` in the code execution sandbox to get the API key:
|
|
53
|
+
|
|
54
|
+
```javascript
|
|
55
|
+
|
|
56
|
+
const conns = await listConnections('elevenlabs');
|
|
57
|
+
|
|
58
|
+
if (conns.length > 0) {
|
|
59
|
+
|
|
60
|
+
const apiKey = conns[0].settings.api_key;
|
|
61
|
+
|
|
62
|
+
// Use this key for ElevenLabs API calls
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### 3. Install Dependencies
|
|
69
|
+
|
|
70
|
+
No special SDK is needed — ElevenLabs has a straightforward REST API. Use `fetch` or install the official SDK:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
|
|
74
|
+
pnpm --filter @workspace/scripts add elevenlabs
|
|
75
|
+
|
|
76
|
+
# or for the API server:
|
|
77
|
+
|
|
78
|
+
pnpm --filter @workspace/api-server add elevenlabs
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Generating Voiceover Audio
|
|
85
|
+
|
|
86
|
+
### Using the ElevenLabs REST API directly
|
|
87
|
+
|
|
88
|
+
```typescript
|
|
89
|
+
|
|
90
|
+
import * as fs from 'fs';
|
|
91
|
+
|
|
92
|
+
async function generateVoiceover(
|
|
93
|
+
|
|
94
|
+
text: string,
|
|
95
|
+
|
|
96
|
+
outputPath: string,
|
|
97
|
+
|
|
98
|
+
apiKey: string,
|
|
99
|
+
|
|
100
|
+
voiceId = 'JBFqnCBsd6RMkjVDRZzb', // Default: "George" - warm, narrative voice
|
|
101
|
+
|
|
102
|
+
options: {
|
|
103
|
+
|
|
104
|
+
stability?: number;
|
|
105
|
+
|
|
106
|
+
similarityBoost?: number;
|
|
107
|
+
|
|
108
|
+
style?: number;
|
|
109
|
+
|
|
110
|
+
modelId?: string;
|
|
111
|
+
|
|
112
|
+
} = {}
|
|
113
|
+
|
|
114
|
+
): Promise<string> {
|
|
115
|
+
|
|
116
|
+
const {
|
|
117
|
+
|
|
118
|
+
stability = 0.5,
|
|
119
|
+
|
|
120
|
+
similarityBoost = 0.75,
|
|
121
|
+
|
|
122
|
+
style = 0.0,
|
|
123
|
+
|
|
124
|
+
modelId = 'eleven_multilingual_v2'
|
|
125
|
+
|
|
126
|
+
} = options;
|
|
127
|
+
|
|
128
|
+
const response = await fetch(
|
|
129
|
+
|
|
130
|
+
`https://api.elevenlabs.io/v1/text-to-speech/${voiceId}`,
|
|
131
|
+
|
|
132
|
+
{
|
|
133
|
+
|
|
134
|
+
method: 'POST',
|
|
135
|
+
|
|
136
|
+
headers: {
|
|
137
|
+
|
|
138
|
+
'Content-Type': 'application/json',
|
|
139
|
+
|
|
140
|
+
'xi-api-key': apiKey
|
|
141
|
+
|
|
142
|
+
},
|
|
143
|
+
|
|
144
|
+
body: JSON.stringify({
|
|
145
|
+
|
|
146
|
+
text,
|
|
147
|
+
|
|
148
|
+
model_id: modelId,
|
|
149
|
+
|
|
150
|
+
voice_settings: {
|
|
151
|
+
|
|
152
|
+
stability,
|
|
153
|
+
|
|
154
|
+
similarity_boost: similarityBoost,
|
|
155
|
+
|
|
156
|
+
style,
|
|
157
|
+
|
|
158
|
+
use_speaker_boost: true
|
|
159
|
+
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
})
|
|
163
|
+
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
);
|
|
167
|
+
|
|
168
|
+
if (!response.ok) {
|
|
169
|
+
|
|
170
|
+
const error = await response.text();
|
|
171
|
+
|
|
172
|
+
throw new Error(`ElevenLabs TTS failed: ${response.status} ${error}`);
|
|
173
|
+
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
const buffer = Buffer.from(await response.arrayBuffer());
|
|
177
|
+
|
|
178
|
+
await fs.promises.writeFile(outputPath, buffer);
|
|
179
|
+
|
|
180
|
+
return outputPath;
|
|
181
|
+
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### Using the ElevenLabs SDK
|
|
187
|
+
|
|
188
|
+
```typescript
|
|
189
|
+
|
|
190
|
+
import { ElevenLabsClient } from 'elevenlabs';
|
|
191
|
+
|
|
192
|
+
import * as fs from 'fs';
|
|
193
|
+
|
|
194
|
+
async function generateVoiceoverSDK(
|
|
195
|
+
|
|
196
|
+
text: string,
|
|
197
|
+
|
|
198
|
+
outputPath: string,
|
|
199
|
+
|
|
200
|
+
apiKey: string,
|
|
201
|
+
|
|
202
|
+
voiceId = 'JBFqnCBsd6RMkjVDRZzb'
|
|
203
|
+
|
|
204
|
+
): Promise<string> {
|
|
205
|
+
|
|
206
|
+
const client = new ElevenLabsClient({ apiKey });
|
|
207
|
+
|
|
208
|
+
const audioStream = await client.textToSpeech.convert(voiceId, {
|
|
209
|
+
|
|
210
|
+
text,
|
|
211
|
+
|
|
212
|
+
model_id: 'eleven_multilingual_v2',
|
|
213
|
+
|
|
214
|
+
voice_settings: {
|
|
215
|
+
|
|
216
|
+
stability: 0.5,
|
|
217
|
+
|
|
218
|
+
similarity_boost: 0.75,
|
|
219
|
+
|
|
220
|
+
style: 0.0
|
|
221
|
+
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
});
|
|
225
|
+
|
|
226
|
+
const chunks: Buffer[] = [];
|
|
227
|
+
|
|
228
|
+
for await (const chunk of audioStream) {
|
|
229
|
+
|
|
230
|
+
chunks.push(Buffer.from(chunk));
|
|
231
|
+
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
await fs.promises.writeFile(outputPath, Buffer.concat(chunks));
|
|
235
|
+
|
|
236
|
+
return outputPath;
|
|
237
|
+
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## Voice Selection
|
|
245
|
+
|
|
246
|
+
### Listing Available Voices
|
|
247
|
+
|
|
248
|
+
```typescript
|
|
249
|
+
|
|
250
|
+
async function listVoices(apiKey: string) {
|
|
251
|
+
|
|
252
|
+
const response = await fetch('https://api.elevenlabs.io/v1/voices', {
|
|
253
|
+
|
|
254
|
+
headers: { 'xi-api-key': apiKey }
|
|
255
|
+
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
const data = await response.json();
|
|
259
|
+
|
|
260
|
+
return data.voices.map((v: any) => ({
|
|
261
|
+
|
|
262
|
+
id: v.voice_id,
|
|
263
|
+
|
|
264
|
+
name: v.name,
|
|
265
|
+
|
|
266
|
+
category: v.category,
|
|
267
|
+
|
|
268
|
+
labels: v.labels,
|
|
269
|
+
|
|
270
|
+
previewUrl: v.preview_url
|
|
271
|
+
|
|
272
|
+
}));
|
|
273
|
+
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
### Popular Pre-made Voices
|
|
279
|
+
|
|
280
|
+
These are commonly available ElevenLabs voices good for voiceovers:
|
|
281
|
+
|
|
282
|
+
| Voice | ID | Best For |
|
|
283
|
+
|
|
284
|
+
|-------|-----|----------|
|
|
285
|
+
|
|
286
|
+
| George | `JBFqnCBsd6RMkjVDRZzb` | Warm narration, documentaries |
|
|
287
|
+
|
|
288
|
+
| Rachel | `21m00Tcm4TlvDq8ikWAM` | Professional, clear narration |
|
|
289
|
+
|
|
290
|
+
| Adam | `pNInz6obpgDQGcFmaJgB` | Deep, authoritative narration |
|
|
291
|
+
|
|
292
|
+
| Bella | `EXAVITQu4vr4xnSDxMaL` | Friendly, conversational |
|
|
293
|
+
|
|
294
|
+
| Antoni | `ErXwobaYiN019PkySvjV` | Calm, measured narration |
|
|
295
|
+
|
|
296
|
+
| Domi | `AZnzlk1XvdvUeBnXmlld` | Energetic, youthful |
|
|
297
|
+
|
|
298
|
+
When the user doesn't specify a voice, ask what tone they want (professional, warm, energetic, etc.) and suggest an appropriate voice.
|
|
299
|
+
|
|
300
|
+
### Voice Settings Explained
|
|
301
|
+
|
|
302
|
+
- **Stability** (0.0–1.0): Higher = more consistent/monotone, Lower = more expressive/varied. Default 0.5 is balanced. Use 0.7+ for narration, 0.3 for dramatic reads.
|
|
303
|
+
- **Similarity Boost** (0.0–1.0): How closely to match the original voice. 0.75 is a good default. Higher values may introduce artifacts.
|
|
304
|
+
|
|
305
|
+
- **Style** (0.0–1.0): Exaggeration of the voice's style. 0.0 is neutral. Higher values amplify the voice's character but can sound unnatural. Keep at 0.0 for voiceovers.
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
309
|
+
## Mixing Audio into Video
|
|
310
|
+
|
|
311
|
+
### Mode 1: Replace Audio Entirely
|
|
312
|
+
|
|
313
|
+
Remove existing audio and use only the voiceover:
|
|
314
|
+
|
|
315
|
+
```bash
|
|
316
|
+
|
|
317
|
+
ffmpeg -y -i video.mp4 -i voiceover.mp3 \\
|
|
318
|
+
|
|
319
|
+
-map 0:v -map 1:a \\
|
|
320
|
+
|
|
321
|
+
-c:v copy -c:a aac -b:a 192k \\
|
|
322
|
+
|
|
323
|
+
-shortest output.mp4
|
|
324
|
+
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
```typescript
|
|
328
|
+
|
|
329
|
+
import { execFile } from 'child_process';
|
|
330
|
+
|
|
331
|
+
import { promisify } from 'util';
|
|
332
|
+
|
|
333
|
+
const execFileAsync = promisify(execFile);
|
|
334
|
+
|
|
335
|
+
async function replaceAudio(videoPath: string, voiceoverPath: string, outputPath: string) {
|
|
336
|
+
|
|
337
|
+
await execFileAsync('ffmpeg', [
|
|
338
|
+
|
|
339
|
+
'-y',
|
|
340
|
+
|
|
341
|
+
'-i', videoPath,
|
|
342
|
+
|
|
343
|
+
'-i', voiceoverPath,
|
|
344
|
+
|
|
345
|
+
'-map', '0:v',
|
|
346
|
+
|
|
347
|
+
'-map', '1:a',
|
|
348
|
+
|
|
349
|
+
'-c:v', 'copy',
|
|
350
|
+
|
|
351
|
+
'-c:a', 'aac', '-b:a', '192k',
|
|
352
|
+
|
|
353
|
+
'-shortest',
|
|
354
|
+
|
|
355
|
+
outputPath
|
|
356
|
+
|
|
357
|
+
]);
|
|
358
|
+
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
### Mode 2: Mix Over (duck existing audio)
|
|
364
|
+
|
|
365
|
+
Layer voiceover on top of existing audio, reducing the existing audio volume:
|
|
366
|
+
|
|
367
|
+
```bash
|
|
368
|
+
|
|
369
|
+
ffmpeg -y -i video.mp4 -i voiceover.mp3 \\
|
|
370
|
+
|
|
371
|
+
-filter_complex "[0:a]volume=0.2[bg];[bg][1:a]amix=inputs=2:duration=first[outa]" \\
|
|
372
|
+
|
|
373
|
+
-map 0:v -map "[outa]" \\
|
|
374
|
+
|
|
375
|
+
-c:v copy -c:a aac -b:a 192k \\
|
|
376
|
+
|
|
377
|
+
output.mp4
|
|
378
|
+
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
```typescript
|
|
382
|
+
|
|
383
|
+
async function mixOverAudio(
|
|
384
|
+
|
|
385
|
+
videoPath: string,
|
|
386
|
+
|
|
387
|
+
voiceoverPath: string,
|
|
388
|
+
|
|
389
|
+
outputPath: string,
|
|
390
|
+
|
|
391
|
+
bgVolume = 0.2 // How much to reduce existing audio (0.0 = silent, 1.0 = full)
|
|
392
|
+
|
|
393
|
+
) {
|
|
394
|
+
|
|
395
|
+
await execFileAsync('ffmpeg', [
|
|
396
|
+
|
|
397
|
+
'-y',
|
|
398
|
+
|
|
399
|
+
'-i', videoPath,
|
|
400
|
+
|
|
401
|
+
'-i', voiceoverPath,
|
|
402
|
+
|
|
403
|
+
'-filter_complex',
|
|
404
|
+
|
|
405
|
+
`[0:a]volume=${bgVolume}[bg];[bg][1:a]amix=inputs=2:duration=first[outa]`,
|
|
406
|
+
|
|
407
|
+
'-map', '0:v',
|
|
408
|
+
|
|
409
|
+
'-map', '[outa]',
|
|
410
|
+
|
|
411
|
+
'-c:v', 'copy',
|
|
412
|
+
|
|
413
|
+
'-c:a', 'aac', '-b:a', '192k',
|
|
414
|
+
|
|
415
|
+
outputPath
|
|
416
|
+
|
|
417
|
+
]);
|
|
418
|
+
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
### Mode 3: Add as Track (full volume both)
|
|
424
|
+
|
|
425
|
+
Keep existing audio at full volume, add voiceover on top:
|
|
426
|
+
|
|
427
|
+
```bash
|
|
428
|
+
|
|
429
|
+
ffmpeg -y -i video.mp4 -i voiceover.mp3 \\
|
|
430
|
+
|
|
431
|
+
-filter_complex "[0:a][1:a]amix=inputs=2:duration=first[outa]" \\
|
|
432
|
+
|
|
433
|
+
-map 0:v -map "[outa]" \\
|
|
434
|
+
|
|
435
|
+
-c:v copy -c:a aac -b:a 192k \\
|
|
436
|
+
|
|
437
|
+
output.mp4
|
|
438
|
+
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
```typescript
|
|
442
|
+
|
|
443
|
+
async function addAudioTrack(videoPath: string, voiceoverPath: string, outputPath: string) {
|
|
444
|
+
|
|
445
|
+
await execFileAsync('ffmpeg', [
|
|
446
|
+
|
|
447
|
+
'-y',
|
|
448
|
+
|
|
449
|
+
'-i', videoPath,
|
|
450
|
+
|
|
451
|
+
'-i', voiceoverPath,
|
|
452
|
+
|
|
453
|
+
'-filter_complex',
|
|
454
|
+
|
|
455
|
+
'[0:a][1:a]amix=inputs=2:duration=first[outa]',
|
|
456
|
+
|
|
457
|
+
'-map', '0:v',
|
|
458
|
+
|
|
459
|
+
'-map', '[outa]',
|
|
460
|
+
|
|
461
|
+
'-c:v', 'copy',
|
|
462
|
+
|
|
463
|
+
'-c:a', 'aac', '-b:a', '192k',
|
|
464
|
+
|
|
465
|
+
outputPath
|
|
466
|
+
|
|
467
|
+
]);
|
|
468
|
+
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
### Adding Voiceover to a Video with No Audio
|
|
474
|
+
|
|
475
|
+
If the input video has no audio stream:
|
|
476
|
+
|
|
477
|
+
```bash
|
|
478
|
+
|
|
479
|
+
ffmpeg -y -i video.mp4 -i voiceover.mp3 \\
|
|
480
|
+
|
|
481
|
+
-map 0:v -map 1:a \\
|
|
482
|
+
|
|
483
|
+
-c:v copy -c:a aac -b:a 192k \\
|
|
484
|
+
|
|
485
|
+
-shortest output.mp4
|
|
486
|
+
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
---
|
|
490
|
+
|
|
491
|
+
## Timed Voiceover Segments
|
|
492
|
+
|
|
493
|
+
For videos that need voiceover at specific timestamps (not continuous narration), generate separate audio clips and position them on a timeline.
|
|
494
|
+
|
|
495
|
+
### Step 1: Define the Script with Timestamps
|
|
496
|
+
|
|
497
|
+
```typescript
|
|
498
|
+
|
|
499
|
+
interface VoiceoverSegment {
|
|
500
|
+
|
|
501
|
+
text: string;
|
|
502
|
+
|
|
503
|
+
startTime: number; // seconds
|
|
504
|
+
|
|
505
|
+
voiceId?: string; // optional per-segment voice
|
|
506
|
+
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
const script: VoiceoverSegment[] = [
|
|
510
|
+
|
|
511
|
+
{ text: "Welcome to our product overview.", startTime: 0 },
|
|
512
|
+
|
|
513
|
+
{ text: "Here's how it works in three simple steps.", startTime: 5.5 },
|
|
514
|
+
|
|
515
|
+
{ text: "Step one: upload your content.", startTime: 10 },
|
|
516
|
+
|
|
517
|
+
{ text: "Step two: customize your settings.", startTime: 18 },
|
|
518
|
+
|
|
519
|
+
{ text: "Step three: share with the world.", startTime: 25 },
|
|
520
|
+
|
|
521
|
+
];
|
|
522
|
+
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
### Step 2: Generate Each Segment
|
|
526
|
+
|
|
527
|
+
```typescript
|
|
528
|
+
|
|
529
|
+
async function generateSegments(
|
|
530
|
+
|
|
531
|
+
segments: VoiceoverSegment[],
|
|
532
|
+
|
|
533
|
+
tmpDir: string,
|
|
534
|
+
|
|
535
|
+
apiKey: string,
|
|
536
|
+
|
|
537
|
+
defaultVoiceId: string
|
|
538
|
+
|
|
539
|
+
): Promise<string[]> {
|
|
540
|
+
|
|
541
|
+
const paths: string[] = [];
|
|
542
|
+
|
|
543
|
+
for (let i = 0; i < segments.length; i++) {
|
|
544
|
+
|
|
545
|
+
const outputPath = path.join(tmpDir, `segment_${i}.mp3`);
|
|
546
|
+
|
|
547
|
+
await generateVoiceover(
|
|
548
|
+
|
|
549
|
+
segments[i].text,
|
|
550
|
+
|
|
551
|
+
outputPath,
|
|
552
|
+
|
|
553
|
+
apiKey,
|
|
554
|
+
|
|
555
|
+
segments[i].voiceId || defaultVoiceId
|
|
556
|
+
|
|
557
|
+
);
|
|
558
|
+
|
|
559
|
+
paths.push(outputPath);
|
|
560
|
+
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
return paths;
|
|
564
|
+
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
### Step 3: Create a Combined Audio Track with Positioning
|
|
570
|
+
|
|
571
|
+
Use FFmpeg to position each segment at its target timestamp and mix them into a single audio track:
|
|
572
|
+
|
|
573
|
+
```typescript
|
|
574
|
+
|
|
575
|
+
async function assembleTimedVoiceover(
|
|
576
|
+
|
|
577
|
+
segments: VoiceoverSegment[],
|
|
578
|
+
|
|
579
|
+
segmentPaths: string[],
|
|
580
|
+
|
|
581
|
+
totalDuration: number,
|
|
582
|
+
|
|
583
|
+
outputPath: string
|
|
584
|
+
|
|
585
|
+
) {
|
|
586
|
+
|
|
587
|
+
const inputs: string[] = [];
|
|
588
|
+
|
|
589
|
+
const filterParts: string[] = [];
|
|
590
|
+
|
|
591
|
+
for (let i = 0; i < segmentPaths.length; i++) {
|
|
592
|
+
|
|
593
|
+
inputs.push('-i', segmentPaths[i]);
|
|
594
|
+
|
|
595
|
+
const delay = Math.round(segments[i].startTime * 1000);
|
|
596
|
+
|
|
597
|
+
filterParts.push(`[${i}:a]adelay=${delay}|${delay}[a${i}]`);
|
|
598
|
+
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
const mixInputs = segments.map((_, i) => `[a${i}]`).join('');
|
|
602
|
+
|
|
603
|
+
const filterComplex = [
|
|
604
|
+
|
|
605
|
+
...filterParts,
|
|
606
|
+
|
|
607
|
+
`${mixInputs}amix=inputs=${segments.length}:normalize=0[mixed]`,
|
|
608
|
+
|
|
609
|
+
`[mixed]apad=whole_dur=${totalDuration}[out]`
|
|
610
|
+
|
|
611
|
+
].join(';');
|
|
612
|
+
|
|
613
|
+
await execFileAsync('ffmpeg', [
|
|
614
|
+
|
|
615
|
+
'-y',
|
|
616
|
+
|
|
617
|
+
...inputs,
|
|
618
|
+
|
|
619
|
+
'-filter_complex', filterComplex,
|
|
620
|
+
|
|
621
|
+
'-map', '[out]',
|
|
622
|
+
|
|
623
|
+
'-c:a', 'aac', '-b:a', '192k',
|
|
624
|
+
|
|
625
|
+
outputPath
|
|
626
|
+
|
|
627
|
+
]);
|
|
628
|
+
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
### Step 4: Mix the Assembled Voiceover into the Video
|
|
634
|
+
|
|
635
|
+
Use one of the mixing modes above (replace, mix over, or add as track) with the assembled voiceover file.
|
|
636
|
+
|
|
637
|
+
---
|
|
638
|
+
|
|
639
|
+
## Complete Pipeline Example
|
|
640
|
+
|
|
641
|
+
```typescript
|
|
642
|
+
|
|
643
|
+
import * as path from 'path';
|
|
644
|
+
|
|
645
|
+
import * as os from 'os';
|
|
646
|
+
|
|
647
|
+
async function addVoiceoverToVideo(
|
|
648
|
+
|
|
649
|
+
videoPath: string,
|
|
650
|
+
|
|
651
|
+
script: string | VoiceoverSegment[],
|
|
652
|
+
|
|
653
|
+
apiKey: string,
|
|
654
|
+
|
|
655
|
+
options: {
|
|
656
|
+
|
|
657
|
+
voiceId?: string;
|
|
658
|
+
|
|
659
|
+
mode?: 'replace' | 'mix' | 'add';
|
|
660
|
+
|
|
661
|
+
bgVolume?: number;
|
|
662
|
+
|
|
663
|
+
} = {}
|
|
664
|
+
|
|
665
|
+
) {
|
|
666
|
+
|
|
667
|
+
const {
|
|
668
|
+
|
|
669
|
+
voiceId = 'JBFqnCBsd6RMkjVDRZzb',
|
|
670
|
+
|
|
671
|
+
mode = 'mix',
|
|
672
|
+
|
|
673
|
+
bgVolume = 0.2
|
|
674
|
+
|
|
675
|
+
} = options;
|
|
676
|
+
|
|
677
|
+
const tmpDir = path.join(os.tmpdir(), `voiceover_${Date.now()}`);
|
|
678
|
+
|
|
679
|
+
await fs.promises.mkdir(tmpDir, { recursive: true });
|
|
680
|
+
|
|
681
|
+
const outputPath = videoPath.replace(/(\\\w+)$/, '_voiceover$1');
|
|
682
|
+
|
|
683
|
+
if (typeof script === 'string') {
|
|
684
|
+
|
|
685
|
+
// Simple full-video voiceover
|
|
686
|
+
|
|
687
|
+
console.log('Generating voiceover audio...');
|
|
688
|
+
|
|
689
|
+
const voiceoverPath = path.join(tmpDir, 'voiceover.mp3');
|
|
690
|
+
|
|
691
|
+
await generateVoiceover(script, voiceoverPath, apiKey, voiceId);
|
|
692
|
+
|
|
693
|
+
console.log(`Mixing audio (mode: ${mode})...`);
|
|
694
|
+
|
|
695
|
+
switch (mode) {
|
|
696
|
+
|
|
697
|
+
case 'replace':
|
|
698
|
+
|
|
699
|
+
await replaceAudio(videoPath, voiceoverPath, outputPath);
|
|
700
|
+
|
|
701
|
+
break;
|
|
702
|
+
|
|
703
|
+
case 'mix':
|
|
704
|
+
|
|
705
|
+
await mixOverAudio(videoPath, voiceoverPath, outputPath, bgVolume);
|
|
706
|
+
|
|
707
|
+
break;
|
|
708
|
+
|
|
709
|
+
case 'add':
|
|
710
|
+
|
|
711
|
+
await addAudioTrack(videoPath, voiceoverPath, outputPath);
|
|
712
|
+
|
|
713
|
+
break;
|
|
714
|
+
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
} else {
|
|
718
|
+
|
|
719
|
+
// Timed segments
|
|
720
|
+
|
|
721
|
+
console.log(`Generating ${script.length} voiceover segments...`);
|
|
722
|
+
|
|
723
|
+
const segmentPaths = await generateSegments(script, tmpDir, apiKey, voiceId);
|
|
724
|
+
|
|
725
|
+
// Get video duration
|
|
726
|
+
|
|
727
|
+
const { stdout } = await execFileAsync('ffprobe', [
|
|
728
|
+
|
|
729
|
+
'-v', 'quiet', '-print_format', 'json', '-show_format', videoPath
|
|
730
|
+
|
|
731
|
+
]);
|
|
732
|
+
|
|
733
|
+
const duration = parseFloat(JSON.parse(stdout).format.duration);
|
|
734
|
+
|
|
735
|
+
console.log('Assembling timed voiceover...');
|
|
736
|
+
|
|
737
|
+
const assembledPath = path.join(tmpDir, 'assembled_voiceover.aac');
|
|
738
|
+
|
|
739
|
+
await assembleTimedVoiceover(script, segmentPaths, duration, assembledPath);
|
|
740
|
+
|
|
741
|
+
console.log(`Mixing audio (mode: ${mode})...`);
|
|
742
|
+
|
|
743
|
+
switch (mode) {
|
|
744
|
+
|
|
745
|
+
case 'replace':
|
|
746
|
+
|
|
747
|
+
await replaceAudio(videoPath, assembledPath, outputPath);
|
|
748
|
+
|
|
749
|
+
break;
|
|
750
|
+
|
|
751
|
+
case 'mix':
|
|
752
|
+
|
|
753
|
+
await mixOverAudio(videoPath, assembledPath, outputPath, bgVolume);
|
|
754
|
+
|
|
755
|
+
break;
|
|
756
|
+
|
|
757
|
+
case 'add':
|
|
758
|
+
|
|
759
|
+
await addAudioTrack(videoPath, assembledPath, outputPath);
|
|
760
|
+
|
|
761
|
+
break;
|
|
762
|
+
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
// Clean up
|
|
768
|
+
|
|
769
|
+
await fs.promises.rm(tmpDir, { recursive: true, force: true });
|
|
770
|
+
|
|
771
|
+
console.log(`Voiceover added: ${outputPath}`);
|
|
772
|
+
|
|
773
|
+
return outputPath;
|
|
774
|
+
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
```
|
|
778
|
+
|
|
779
|
+
## Tips
|
|
780
|
+
|
|
781
|
+
- **Character limits:** ElevenLabs has a per-request character limit (typically 5,000 characters). For long narrations, split the text into chunks and concatenate the resulting audio files.
|
|
782
|
+
- **Audio format:** ElevenLabs returns MP3 by default. You can request other formats via the `output_format` parameter (e.g., `pcm_16000` for raw PCM, `mp3_44100_128` for specific bitrate).
|
|
783
|
+
|
|
784
|
+
- **Pacing:** If the voiceover needs to match specific video timing, adjust the text length per segment rather than trying to speed up/slow down the generated audio. Shorter text = shorter audio.
|
|
785
|
+
- **Silence padding:** Use `apad` or `adelay` in FFmpeg to position audio precisely. ElevenLabs doesn't add leading silence, so timing is exact.
|
|
786
|
+
|
|
787
|
+
- **Cost awareness:** ElevenLabs charges per character. Long narrations can add up. Let the user know the approximate character count before generating.
|
|
788
|
+
- **Multilingual:** The `eleven_multilingual_v2` model supports 29 languages. The text language is auto-detected. No special configuration needed — just write the text in the target language.
|