Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
/**
* Avatar upload constraints shared by the client-side uploader and the
* server-side endpoint, so validation stays in sync.
*/
export const AVATAR_ALLOWED_MIME_TYPES = [
'image/jpeg',
'image/png',
'image/webp',
'image/gif',
] as const
export const AVATAR_MAX_INPUT_BYTES = 5 * 1024 * 1024 // 5 MB