Files
immich-folio/README.md

74 lines
1.9 KiB
Markdown
Raw Normal View History

# Immich Folio
2026-02-13 23:26:37 +01:00
A self-hosted photography portfolio powered by [Immich](https://immich.app). Turns your Immich albums into a beautiful, public-facing gallery — no database required.
2026-02-13 23:26:37 +01:00
## Features
- **Portfolio-style navigation** — horizontal nav bar with all your collections
- **Split hero homepage** — configurable hero image with navigation links
- **Subpage grouping** — organize albums under named collections (e.g. `/japan/tokyo-2023`)
- **Image proxy** — serves Immich assets without exposing your server or API key
- **Obfuscated URLs** — asset IDs are encrypted, never exposed to the public
- **Masonry photo grid** — responsive layout with lightbox viewer
- **EXIF metadata** — camera, lens, and settings displayed on demand
- **Aggressive caching** — configurable TTL for fast repeat loads
## Quick Start
2026-02-13 23:26:37 +01:00
```bash
# Clone and install
git clone https://github.com/YOUR_USER/immich-lightbox.git
cd immich-lightbox
npm install
# Configure
cp .env.local.example .env.local
# Edit .env.local with your Immich server details
# Run
2026-02-13 23:26:37 +01:00
npm run dev
```
## Configuration
2026-02-13 23:26:37 +01:00
All configuration is done via environment variables in `.env.local`:
2026-02-13 23:26:37 +01:00
```env
# Required
IMMICH_API_URL=http://your-immich-server:2283
IMMICH_API_KEY=your-api-key
2026-02-13 23:26:37 +01:00
# Albums to publish (comma-separated UUIDs, optional labels)
LIGHTBOX_ALBUMS=Wedding:uuid-1, Vacation:uuid-2
2026-02-13 23:26:37 +01:00
# Group albums into subpages (one per line, wrap in quotes)
LIGHTBOX_SUBPAGES="
Japan > uuid-tokyo, uuid-kyoto
Italy > uuid-rome, uuid-florence
"
2026-02-13 23:26:37 +01:00
# Optional
SITE_TITLE=My Portfolio
SITE_SUBTITLE=Photography
HERO_IMAGE=asset-uuid-for-homepage
CACHE_TTL=300
```
2026-02-13 23:26:37 +01:00
## Tech Stack
2026-02-13 23:26:37 +01:00
- **Next.js 16** (App Router)
- **React 19**
- **TypeScript**
- **Vanilla CSS** (no framework)
## Docker
```bash
docker build -t immich-lightbox .
docker run -p 3000:3000 --env-file .env.local immich-lightbox
```
2026-02-13 23:26:37 +01:00
## License
2026-02-13 23:26:37 +01:00
Private — all rights reserved.