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
/** Keep SSR host decisions consistent with the original Worker request. */
export function useCloudRequestURL() {
const request = import.meta.server
? (useRequestEvent()?.context.cloudflare?.request as Request | undefined)
: undefined
return request ? new URL(request.url) : useRequestURL()
}