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 { eventHandler, type EventHandler } from 'h3'
import { settingsManager } from '../services/settings/settingsManager'
import { createWizardGuard } from '../services/wizard-guard'
const guard = createWizardGuard(() =>
settingsManager.get('system', 'firstLaunch'),
)
export function defineWizardHandler(handler: EventHandler) {
return eventHandler((event) => guard(() => handler(event)))
}