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
<script setup lang="ts">
import { en, zh_cn } from '@nuxt/ui/locale'
import { provideCloudUploads } from './composables/useCloudUploads'
const { locale } = useI18n()
provideCloudUploads()
const componentLocale = computed(() =>
locale.value === 'zh-Hans' ? zh_cn : en,
)
useHead(() => ({
htmlAttrs: { lang: locale.value === 'zh-Hans' ? 'zh-CN' : 'en' },
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
bodyAttrs: { class: 'cf-cloud-body' },
}))
</script>
<template>
<UApp :locale="componentLocale">
<div class="cf-root">
<a
href="#main-content"
class="cf-skip-link"
>{{ $t('cloud.messages.skipToContent') }}</a
><NuxtLoadingIndicator color="var(--cf-primary)" /><NuxtLayout
><NuxtPage
/></NuxtLayout>
<CloudTransferPanel />
</div>
</UApp>
</template>