How support-local-repo/virtualphotobooth.online works
Virtual Photo Booth is a browser-based photo-strip maker: visitors enter the booth, capture photos or upload them, customize the strip, then export it. The editor composes layouts, filters, stickers, text, dates, and watermarks on a canvas. The README also describes SEO landing pages and instant downloads; the tree and source index identify upload, donation, and email features, though some implementations were not sampled. Edges below are limited to documented or indexed references; unsampled wiring is omitted.
Main entry points: useCanvas.ts Canvas renderer · route.ts Email endpoint · LandingPage.tsx Landing page · page.tsx Booth entry route
Components 23
Discovery
- Landing page
src/modules/landing/LandingPage.tsx - SEO pages
src/modules/landing/SeoPage.tsx - Feature content
src/modules/landing/FeaturesSection.tsx
Booth workflow
- Booth menu
src/modules/booth/BoothMenu.tsx - Booth entry route
src/app/booth/page.tsx - Camera route
src/app/booth/camera/page.tsx - Camera capture
src/modules/booth/BoothCamera.tsx - Camera access
src/shared/hooks/useCamera.ts - Photo upload
src/modules/booth/BoothUpload.tsx - Strip editor
src/modules/booth/BoothResult.tsx
Strip composition
- Canvas renderer
src/modules/canvas/useCanvas.ts - Strip layouts
src/modules/canvas/layouts.ts - Image filters
src/modules/canvas/filters.ts - Sticker drawing
src/modules/canvas/stickers.ts - Watermark drawing
src/modules/canvas/watermark.ts - Strip templates
src/config/templates.config.ts
Sharing and services
- Donation control
src/modules/donation/DonationButton.tsx - Email endpoint
src/app/api/send-email/route.ts - Email content
src/modules/email/email.template.tsx - Resend adapter
src/infrastructure/resend/resend.client.ts
Other components
- Visitor
- PayPal
- Email recipient
Connections 19
- Visitor → Landing page: opens
- Visitor → SEO pages: discovers
src/modules/landing/SeoPage.tsx - Landing page → Feature content: renders
src/modules/landing/LandingPage.tsx - Visitor → Booth entry route: opens booth
src/app/booth/page.tsx - Booth entry route → Booth menu: renders
src/app/booth/page.tsx - Camera route → Camera capture: renders
src/app/booth/camera/page.tsx - Camera capture → Camera access: uses camera
src/modules/booth/BoothCamera.tsx - Visitor → Photo upload: selects photos
- Visitor → Strip editor: customizes strip
src/modules/booth/BoothResult.tsx - Strip editor → Canvas renderer: renders strip
src/modules/booth/BoothResult.tsx - Canvas renderer → Strip layouts: computes layout
src/modules/canvas/useCanvas.ts - Canvas renderer → Image filters: applies filters
src/modules/canvas/useCanvas.ts - Canvas renderer → Sticker drawing: draws stickers
src/modules/canvas/useCanvas.ts - Canvas renderer → Watermark drawing: draws watermark
src/modules/canvas/useCanvas.ts - Visitor → Donation control: chooses donation
- Donation control → PayPal: opens payment
- Email recipient → Email endpoint: submits strip
src/app/api/send-email/route.ts - Email endpoint → Email content: builds message
src/app/api/send-email/route.ts - Email endpoint → Resend adapter: sends attachment
src/app/api/send-email/route.ts