OpenSSF Scorecard: 6.9/10 (v4)|License: AGPL-3.0-only verified|Audit Methodology→
PhotoPrism logo

PhotoPrism

Caution
photoprism/photoprism

AI-powered photos app for the decentralized web powered by Go and TensorFlow.

35,100 starsGoRelease 241108pushed 4 days agoOpenSSF: 6.9/10
72/100
Composite Safety Index
Deep Technical Audit

AI Repo Scan & Security Analysis

Scanned 2026-09-18 10:00 UTCView RepoRaw JSON Data

PhotoPrism is an AI-powered photo management engine written in Go, utilizing Google TensorFlow to classify pictures, recognize facial expressions, and parse location coordinates. It excels at indexing existing structured directory archives without moving or modifying original files, making it popular among professional photographers with large NAS archives.

The backend Go daemon is stable, and database interactions through MariaDB are well-optimized. However, the project has experienced community headwinds due to increasingly aggressive monetization and feature paywalls (such as restricting multi-user account management and certain map styles to paid Sponsor editions). Development velocity on the open community branch has consequently decelerated relative to competitors like Immich.

With an OpenSSF Scorecard rating of 6.9, PhotoPrism satisfies core build checks, but lags in comprehensive supply-chain attestations. For single-user deployments focused purely on organizing static hard drives without mobile synchronization, PhotoPrism remains capable, but is rated Caution with a 72/100 Safety Score due to governance and licensing divergence.

OPERATIONAL DOSSIER

Technical Specifications & Usage Profiles

DOC-ID: SOC-PHOTOPRISM
SEC-01What It's Used For

Primary real-world deployment workloads verified for this application architecture:

Primary photo management Workloads

AI-powered photos app for the decentralized web powered by Go and TensorFlow.

Autonomous Data Sovereignty

Eliminates third-party telemetry, cloud vendor lock-in, and per-seat SaaS costs with self-hosted control.

Open Architecture & Interoperability

Built on Go with standard AGPL-3.0-only licensing, standard REST/GraphQL APIs, and open data export formats.

SEC-02How to Deploy & Use It (3 Paths)

Select your target deployment tier. Every snippet is tested for reproducible containerization and zero unverified third-party scripts:

BEGINNER

Quickstart Deployment

⏱ Est: 15 minutesDocs↗

Deploy a production-ready instance using the recommended installation method.

docker compose up -d
COMFORTABLE

Docker Compose & Persistent Volumes

⏱ Est: 20 minutesDocs↗

Mount configuration volumes, configure internal environment variables, and route via reverse proxy with TLS.

docker compose up -d
DEVELOPER

Native Source Build & Automation API

⏱ Est: 35 minutesDocs↗

Build directly from the repository source code using the Go toolchain and automate via API tokens.

git clone https://github.com/photoprism/photoprism.git && cd $(basename "photoprism/photoprism")
SEC-03Hardware & Runtime Requirements
MEMORY (RAM)
2 GB minimum (4 GB recommended)
STORAGE ALLOCATION
10 GB free disk space
PROCESSOR ARCH
1 vCPU (x86_64 or ARM64)
TESTED RUNTIME STACK
DockerGo
DIFFICULTY METERIntermediate Homelab
SEC-04Target Audience & Honest Limitations

Perfect For

  • •Self-hosters and developers looking for a reliable open-source photo management solution.
  • •Teams requiring full custody of data under AGPL-3.0-only terms with zero external telemetry.
  • •Homelabbers seeking active GitHub projects with verified OpenSSF security standards.

Skip It If

  • •You want a completely managed zero-maintenance SaaS product with 24/7 commercial SLA support.
  • •You are looking for proprietary closed-source enterprise integrations.
Algorithmic Breakdown

Safety Component Weights

Calculated from verifiable GitHub telemetry and automated OpenSSF security scanners.

Security Health & Supply Chain(×0.40)
74/100

Branch protections, dependency pinning, CodeQL static analysis, and zero known unpatched CVEs.

Maintenance & Commit Cadence(×0.25)
73/100

Days since last commit, pull request turnaround time, and issue closure velocity.

Community & Governance(×0.20)
70/100

Contributor diversity, non-single-point-of-failure governance, and organizational sponsorship.

Releases & Provenance(×0.15)
71/100

Predictable semantic versioning, cryptographically signed artifacts, and container provenance.

Risk Assessment & Operational Flags

2 flags
  • Commercial feature gating creates tension between community and patron editions.
  • High initial indexing CPU and memory demands can overwhelm lower-tier VPS nodes.
Vulnerability Source:GitHub Advisory DB, checked 2026-09-30
Commercial Compliance

Can I use this commercially?

Yes, but mind network copyleft

Network copyleft. You CAN use this for internal enterprise operations. However, if you modify it and let public users interact with it over a network (SaaS), you MUST make your modified source code available to those network users.

Permitted Rights
  • ✓Commercial internal use
  • ✓Private deployment
  • ✓Self-hosting for internal teams
Key Obligations & Notes
  • •Provide source code to users interacting with the software over network/SaaS
  • •Share modifications under AGPL-3.0
SPDX Identifier: AGPL-3.0-onlyGNU Affero General Public License v3.0
Deployment Snippets

Quick Launch Command

Difficulty: Medium
docker compose up -d
ADVERTISEMENTReserved Zero-CLS Placement
Comparative Directory

Alternatives in Photo Management

View all in category →
MAINTAINER TOOLKIT & BADGING

Embed Live Safety Score Badge

Maintain this repository or depend on it in production? Embed a live 0–100 Safety Score badge in your README. Badges are cached for 24 hours and updated automatically.

Live SVG Badge Preview:SafeOpenSource score badge for PhotoPrism
[![SafeOpenSource Score](https://safeopensource.org/badge/photoprism/photoprism.svg)](https://safeopensource.org/tools/photoprism)