Tenrankai

ε±•θ¦§δΌš - Your Photos, Your Server, No Database

Drop photos into folders and get a gallery. Sync with SyncThing and your site updates automatically. A gallery, CMS, and blog platform built with Rust that handles thousands of images efficiently.

GitHub stars Apache 2.0 License

Why Choose Tenrankai?

πŸ“ Just Files & Folders

No database, no complexity. Drop files in folders or upload via browser. Perfect for SyncThing workflows or web-based management.

☁️ Cloud Native

Full S3 storage support for galleries, caches, and assets. Hybrid local/cloud configurations with signed URL redirects.

🌐 Multi-Site Hosting

Serve multiple sites from one instance with virtual hosts. Per-site templates, galleries, and auth. Hot reload without downtime.

🌈 HDR & Color Accurate

Native iPhone HEIC and Adobe Lightroom HDR support. Full AVIF pipeline with gain maps preserved. ICC profiles and Display P3 ready.

⚑ Fast by Default

Built with Rust and Axum. Concurrent image processing, intelligent caching, and pre-generation for instant page loads.

πŸ“Έ Smart Processing

RAW file association and image versions. Automatic resizing with retina support. WebP/AVIF conversion and AI analysis.

🎨 Beautiful Galleries

Responsive masonry layout with CSS theming. Markdown descriptions. Multiple independent galleries with custom permissions.

πŸ“ Built-in CMS

Markdown-based blog system with TOML frontmatter. Inline content editing with rich text editor. Multiple independent blogs.

πŸ”’ Modern Authentication

WebAuthn/Passkey support with biometric login. Pluggable user storage (TOML, SQLite, PostgreSQL, DynamoDB). Role-based permissions.

πŸ› οΈ Admin UI

Web admin for users, galleries, and visual theme editor. Upload and manage images in-browser. CLI tools and REST API.

See It In Action

This website is powered by Tenrankai. Check out our demo gallery below:

Set Up Your Gallery in 5 Minutes

Tenrankai is open source under the Apache 2.0 license. Clone, build, and serve your first gallery today.