data
feat: Add telemetry & storage dashboard, mobile admin UX, and backup automationdocs
feat: Add telemetry & storage dashboard, mobile admin UX, and backup automationprisma
feat: Add telemetry & storage dashboard, mobile admin UX, and backup automationpublic
Initial commit from Create Next Appscripts
feat: improve guest upload UX, restore container SSD replica, and add brrr monitoringsrc
feat(upload): compress dropzone into add-more bar when files are selectedtests
feat: improve guest upload UX, restore container SSD replica, and add brrr monitoring.dockerignore
chore: add .dockerignore to prevent AppleDouble metadata in container builds.gitignore
feat: Add telemetry & storage dashboard, mobile admin UX, and backup automationcomponents.json
Initial commit: CrowdSnapdocker-compose.ssd.yml
feat: Add telemetry & storage dashboard, mobile admin UX, and backup automationdocker-compose.yml
feat: Add telemetry & storage dashboard, mobile admin UX, and backup automationDockerfile
Security, performance, and guest upload hardening for production.eslint.config.mjs
feat: Add telemetry & storage dashboard, mobile admin UX, and backup automationnext.config.ts
chore: Sanitize local usernames, internal IPs, and test domain placeholderspackage-lock.json
Add guest hero banners, storage replica wiring, and dependency upgrades.package.json
feat: Add telemetry & storage dashboard, mobile admin UX, and backup automationpostcss.config.mjs
Initial commit from Create Next Appprisma.config.ts
Initial commit: CrowdSnapREADME.md
feat: Add QR exports, global i18n localization, and dynamic filesize limitstsconfig.json
Initial commit from Create Next AppCrowdSnap
CrowdSnap is a high-performance, self-hosted media drop application designed for weddings and private events. It empowers event hosts to collect full-resolution memories directly from their guests' phones via QR codes, streaming uploads directly to your local hardware without ever touching public cloud storage.
Features
- Guest Upload UI: A beautiful, frictionless dropzone accessible via mobile browser. No app required.
- Client-Side Upload Queuing: Intelligently batches guest uploads sequentially to guarantee the server is never overwhelmed, gracefully handling 5,000+ photo drops dynamically.
- Global Multi-Language Support (i18n): Fully localized natively in 7 languages (English, Dutch, Spanish, French, German, Italian, Portuguese) automatically inherited from browser settings or customized via toggles.
- Local Native Storage: Files stream directly from the HTTP request into native local disk folders via
busboy, achieving zero memory-loading bloat. - Admin Dashboard: NextAuth-protected control panel to create events, manage drop links, set max upload file limits, monitor total disk storage capacity, and safely delete files.
- QR Code Exporter: Natively renders, customizes (White/Black/Transparent background matching), and exports high-resolution scalable vectors (SVG) or PNGs of the drop link QR code for direct printing.
- Streaming ZIP Exports: Admins can download an entire event containing thousands of raw photos as a single packaged
.zipfile—streamed natively to avoid RAM spikes on the Next.js server.
Tech Stack
This project is built using modern production-grade architecture:
- Framework: Next.js 16.1.6 (App Directory) & React 19
- Authentication: NextAuth 4.24
- Database Architecture: Prisma 7.4.1
- Database Engine: PostgreSQL running via Docker (
pgdriver) - Styling: Tailwind CSS 4 + custom shadcn/ui components
- Animations: Framer Motion 12.34
- Image Processing: Sharp 0.34 (for generating instant grid thumbnails)
- Streaming Pipeline:
busboy(for raw multipart data) +archiver(for ZIP streaming)
Security Assurances
CrowdSnap is designed for 100% data ownership:
- There is no
/publicfallback. Files are stored securely in a local/storagevolume on the server. - The guest facing pages (
/p/[eventId]) have no endpoints available to read or list files. A guest can only blindly drop files in. - The Admin pages (
/admin) use absolute file-system read streams protected completely by secureNextAuthsessions.
Setup Instructions
- Clone the repository and install dependencies:
npm install - Setup your environment variables:
Create a
.envfile in the root based on your desired configuration. (EnsureDATABASE_URL,NEXTAUTH_SECRET, andADMIN_PASSWORDare defined). - Start the Database:
docker compose up -d - Push Database Schema:
npx prisma db push - Start the Development Server:
npm run dev
Explore your new local environment at http://localhost:3000/admin.