all work

09 · an audience of someone else

kin

every guest at an event, and the photographer who shot it.

built with
expo · react native · fastapi · pgvector · cloudflare r2
status
live at kinforphotos.com
links

fig. 09every event you are in

after any large event there is a shared drive with two thousand photographs in it, and finding the eleven you appear in means scrolling all two thousand. the photographer spends the week after answering requests for them.

with kin the photographer uploads the shoot and shares one link or qr code. a guest opens it in any browser, signs in with an email code, takes a selfie, and sees only the photos they are in, under the studio's name. photos added later find them on their own.

the selfie becomes a face signature that is only compared against the events that person joined. a guest can say that is not me, or delete the face data from settings, at any time.

two sides, one account

everyone starts as a guest. becoming a photographer is a separate step: choose a plan, name a studio. after that the same account switches between your photos and your studio.

the studio side creates events, uploads the shoot, and shows which events have people in their photos but no guests yet, so the photographer knows who still needs the link.

guests never have to install anything. the event page works in any browser, and an event can take an optional four digit pin.

how a photo moves

photos go from the photographer's device straight to a private cloudflare r2 bucket, never through kin's server. nobody reads one without a short lived signed link.

a background worker makes a preview, a screen copy and a web copy, and finds every face in it. the queue it pulls from is the postgres database itself, so there is no separate queue service to run.

there is also a desktop uploader for mac and windows. pick a folder and it uploads in the background, checking every file against its sha-256.

the matching

each face becomes a vector of 512 numbers in postgres with pgvector. a guest matches a photo when any face in it is close enough to their selfie.

the search is scoped to one event and is exact rather than approximate, so nobody is ever matched against another event's photos.

where it runs

one server running docker: the web app, the api, the worker and postgres, behind caddy. the database is dumped every hour and an encrypted copy leaves the server.

a deploy backs up the database, switches to the new images, checks each service is healthy, and goes back to the previous version by itself if one is not.

what it looks like

Kin asking a guest for a selfie before showing their photos from Diwali Night, with a take a selfie button and a choose a photo button
one selfie finds a guest in every event they join.
Kin's share sheet for Diwali Night with a QR code, the event link, copy, share, save QR card and invite by email
the whole shoot behind one link and one qr code.
A guest's photos in Kin: Diwali Night, Riya and Arjun's Sangeet, Holi in the Park and Rooftop Dinner, each with its studio, date, city and photo count
every event a guest is in, in one place.
A studio's events in Kin: Diwali Night, Riya and Arjun's Sangeet, Haldi Morning and Family Puja, with a button to add an event
a studio's shoots, under its own name.
Kin's studio profile with the latest event, two events that have people in their photos but no guests yet, and the year's photos, guests and events
which events have faces in them and no guests yet.
Kin settings with the guest's selfie and a retake button, notifications, brand and contact, storage and appearance
the selfie can be retaken or removed from settings.