App Configuration
Storage
Setup database
Vercel Postgres: connected
Setup storage
Authentication
Setup auth
Store auth secret in environment variable:
`AUTH_SECRET`
Setup admin user
Store admin email/password in environment variables:
`ADMIN_EMAIL`
`ADMIN_PASSWORD`
Content
Configure domain
Store in environment variable (seen in top-right nav):
`NEXT_PUBLIC_SITE_DOMAIN`
Add title
Store in environment variable (seen in browser tab):
`NEXT_PUBLIC_SITE_TITLE`
Add description
Store in environment variable (seen in nav, under title):
`NEXT_PUBLIC_SITE_DESCRIPTION`
Add about
Store in environment variable (seen in grid sidebar):
`NEXT_PUBLIC_SITE_ABOUT`
AI text generationOptionalExperimental
Add OpenAI secret key
Store your OpenAI secret key in order to add experimental support for AI-generated text descriptions and enable an invisible field called "Semantic Description" used to support CMD-K search:
`OPENAI_SECRET_KEY`
Enable rate limiting
Create Vercel KV store and connect to project in order to enable rate limiting
Auto-generated fields: all
Comma-separated fields to auto-generate when uploading photos. Accepted values: title, caption, tags, description, all, or none (default is "all"):
`AI_TEXT_AUTO_GENERATED_FIELDS`
SettingsOptional
Grid homepage
Set environment variable to "1" to show grid layout on homepage:
`NEXT_PUBLIC_GRID_HOMEPAGE`
Default theme: system
Set environment variable to 'light' or 'dark' to configure initial theme (defaults to 'system'):
`NEXT_PUBLIC_DEFAULT_THEME`
Pro mode
Set environment variable to "1" to enable higher quality image storage:
`NEXT_PUBLIC_PRO_MODE`
Static optimizationExperimental
Set environment variable to "1" to enable static optimization, i.e., rendering pages and images at build time:
`NEXT_PUBLIC_STATICALLY_OPTIMIZE_PAGES`
`NEXT_PUBLIC_STATICALLY_OPTIMIZE_OG_IMAGES`
Photo matting
Set environment variable to "1" to constrain the size of each photo, and enable a surrounding border:
`NEXT_PUBLIC_MATTE_PHOTOS`
Image blur
Set environment variable to "1" to prevent image blur data being stored and displayed:
`NEXT_PUBLIC_BLUR_DISABLED`
Geo privacy
Set environment variable to "1" to disable collection/display of location-based data:
`NEXT_PUBLIC_GEO_PRIVACY`
Show repo link
Set environment variable to "1" to hide footer link:
`NEXT_PUBLIC_HIDE_REPO_LINK`
Public downloads
Set environment variable to "1" to enable public photo downloads for all visitors:
`NEXT_PUBLIC_ALLOW_PUBLIC_DOWNLOADS`
Public API
Set environment variable to "1" to enable a public API available at
/api:`NEXT_PUBLIC_PUBLIC_API`
Priority order
Set environment variable to "1" to prevent priority order photo field affecting photo order:
`NEXT_PUBLIC_IGNORE_PRIORITY_ORDER`
Show social
Set environment variable to "1" to hide X button from share modal:
`NEXT_PUBLIC_HIDE_SOCIAL`
Show Fujifilm simulations
Set environment variable to "1" to prevent simulations showing up in /grid sidebar and CMD-K results:
`NEXT_PUBLIC_HIDE_FILM_SIMULATIONS`
Show EXIF data
Set environment variable to "1" to hide EXIF data:
`NEXT_PUBLIC_HIDE_EXIF_DATA`
Grid aspect ratio: 1
Set environment variable to any number to enforce aspect ratio (default is "1", i.e., square)—set to "0" to disable:
`NEXT_PUBLIC_GRID_ASPECT_RATIO`
Grid density: low
Set environment variable to "1" to ensure large thumbnails on photo grid views (if not configured, density is based on aspect ratio configuration):
`NEXT_PUBLIC_SHOW_LARGE_THUMBNAILS`
Legacy OG text alignment
Set environment variable to "BOTTOM" to keep OG image text bottom aligned (default is "top"):
`NEXT_PUBLIC_OG_TEXT_ALIGNMENT`
Changes to environment variables require a redeploy or reboot of local dev server
Domain https://exif-photo-blog-git-feat-activity-pub-ugzuzgs-projects.vercel.app
Commit 4cfdb54