SequencesSequences
Download SVG

Forensic - Image Pin and Autosave

BH | Sep 25, 2026 · 09:34 PM
Forensic - Image Pin and AutosaveOwnerForensic SPAIndexedDBVercel APIPostgreSQLDrop a photo on …1Downscale to 1800 px, encode WebP2POST /api/images (bytes, own request)3Verify owner session cookie4INSERT board_images5id6/api/images/id (about 30 bytes)7Pin node, src = /api/images/id, push undo snapshot8Save draft (350 …9PUT /api/boards/:id (1100 ms debounce or C…10Verify owner session, rate limit11UPDATE boards SET data …12ok13200 saved14Reopen the board…15GET /api/boards/:id16Read draft17Draft newer than server copy wins, then autosave pushes it18OwnerForensic SPAIndexedDBVercel APIPostgreSQL