- TypeScript 52.1%
- Python 46.8%
- CSS 0.4%
- JavaScript 0.4%
- Shell 0.2%
- Other 0.1%
Sentence case for the strings 1.14.0 missed: sort options (File name, Date added, Capture date), Sub-galleries, the download dialog, the password gate and the team-review prompt. Remove keys nothing references anymore (folder-browser leftovers in admin.galleries, two activityLog entries, signOutEverywhere, batchRenameMode, toast.collectionRenamed) from en and de. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mt1P5GrvZtBqV8ckNBeZAW |
||
|---|---|---|
| .github | ||
| .impeccable | ||
| backend | ||
| demo | ||
| deploy/weblate | ||
| docs | ||
| e2e | ||
| frontend | ||
| ml | ||
| scripts | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| ARCHITECTURE.md | ||
| CHANGELOG.md | ||
| CLA.md | ||
| CLAUDE.md | ||
| DESIGN.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| MISTAKES.md | ||
| nginx.conf | ||
| PRODUCT.md | ||
| README.md | ||
| TRANSLATING.md | ||
ContactSheet
Self-hosted photo delivery for photographers — share a shoot with your client via a clean, password-optional link, and let them browse, review, and choose.
User guide · Self-hosting · Architecture · Translating · License
The name nods to the photographer's contact sheet — the single page of thumbnail frames, contact-printed straight from a roll of negatives, used to review a shoot and pick the keepers. ContactSheet is the digital version.
A client gallery in Showcase mode · more screenshots → · placeholder photos via Lorem Picsum (Unsplash; see credits)
About
I built ContactSheet for myself — a self-hosted way to deliver a shoot to clients and let them browse, review, and choose. There's plenty of paid SaaS but little you can run yourself (PICR is one I took inspiration from), so I made my own. I'm not a professional developer and much of it was built with AI assistance (Claude Code) under my direction, so expect the odd rough edge — bug reports are very welcome.
Highlights
- Two gallery modes — Showcase (a polished, view-only gallery) or Review (clients flag, like, comment), with an optional per-gallery switch that lets clients flip a Showcase into Review themselves.
- Client feedback — color flags, 1–5 star ratings, or both side by side (an instance-wide choice), per-person likes, comments, and freehand annotations drawn right on a photo — with a zoom slider in the review lightbox so clients can check detail before deciding.
- Collections — multi-select photos into named, downloadable sets; admin and clients can build them.
- Content search (optional) — find photos by what's in them ("car at sunset"), in a gallery or across your whole library, via an opt-in on-device AI model. Without it, All Photos still browses everything and filters by name, gallery, and IPTC keywords.
- Client uploads — optionally let visitors contribute photos, with an optional approval queue; opt in per gallery to accept large originals and PSD/PSB/TIFF working files.
- Nested galleries — organize shoots to any depth, with drag-and-drop reparenting and photo moves.
- An admin that tells you what changed — galleries with client activity since your last visit are marked New; the overview switches between grid, compact and list, and folders show a mosaic of their sub-galleries' covers.
- Safe re-uploads — uploading a filename that's already in the gallery asks Replace / Keep both / Skip; Replace keeps the photo's comments, ratings and cover status.
- Sharing controls — friendly URL slugs, optional per-gallery passwords, and expiry dates.
- Downloads — original-file download and gallery ZIP export (with a sub-gallery picker).
- Watermarks — image or text overlays composited onto delivered photos; while one is active, clean originals can't be downloaded (ZIPs included).
- Live updates — comments, flags, likes, and new uploads appear in every open viewer in real time.
- Analytics — a per-gallery and instance-wide dashboard for views, downloads, and client engagement over 7 / 30 / 90 days, with trends, a reviewers table, and each gallery's review status.
- Notifications — email, Pushover, ntfy, Discord, Telegram, Slack, or any Apprise URL.
- Video — browser-playable MP4/MOV/WebM, streamed with seek support (no transcoding).
- Branding & PWA — your logo, accent color, and a public footer; installable with a branding-aware app icon.
- Legal pages — publish an imprint and a privacy policy from Settings, linked from every client gallery (handy where an Impressum is mandatory).
- Backup & restore — one-click full-instance backup (database + all media) you can download, and restore in place — in the browser or via CLI.
- Multilingual — English & German out of the box, community-translatable via Weblate.
- Mobile-first — galleries and the admin dashboard reflow to a single column with a native swipe lightbox.
- Capture One plugin (macOS) — publish straight from Capture One into a gallery, with editable export recipes (separate repo).
- Lightroom plugin (macOS + Windows) — publish from Lightroom Classic as a Publish Service with incremental re-publish, and read client picks back into your catalog as color labels / star ratings (separate repo).
See the User guide for the full tour.
Supported formats
Photos: JPEG, PNG, WebP, TIFF, PSD, PSB, and camera RAW (CR2, CR3, NEF, ARW, RAF, ORF, RW2, DNG, and more). Video: MP4, MOV, WebM.
Your original files are always stored and downloaded untouched — the gallery, lightbox, and ZIP exports use fast JPEG previews generated on upload. A few deliberate limits keep the app lean and quick on a modest self-hosted box:
- RAW is previewed from the camera's embedded JPEG — no slow demosaic and no heavyweight RAW engine baked into the image. Modern cameras embed a full-resolution preview; some older compacts embed only a small one, so their preview is lower-res. The original RAW always downloads in full.
- PSD / PSB show the embedded preview (save with Maximize Compatibility so Photoshop includes one); layers aren't read. A PSB without an embedded preview still uploads as a download-only file.
- Video is never transcoded, so it must be a browser-playable container/codec (H.264/VP9/AV1); HEVC/ProRes upload but may not play in-browser.
- Uploads default to a 300 MB per-file limit (
MAX_UPLOAD_BYTES), raised to 8 GB for Photoshop/TIFF working files (MAX_DOCUMENT_BYTES), with a 250 MP resolution ceiling (MAX_IMAGE_PIXELS). A large drag-and-drop batch is split into parts automatically, so folder uploads don't need a proxy reconfiguration.
Quick start
git clone https://github.com/nielsfranke/contactsheet.git
cd contactsheet
cp .env.example .env
docker compose up -d
That's the whole stack — one command brings up three small services (nginx → frontend + backend).
No database server to run: SQLite lives in a volume and migrations apply automatically on start.
Open http://localhost:8765 and the first-run setup wizard walks you through creating your admin
account in the browser — no secrets needed in .env.
Prefer pre-built images?
docker compose pull && docker compose up -d(multi-arch amd64/arm64).
Optional: semantic photo search. Leave it off and the stack is exactly the three services above — recommended on low-power hosts. To turn it on, start the extra ML sidecar with
docker compose --profile ml up -dand setML_SERVICE_URL=http://ml:8001in.env, then enable it under Settings → Content Search. It's opt-in and changes nothing for an existing deploy until you do.
Environment variables, the two-volume layout, reverse-proxy/HTTPS, updating, and backups are all in Self-Hosting and Deployment.
Documentation
| 📖 User guide | Galleries, sharing, client review, branding, settings |
| 🚀 Self-hosting | Docker Compose, env vars, reverse proxy, backups |
| 🛠️ Development | Run the backend & frontend locally |
| 🎞️ Capture One plugin | Publish from Capture One straight into a gallery (macOS) |
| 📸 Lightroom plugin | Publish from Lightroom Classic, with client-picks readback (macOS + Windows) |
| 🏗️ Architecture | Full technical design |
| 🌍 Translating | Help translate the app (no code required) |
Support
ContactSheet is free, open-source, and built in my spare time. If it's useful to you and you'd like to help keep it going, you can buy me a coffee — every bit is appreciated. ☕
License
GNU AGPL-3.0-or-later. ContactSheet is free software — use, modify, and self-host it freely. If you distribute a modified version or run it as a network service, you must release your changes under the same license and make the corresponding source available to your users.
Contributions are welcome under a simple Contributor License Agreement.