Modern photo gallery for photographers, with S3/GitHub sync, EXIF details, maps, and a WebGL viewer.
Modern photo gallery for photographers, with S3/GitHub sync, EXIF details, maps, and a WebGL viewer.
Afilmory
A modern, high-performance photo gallery platform for photographers
Official SaaS • Documentation • Live Examples • Self-Hosting
Afilmory (/əˈfɪlməri/, "uh-FIL-muh-ree") is a comprehensive photo gallery solution that combines Auto Focus (AF), Aperture (light control), Film (vintage medium), and Memory (captured moments). Built with React + TypeScript, it offers automatic photo synchronization from multiple storage sources, high-performance WebGL rendering, and professional EXIF metadata display.
** Get Started at afilmory.art** - Zero setup, live in minutes!
The easiest way to create your photo gallery. No deployment, no servers, no maintenance required.
Why Choose SaaS?
For developers who need full control over their deployment:
Docker (Recommended)
# See our Docker deployment guide
https://github.com/Afilmory/dockerManual Installation
# 1. Clone and install
git clone https://github.com/Afilmory/Afilmory.git
cd Afilmory
pnpm install
# 2. Configure
cp config.example.json config.json
cp builder.config.default.ts builder.config.ts
# Edit both files with your settings
# 3. Build manifest and thumbnails
pnpm run build:manifest
# 4. Start the application
pnpm devFor detailed self-hosting instructions, see DEVELOPMENT.md and Documentation.
See Afilmory in action:
…Designed with adapter pattern for flexibility:
# Install dependencies
pnpm install
# Copy configuration files
cp config.example.json config.json
cp builder.config.default.ts builder.config.ts
# Set up environment variables
cp .env.template .env
# Edit .env with your credentials…config.json - Site presentation config:
{
"name": "My Gallery",
"title": "My Photography",
"description": "Capturing beautiful moments",
"url": "https://gallery.example.com",
"accentColor": "#007bff",
"author": {
"name": "Your Name",
"url": "https://example.com",
"avatar": "https://example.com/avatar.jpg"
},
"social": {
"github": "username",
"twitter": "username"
},
"map": ["maplibre"],
"mapStyle": "builtin",
"mapProjection": "mercator"
}builder.config.ts - Photo processing config:
import { defineBuilderConfig } from '@afilmory/builder'
export default defineBuilderConfig(() => ({
storage: {
provider: 's3',
bucket: 'my-photos',
region: 'us-east-1',
// ... other S3 settings
},
system: {
processing: {
defaultConcurrency: 10,
enableLivePhotoDetection: true,
},
observability: {
showProgress: true,
showDetailedStats: true,
},
},
}))Implement the StorageProvider interface:
import { StorageProvider } from '@afilmory/builder'
class MyStorageProvider implements StorageProvider {
async getFile(key: string): Promise<Buffer | null> {
// Your implementation
}
async listImages(): Promise<StorageObject[]> {
// Your implementation
}
// ... other required methods
}Create a plugin for the build pipeline:
import { BuilderPlugin } from '@afilmory/builder'
export const myPlugin = (): BuilderPlugin => ({
name: 'my-plugin',
async onBeforeBuild(context) {
// Pre-build hook
},
async onAfterBuild(context) {
// Post-build hook
},
})We welcome contributions! Please see our Contributing Guide for details.
git checkout -b feature/amazing-feature)pnpm test && pnpm lint)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)Attribution Network License (ANL) v1.0 © 2025 Afilmory Team
See LICENSE for more details.
Built with love by the Afilmory team and contributors. Special thanks to all photographers using Afilmory to share their work with the world.
If this project helps you, please give it a ⭐️ Star!
No open issues yet, or sync has not completed.