@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,605 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: photo-editor
|
|
3
|
+
description: Edit, resize, crop, filter, and optimize images — backgrounds, watermarks, and batch processing.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Photo Editor
|
|
7
|
+
|
|
8
|
+
Resize, crop, filter, and optimize images. Pillow for Python, sharp for Node. Clarify intent before starting.
|
|
9
|
+
|
|
10
|
+
## Clarify Intent First
|
|
11
|
+
|
|
12
|
+
When a user asks to "edit a photo" or "change an image," the request could mean two very different things. **Ask before proceeding** if it's ambiguous:
|
|
13
|
+
|
|
14
|
+
1. **Edit the existing image** — crop, resize, recolor, adjust brightness/contrast, add text, remove background, apply filters, watermark, etc. → Use the tools below (Pillow, sharp, OpenCV).
|
|
15
|
+
2. **Generate a new AI image** — create something from scratch or heavily reimagine the photo (e.g., "make this photo look like a painting," "put me on a beach," "create a logo from this concept"). → Use image generation tools instead, not this skill.
|
|
16
|
+
|
|
17
|
+
### When to ask
|
|
18
|
+
|
|
19
|
+
- "Can you fix this photo?" → Probably editing. Ask what specifically needs fixing.
|
|
20
|
+
- "Make this look better" → Ambiguous. Ask: "Do you want me to adjust the existing photo (brightness, contrast, cropping, etc.) or generate a new version with AI?"
|
|
21
|
+
|
|
22
|
+
- "Change the background" → Could be either. Ask: "Should I remove the current background (I can make it transparent or a solid color), or do you want an AI-generated scene behind you?"
|
|
23
|
+
- "Make a profile picture from this" → Likely crop/resize, but could mean AI enhancement. Clarify.
|
|
24
|
+
|
|
25
|
+
#### Don't ask when it's obvious
|
|
26
|
+
|
|
27
|
+
- "Crop this to 1080x1080" → Just crop it.
|
|
28
|
+
- "Make this a PNG" → Just convert it.
|
|
29
|
+
|
|
30
|
+
- "Remove the background" → Use rembg.
|
|
31
|
+
- "Generate a photo of a sunset" → No existing photo to edit — use image generation.
|
|
32
|
+
|
|
33
|
+
## Tool Selection
|
|
34
|
+
|
|
35
|
+
| Tool | Use when | Install |
|
|
36
|
+
|
|
37
|
+
|---|---|---|
|
|
38
|
+
|
|
39
|
+
| **Pillow** | Default: resize, crop, filters, text, format conversion | `pip install Pillow` |
|
|
40
|
+
|
|
41
|
+
| **OpenCV** | Computer vision: face detection, perspective transform, inpainting, contours | `pip install opencv-python numpy` |
|
|
42
|
+
|
|
43
|
+
| **sharp** (Node) | High-volume pipelines — 4-5x faster than Pillow (libvips-backed) | `npm install sharp` |
|
|
44
|
+
|
|
45
|
+
| **rembg** | AI background removal | `pip install rembg` |
|
|
46
|
+
|
|
47
|
+
| **ImageMagick** | CLI batch ops, 200+ formats. Use the `magick` command, e.g. `magick -size 100x100 xc:blue test2.jpg`. | `apt install imagemagick` |
|
|
48
|
+
|
|
49
|
+
## Open — ALWAYS Fix Orientation First
|
|
50
|
+
|
|
51
|
+
```python
|
|
52
|
+
|
|
53
|
+
from PIL import Image, ImageOps
|
|
54
|
+
|
|
55
|
+
img = Image.open("photo.jpg")
|
|
56
|
+
|
|
57
|
+
img = ImageOps.exif_transpose(img) \# CRITICAL: applies EXIF rotation, then strips tag
|
|
58
|
+
|
|
59
|
+
# Without this, phone photos appear sideways after processing
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Resize & Crop
|
|
64
|
+
|
|
65
|
+
```python
|
|
66
|
+
|
|
67
|
+
from PIL import Image, ImageOps
|
|
68
|
+
|
|
69
|
+
# --- Fit inside box, keep aspect ratio (shrink only) ---
|
|
70
|
+
|
|
71
|
+
img.thumbnail((1080, 1080), Image.Resampling.LANCZOS) \# modifies in place
|
|
72
|
+
|
|
73
|
+
# --- Exact size, keep aspect, center-crop overflow (best for thumbnails) ---
|
|
74
|
+
|
|
75
|
+
thumb = ImageOps.fit(img, (300, 300), Image.Resampling.LANCZOS, centering=(0.5, 0.5))
|
|
76
|
+
|
|
77
|
+
# --- Exact size, keep aspect, pad with color (letterbox) ---
|
|
78
|
+
|
|
79
|
+
padded = ImageOps.pad(img, (1920, 1080), color=(0, 0, 0))
|
|
80
|
+
|
|
81
|
+
# --- Exact size, ignore aspect (will distort) ---
|
|
82
|
+
|
|
83
|
+
stretched = img.resize((800, 600), Image.Resampling.LANCZOS)
|
|
84
|
+
|
|
85
|
+
# --- Scale by factor ---
|
|
86
|
+
|
|
87
|
+
half = img.resize((img.width // 2, img.height // 2), Image.Resampling.LANCZOS)
|
|
88
|
+
|
|
89
|
+
# --- Manual crop (left, upper, right, lower) — NOT (x, y, w, h) ---
|
|
90
|
+
|
|
91
|
+
cropped = img.crop((100, 50, 900, 650))
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**Resampling filters:** `LANCZOS`for photo downscale (best quality),`BICUBIC`for upscale,`NEAREST` for pixel art/icons (no smoothing).
|
|
96
|
+
|
|
97
|
+
## Face-Aware Cropping
|
|
98
|
+
|
|
99
|
+
For portraits and headshots, detect the face first and crop around it instead of guessing coordinates. This produces much better results for profile pictures.
|
|
100
|
+
|
|
101
|
+
```python
|
|
102
|
+
|
|
103
|
+
import cv2
|
|
104
|
+
|
|
105
|
+
import numpy as np
|
|
106
|
+
|
|
107
|
+
from PIL import Image, ImageOps
|
|
108
|
+
|
|
109
|
+
img = Image.open("portrait.jpg")
|
|
110
|
+
|
|
111
|
+
img = ImageOps.exif_transpose(img)
|
|
112
|
+
|
|
113
|
+
cv_img = cv2.cvtColor(np.array(img), cv2.COLOR_RGB2BGR)
|
|
114
|
+
|
|
115
|
+
gray = cv2.cvtColor(cv_img, cv2.COLOR_BGR2GRAY)
|
|
116
|
+
|
|
117
|
+
cascade = cv2.CascadeClassifier(cv2.data.haarcascades + "haarcascade_frontalface_default.xml")
|
|
118
|
+
|
|
119
|
+
faces = cascade.detectMultiScale(gray, scaleFactor=1.1, minNeighbors=5, minSize=(100, 100))
|
|
120
|
+
|
|
121
|
+
if len(faces) > 0:
|
|
122
|
+
|
|
123
|
+
# Use the largest detected face
|
|
124
|
+
|
|
125
|
+
fx, fy, fw, fh = max(faces, key=lambda f: f[2] * f[3])
|
|
126
|
+
|
|
127
|
+
face_cx = fx + fw // 2
|
|
128
|
+
|
|
129
|
+
face_cy = fy + fh // 2
|
|
130
|
+
|
|
131
|
+
# Square crop centered on face with padding (3x face height for head+shoulders)
|
|
132
|
+
|
|
133
|
+
crop_size = min(img.width, img.height, fh * 3)
|
|
134
|
+
|
|
135
|
+
left = max(0, face_cx - crop_size // 2)
|
|
136
|
+
|
|
137
|
+
top = max(0, face_cy - int(crop_size * 0.35)) \# face in upper third
|
|
138
|
+
|
|
139
|
+
right = left + crop_size
|
|
140
|
+
|
|
141
|
+
bottom = top + crop_size
|
|
142
|
+
|
|
143
|
+
# Clamp to image bounds
|
|
144
|
+
|
|
145
|
+
if right > img.width:
|
|
146
|
+
|
|
147
|
+
left -= (right - img.width)
|
|
148
|
+
|
|
149
|
+
right = img.width
|
|
150
|
+
|
|
151
|
+
if bottom > img.height:
|
|
152
|
+
|
|
153
|
+
top -= (bottom - img.height)
|
|
154
|
+
|
|
155
|
+
bottom = img.height
|
|
156
|
+
|
|
157
|
+
left = max(0, left)
|
|
158
|
+
|
|
159
|
+
top = max(0, top)
|
|
160
|
+
|
|
161
|
+
cropped = img.crop((left, top, right, bottom))
|
|
162
|
+
|
|
163
|
+
profile = cropped.resize((800, 800), Image.Resampling.LANCZOS)
|
|
164
|
+
|
|
165
|
+
profile.save("profile_800x800.jpg", quality=92, optimize=True)
|
|
166
|
+
|
|
167
|
+
else:
|
|
168
|
+
|
|
169
|
+
# Fallback: center crop
|
|
170
|
+
|
|
171
|
+
profile = ImageOps.fit(img, (800, 800), Image.Resampling.LANCZOS, centering=(0.5, 0.4))
|
|
172
|
+
|
|
173
|
+
profile.save("profile_800x800.jpg", quality=92, optimize=True)
|
|
174
|
+
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### Tips
|
|
178
|
+
|
|
179
|
+
- `centering=(0.5, 0.4)` in the fallback biases the crop slightly toward the top — better for portraits than dead center.
|
|
180
|
+
- For group photos with multiple faces, you may want to fit all detected faces in the crop instead of picking the largest.
|
|
181
|
+
|
|
182
|
+
## Color & Exposure
|
|
183
|
+
|
|
184
|
+
```python
|
|
185
|
+
|
|
186
|
+
from PIL import ImageEnhance, ImageOps
|
|
187
|
+
|
|
188
|
+
# --- Enhancers: 1.0 = unchanged, <1 less, >1 more ---
|
|
189
|
+
|
|
190
|
+
img = ImageEnhance.Brightness(img).enhance(1.15)
|
|
191
|
+
|
|
192
|
+
img = ImageEnhance.Contrast(img).enhance(1.2)
|
|
193
|
+
|
|
194
|
+
img = ImageEnhance.Color(img).enhance(1.1) \# saturation
|
|
195
|
+
|
|
196
|
+
img = ImageEnhance.Sharpness(img).enhance(1.5)
|
|
197
|
+
|
|
198
|
+
# --- Quick ops ---
|
|
199
|
+
|
|
200
|
+
gray = ImageOps.grayscale(img)
|
|
201
|
+
|
|
202
|
+
inverted = ImageOps.invert(img.convert("RGB"))
|
|
203
|
+
|
|
204
|
+
auto = ImageOps.autocontrast(img, cutoff=1) \# stretch histogram, clip 1% extremes
|
|
205
|
+
|
|
206
|
+
equalized = ImageOps.equalize(img) \# flatten histogram
|
|
207
|
+
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
## Filters
|
|
211
|
+
|
|
212
|
+
```python
|
|
213
|
+
|
|
214
|
+
from PIL import ImageFilter
|
|
215
|
+
|
|
216
|
+
img.filter(ImageFilter.GaussianBlur(radius=5))
|
|
217
|
+
|
|
218
|
+
img.filter(ImageFilter.UnsharpMask(radius=2, percent=150, threshold=3)) \# better than SHARPEN
|
|
219
|
+
|
|
220
|
+
img.filter(ImageFilter.BoxBlur(10))
|
|
221
|
+
|
|
222
|
+
img.filter(ImageFilter.FIND_EDGES)
|
|
223
|
+
|
|
224
|
+
img.filter(ImageFilter.MedianFilter(size=3)) \# denoise, removes salt-and-pepper
|
|
225
|
+
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
## Watermark / Logo Removal
|
|
229
|
+
|
|
230
|
+
Use OpenCV's `cv2.inpaint()`— it fills a masked region by sampling surrounding pixels, producing seamless results. **Do not use pixel-by-pixel`getpixel`/`putpixel` loops** — they are slow and produce visible artifacts.
|
|
231
|
+
|
|
232
|
+
### Step 1: Find the watermark boundaries
|
|
233
|
+
|
|
234
|
+
Always inspect the image at full resolution first. Watermarks are often much larger than they appear in thumbnails. Save a crop of the watermark region to verify coordinates before attempting removal.
|
|
235
|
+
|
|
236
|
+
```python
|
|
237
|
+
|
|
238
|
+
import cv2
|
|
239
|
+
|
|
240
|
+
import numpy as np
|
|
241
|
+
|
|
242
|
+
from PIL import Image, ImageOps
|
|
243
|
+
|
|
244
|
+
img = Image.open("photo.jpg")
|
|
245
|
+
|
|
246
|
+
img = ImageOps.exif_transpose(img)
|
|
247
|
+
|
|
248
|
+
w, h = img.size
|
|
249
|
+
|
|
250
|
+
# Save a debug crop of the suspected watermark area to verify its extent
|
|
251
|
+
|
|
252
|
+
debug = img.crop((0, 0, min(w, 1000), min(h, 500)))
|
|
253
|
+
|
|
254
|
+
debug.save("debug_watermark_area.jpg")
|
|
255
|
+
|
|
256
|
+
# IMPORTANT: View this debug image to confirm where the watermark actually is
|
|
257
|
+
|
|
258
|
+
# before proceeding. Guessing coordinates wastes iterations.
|
|
259
|
+
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
### Step 2: Create a mask and inpaint
|
|
263
|
+
|
|
264
|
+
```python
|
|
265
|
+
|
|
266
|
+
cv_img = cv2.cvtColor(np.array(img), cv2.COLOR_RGB2BGR)
|
|
267
|
+
|
|
268
|
+
# --- Option A: Color-based mask (best for colored logos on neutral backgrounds) ---
|
|
269
|
+
|
|
270
|
+
hsv = cv2.cvtColor(cv_img, cv2.COLOR_BGR2HSV)
|
|
271
|
+
|
|
272
|
+
# Example: detect blue watermark pixels (adjust ranges for your watermark color)
|
|
273
|
+
|
|
274
|
+
lower_blue = np.array([90, 40, 40])
|
|
275
|
+
|
|
276
|
+
upper_blue = np.array([130, 255, 255])
|
|
277
|
+
|
|
278
|
+
mask = cv2.inRange(hsv, lower_blue, upper_blue)
|
|
279
|
+
|
|
280
|
+
# Also catch dark text pixels in the watermark region
|
|
281
|
+
|
|
282
|
+
roi_gray = cv2.cvtColor(cv_img[:wm_h, :wm_w], cv2.COLOR_BGR2GRAY)
|
|
283
|
+
|
|
284
|
+
_, dark_mask = cv2.threshold(roi_gray, 80, 255, cv2.THRESH_BINARY_INV)
|
|
285
|
+
|
|
286
|
+
# Combine: place dark_mask into the full-size mask
|
|
287
|
+
|
|
288
|
+
mask[:wm_h, :wm_w] = cv2.bitwise_or(mask[:wm_h, :wm_w], dark_mask)
|
|
289
|
+
|
|
290
|
+
# --- Option B: Region-based mask (when you know the bounding box) ---
|
|
291
|
+
|
|
292
|
+
# Simpler but removes everything in the box, not just the watermark pixels
|
|
293
|
+
|
|
294
|
+
mask = np.zeros(cv_img.shape[:2], dtype=np.uint8)
|
|
295
|
+
|
|
296
|
+
mask[0:wm_h, 0:wm_w] = 255 \# fill the entire watermark region
|
|
297
|
+
|
|
298
|
+
# Dilate the mask slightly to catch anti-aliased edges
|
|
299
|
+
|
|
300
|
+
kernel = np.ones((5, 5), np.uint8)
|
|
301
|
+
|
|
302
|
+
mask = cv2.dilate(mask, kernel, iterations=2)
|
|
303
|
+
|
|
304
|
+
# Inpaint — fills masked area using surrounding pixel data
|
|
305
|
+
|
|
306
|
+
result = cv2.inpaint(cv_img, mask, inpaintRadius=7, flags=cv2.INPAINT_TELEA)
|
|
307
|
+
|
|
308
|
+
# INPAINT_TELEA: fast marching method (best for most cases)
|
|
309
|
+
|
|
310
|
+
# INPAINT_NS: Navier-Stokes (better for large regions, slower)
|
|
311
|
+
|
|
312
|
+
result_pil = Image.fromarray(cv2.cvtColor(result, cv2.COLOR_BGR2RGB))
|
|
313
|
+
|
|
314
|
+
result_pil.save("clean.jpg", quality=92, optimize=True)
|
|
315
|
+
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
### Step 3: Verify the result
|
|
319
|
+
|
|
320
|
+
```python
|
|
321
|
+
|
|
322
|
+
# Save a crop of the same region after removal to confirm it's clean
|
|
323
|
+
|
|
324
|
+
verify = result_pil.crop((0, 0, min(w, 1000), min(h, 500)))
|
|
325
|
+
|
|
326
|
+
verify.save("debug_watermark_removed.jpg")
|
|
327
|
+
|
|
328
|
+
# View this image before proceeding to resize/crop
|
|
329
|
+
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
#### Tips (2)
|
|
333
|
+
|
|
334
|
+
- For watermarks on uniform backgrounds (studio portraits, product photos), `INPAINT_TELEA`with`inpaintRadius=5-10` works well.
|
|
335
|
+
- For watermarks over textured areas (landscapes, fabric), use `INPAINT_NS` with a larger radius (10-15).
|
|
336
|
+
|
|
337
|
+
- If the watermark is semi-transparent, color-based masking (Option A) is more precise than a rectangular region mask.
|
|
338
|
+
- Always verify at full resolution — artifacts invisible in thumbnails may be obvious when zoomed in.
|
|
339
|
+
|
|
340
|
+
## Text & Watermark (Adding)
|
|
341
|
+
|
|
342
|
+
```python
|
|
343
|
+
|
|
344
|
+
from PIL import Image, ImageDraw, ImageFont
|
|
345
|
+
|
|
346
|
+
draw = ImageDraw.Draw(img)
|
|
347
|
+
|
|
348
|
+
try:
|
|
349
|
+
|
|
350
|
+
font = ImageFont.truetype("DejaVuSans-Bold.ttf", 48) \# Linux default
|
|
351
|
+
|
|
352
|
+
except OSError:
|
|
353
|
+
|
|
354
|
+
font = ImageFont.load_default() \# fallback (tiny, ugly)
|
|
355
|
+
|
|
356
|
+
# --- Text with outline ---
|
|
357
|
+
|
|
358
|
+
draw.text((50, 50), "Caption", font=font, fill="white",
|
|
359
|
+
|
|
360
|
+
stroke_width=3, stroke_fill="black")
|
|
361
|
+
|
|
362
|
+
# --- Centered text ---
|
|
363
|
+
|
|
364
|
+
bbox = draw.textbbox((0, 0), "Centered", font=font)
|
|
365
|
+
|
|
366
|
+
tw, th = bbox[2] - bbox[0], bbox[3] - bbox[1]
|
|
367
|
+
|
|
368
|
+
draw.text(((img.width - tw) // 2, (img.height - th) // 2), "Centered", font=font, fill="white")
|
|
369
|
+
|
|
370
|
+
# --- Watermark (semi-transparent PNG overlay) ---
|
|
371
|
+
|
|
372
|
+
logo = Image.open("logo.png").convert("RGBA")
|
|
373
|
+
|
|
374
|
+
logo.thumbnail((img.width // 5, img.height // 5))
|
|
375
|
+
|
|
376
|
+
# Fade to 40% opacity
|
|
377
|
+
|
|
378
|
+
alpha = logo.split()[3].point(lambda p: int(p * 0.4))
|
|
379
|
+
|
|
380
|
+
logo.putalpha(alpha)
|
|
381
|
+
|
|
382
|
+
pos = (img.width - logo.width - 20, img.height - logo.height - 20)
|
|
383
|
+
|
|
384
|
+
img.paste(logo, pos, logo) \# third arg = alpha mask — REQUIRED for transparency
|
|
385
|
+
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
## Save & Optimize
|
|
389
|
+
|
|
390
|
+
```python
|
|
391
|
+
|
|
392
|
+
# --- JPEG ---
|
|
393
|
+
|
|
394
|
+
img.convert("RGB").save("out.jpg", quality=85, optimize=True, progressive=True)
|
|
395
|
+
|
|
396
|
+
# convert("RGB") REQUIRED if source has alpha — JPEG can't store transparency
|
|
397
|
+
|
|
398
|
+
# --- PNG (lossless — quality param does nothing) ---
|
|
399
|
+
|
|
400
|
+
img.save("out.png", optimize=True, compress_level=9)
|
|
401
|
+
|
|
402
|
+
# --- WebP (best web format: ~30% smaller than JPEG at same quality) ---
|
|
403
|
+
|
|
404
|
+
img.save("out.webp", quality=85, method=6) \# method 0-6, 6=slowest/best compression
|
|
405
|
+
|
|
406
|
+
# --- AVIF (smallest files, Pillow 11+, slower encode) ---
|
|
407
|
+
|
|
408
|
+
img.save("out.avif", quality=75) \# 75 ≈ JPEG 85 visually, ~50% smaller
|
|
409
|
+
|
|
410
|
+
# --- Strip all metadata (privacy) ---
|
|
411
|
+
|
|
412
|
+
clean = Image.new(img.mode, img.size)
|
|
413
|
+
|
|
414
|
+
clean.putdata(list(img.getdata()))
|
|
415
|
+
|
|
416
|
+
clean.save("stripped.jpg", quality=85)
|
|
417
|
+
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
**Quality guide:** JPEG/WebP 85 = sweet spot. 90+ = diminishing returns. <70 = visible artifacts. Never re-save JPEGs repeatedly — each save degrades (generation loss).
|
|
421
|
+
|
|
422
|
+
## Batch Processing
|
|
423
|
+
|
|
424
|
+
```python
|
|
425
|
+
|
|
426
|
+
from pathlib import Path
|
|
427
|
+
|
|
428
|
+
from PIL import Image, ImageOps
|
|
429
|
+
|
|
430
|
+
out = Path("optimized"); out.mkdir(exist_ok=True)
|
|
431
|
+
|
|
432
|
+
for p in Path("photos").glob("*.[jJ][pP]*[gG]"): \# matches jpg, jpeg, JPG, JPEG
|
|
433
|
+
|
|
434
|
+
img = ImageOps.exif_transpose(Image.open(p))
|
|
435
|
+
|
|
436
|
+
img.thumbnail((1920, 1920), Image.Resampling.LANCZOS)
|
|
437
|
+
|
|
438
|
+
img.convert("RGB").save(out / f"{p.stem}.webp", quality=85, method=6)
|
|
439
|
+
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
## sharp (Node.js — use for high throughput)
|
|
443
|
+
|
|
444
|
+
```javascript
|
|
445
|
+
|
|
446
|
+
const sharp = require('sharp');
|
|
447
|
+
|
|
448
|
+
// Resize + convert + optimize, streaming (flat memory)
|
|
449
|
+
|
|
450
|
+
await sharp('in.jpg')
|
|
451
|
+
|
|
452
|
+
.rotate() // auto-rotate from EXIF (like exif_transpose)
|
|
453
|
+
|
|
454
|
+
.resize(1080, 1080, { fit: 'cover', position: 'center' }) // = ImageOps.fit
|
|
455
|
+
|
|
456
|
+
.webp({ quality: 85 })
|
|
457
|
+
|
|
458
|
+
.toFile('out.webp');
|
|
459
|
+
|
|
460
|
+
// fit options: 'cover' (crop), 'contain' (letterbox), 'inside' (shrink to fit), 'fill' (stretch)
|
|
461
|
+
|
|
462
|
+
// Composite watermark
|
|
463
|
+
|
|
464
|
+
await sharp('photo.jpg')
|
|
465
|
+
|
|
466
|
+
.composite([{ input: 'logo.png', gravity: 'southeast' }])
|
|
467
|
+
|
|
468
|
+
.toFile('watermarked.jpg');
|
|
469
|
+
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
sharp strips all metadata by default. Use `.withMetadata()` to preserve EXIF/ICC.
|
|
473
|
+
|
|
474
|
+
## OpenCV (when Pillow isn't enough)
|
|
475
|
+
|
|
476
|
+
```python
|
|
477
|
+
|
|
478
|
+
import cv2
|
|
479
|
+
|
|
480
|
+
img = cv2.imread("in.jpg") \# BGR order, not RGB!
|
|
481
|
+
|
|
482
|
+
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
|
|
483
|
+
|
|
484
|
+
# Face detection
|
|
485
|
+
|
|
486
|
+
cascade = cv2.CascadeClassifier(cv2.data.haarcascades + "haarcascade_frontalface_default.xml")
|
|
487
|
+
|
|
488
|
+
faces = cascade.detectMultiScale(gray, scaleFactor=1.1, minNeighbors=5)
|
|
489
|
+
|
|
490
|
+
for (x, y, w, h) in faces:
|
|
491
|
+
|
|
492
|
+
cv2.rectangle(img, (x, y), (x+w, y+h), (0, 255, 0), 2)
|
|
493
|
+
|
|
494
|
+
cv2.imwrite("out.jpg", img)
|
|
495
|
+
|
|
496
|
+
# Pillow <-> OpenCV
|
|
497
|
+
|
|
498
|
+
import numpy as np
|
|
499
|
+
|
|
500
|
+
cv_img = cv2.cvtColor(np.array(pil_img), cv2.COLOR_RGB2BGR)
|
|
501
|
+
|
|
502
|
+
pil_img = Image.fromarray(cv2.cvtColor(cv_img, cv2.COLOR_BGR2RGB))
|
|
503
|
+
|
|
504
|
+
```
|
|
505
|
+
|
|
506
|
+
## Bulk Pixel Manipulation — Use numpy, Not getpixel/putpixel
|
|
507
|
+
|
|
508
|
+
**Never loop over pixels with `getpixel()`/`putpixel()`** for large regions — it is extremely slow (minutes for a full image). Convert to a numpy array, operate on the array, then convert back.
|
|
509
|
+
|
|
510
|
+
```python
|
|
511
|
+
|
|
512
|
+
import numpy as np
|
|
513
|
+
|
|
514
|
+
from PIL import Image
|
|
515
|
+
|
|
516
|
+
img = Image.open("photo.jpg").convert("RGB")
|
|
517
|
+
|
|
518
|
+
arr = np.array(img) \# shape: (height, width, 3), dtype: uint8
|
|
519
|
+
|
|
520
|
+
# Example: replace a region with sampled background color
|
|
521
|
+
|
|
522
|
+
bg_color = arr[50, -100, :] \# sample one pixel from the right side
|
|
523
|
+
|
|
524
|
+
arr[0:300, 0:800, :] = bg_color \# fill the region instantly
|
|
525
|
+
|
|
526
|
+
# Example: blend two regions with a gradient mask
|
|
527
|
+
|
|
528
|
+
alpha = np.linspace(1, 0, 100).reshape(1, 100, 1) \# horizontal fade over 100px
|
|
529
|
+
|
|
530
|
+
region = arr[0:300, 700:800, :]
|
|
531
|
+
|
|
532
|
+
bg_strip = np.full_like(region, bg_color)
|
|
533
|
+
|
|
534
|
+
arr[0:300, 700:800, :] = (region * (1 - alpha) + bg_strip * alpha).astype(np.uint8)
|
|
535
|
+
|
|
536
|
+
result = Image.fromarray(arr)
|
|
537
|
+
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
**Speed comparison:** `putpixel` on a 700x250 region = ~175,000 calls = 30+ seconds. numpy array slice = instant.
|
|
541
|
+
|
|
542
|
+
## Platform Dimensions
|
|
543
|
+
|
|
544
|
+
| Platform | Size | Ratio |
|
|
545
|
+
|
|
546
|
+
|---|---|---|
|
|
547
|
+
|
|
548
|
+
| Instagram post | 1080x1080 | 1:1 |
|
|
549
|
+
|
|
550
|
+
| Instagram story / TikTok | 1080x1920 | 9:16 |
|
|
551
|
+
|
|
552
|
+
| LinkedIn profile photo | 400x400 | 1:1 |
|
|
553
|
+
|
|
554
|
+
| LinkedIn banner | 1584x396 | 4:1 |
|
|
555
|
+
|
|
556
|
+
| LinkedIn post | 1200x627 | 1.91:1 |
|
|
557
|
+
|
|
558
|
+
| Twitter/X profile | 400x400 | 1:1 |
|
|
559
|
+
|
|
560
|
+
| Twitter/X post | 1200x675 | 16:9 |
|
|
561
|
+
|
|
562
|
+
| Facebook profile | 320x320 | 1:1 |
|
|
563
|
+
|
|
564
|
+
| Facebook cover | 851x315 | 2.7:1 |
|
|
565
|
+
|
|
566
|
+
| YouTube thumbnail | 1280x720 | 16:9 |
|
|
567
|
+
|
|
568
|
+
| WhatsApp profile | 500x500 | 1:1 |
|
|
569
|
+
|
|
570
|
+
| Open Graph (link preview) | 1200x630 | 1.91:1 |
|
|
571
|
+
|
|
572
|
+
## Debug Workflow
|
|
573
|
+
|
|
574
|
+
When edits don't look right, follow this process instead of re-running the whole pipeline blindly:
|
|
575
|
+
|
|
576
|
+
1. **Save a debug crop of the target area** before and after processing. View both to confirm what changed.
|
|
577
|
+
2. **Work at full resolution first.** Watermarks and artifacts that look small in a thumbnail can be large at native resolution. Always inspect at the original size before resizing.
|
|
578
|
+
|
|
579
|
+
3. **Save intermediate results.** After each major processing step (watermark removal, crop, resize), save a checkpoint image so you can identify which step introduced a problem.
|
|
580
|
+
4. **Spot-check specific pixels** to verify processing took effect:
|
|
581
|
+
|
|
582
|
+
```python
|
|
583
|
+
|
|
584
|
+
# Quick pixel check after watermark removal
|
|
585
|
+
|
|
586
|
+
for (x, y) in [(60, 50), (200, 130), (400, 100)]:
|
|
587
|
+
|
|
588
|
+
print(f"({x},{y}): {img.getpixel((x, y))}")
|
|
589
|
+
|
|
590
|
+
# If these still show watermark colors (e.g. bright blue), removal failed
|
|
591
|
+
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
## Gotchas
|
|
595
|
+
|
|
596
|
+
- **`img.crop()`box is`(left, top, right, bottom)`** — absolute coords, NOT`(x, y, width, height)`
|
|
597
|
+
- **`thumbnail()`mutates in place and returns`None`** — don't do`img = img.thumbnail(...)`
|
|
598
|
+
|
|
599
|
+
- **Paste with transparency** needs the image as the third (mask) arg: `bg.paste(fg, pos, fg)`
|
|
600
|
+
- **Palette mode ("P")** breaks many filters — `img.convert("RGB")` first
|
|
601
|
+
|
|
602
|
+
- **Fonts:** `ImageFont.truetype`needs a real font file. Linux:`/usr/share/fonts/truetype/dejavu/`. Ship a`.ttf` with your code for portability.
|
|
603
|
+
- **OpenCV needs numpy** — always `pip install opencv-python numpy` together
|
|
604
|
+
|
|
605
|
+
- **OpenCV uses BGR, Pillow uses RGB** — convert when switching between them or colors will be wrong
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ee79bc012f23874d304f26fa555e9d11
|