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
export function useHomeView() {
const preference = useSettingRef('app:homeView')
const homeView = computed(() =>
preference.value === 'albums' ? 'albums' : 'photos',
)
return {
homeView,
photoWallPath: computed(() =>
homeView.value === 'albums' ? '/photos' : '/',
),
albumListPath: computed(() =>
homeView.value === 'albums' ? '/' : '/albums',
),
}
}