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
import { definePlatformHandler } from '../../../../../../shared/platform/runtime'
import { publicSiteContext } from '../../../../../../shared/platform/context'
import { visitorAccess } from '../../../../../../shared/platform/visitor'
export default definePlatformHandler(async (event) =>
visitorAccess(
event,
await publicSiteContext(event),
Number(getRouterParam(event, 'albumId')),
useRuntimeConfig(event).platform.secret,
),
)