MCPcopy
hub / github.com/photoprism/photoprism

github.com/photoprism/photoprism @260601-a7d098548 sqlite

repository ↗ · DeepWiki ↗ · release 260601-a7d098548 ↗
10,984 symbols 72,108 edges 2,575 files 5,490 documented · 50%
README

PhotoPrism: Browse Your Life in Pictures

License: AGPL Documentation Community Chat GitHub Discussions Bluesky Social Mastodon

PhotoPrism® is an AI-Powered Photos App for the Decentralized Web. It makes use of the latest technologies to tag and find pictures automatically without getting in your way. You can run it at home, on a private server, or in the cloud.

To get a first impression, you are welcome to play with our public demo. Please be careful not to upload any private, unlawful or offensive pictures.

Feature Overview

Our mission is to provide the most user- and privacy-friendly solution to keep your pictures organized and accessible. That's why PhotoPrism was built from the ground up to run wherever you need it, without compromising freedom, privacy, or functionality:

Being completely self-funded and independent, we can promise you that we will never sell your data and that we will always be transparent about our software and services. Your data will never be shared with Google, Amazon, Microsoft or Apple unless you intentionally upload files to one of their services. 🔒

Getting Started

Step-by-step installation instructions for our self-hosted community edition can be found on docs.photoprism.app - all you need is a Web browser and Docker to run the server. It is available for Mac, Linux, and Windows.

The stable releases and development preview are available as a multi-arch image for 64-bit AMD, Intel, and ARM processors. That means, Raspberry Pi and Apple Silicon users enjoy the exact same functionality and can follow the same installation steps.

See our Getting Started FAQ for alternative installation methods, for example using the tar.gz packages we provide.

Support Our Mission 💎

PhotoPrism is 100% self-funded and independent. Your continued support helps us provide more features to the public, release regular updates, and remain independent!

Our members enjoy additional features, including access to interactive world maps, and can join our private chat room to connect with our team. We currently have the following membership options:

  • You can sign up directly on our website and pay with credit card or SEPA through Stripe, so you don't need to link an external account and can easily upgrade or downgrade at any time
  • Alternatively, Patreon also supports PayPal, additional currencies, and lets you choose between monthly and annual billing for all tiers

If you currently support us through GitHub Sponsors, you can also register on our website and use the Activate GitHub Sponsors Membership button to link your account. For details on this and how to link your Patreon account, see our Activation Guide.

You are welcome to contact us for change requests, membership questions, and business partnerships.

View Membership FAQ ›Sign Up ›

Why Your Support Matters

  • Your continued support helps us provide regular updates and remain independent, so we can fulfill our mission and protect your privacy
  • Sustained funding is key to quickly releasing new features requested by you and other community members
  • Being self-funded and independent, we can personally promise you that we will never sell your data and that we will always be transparent about our software and services

Please also leave a star on GitHub if you like this project. It provides additional motivation to keep going.

A big thank you to all current and past sponsors, whose generous support has been and continues to be essential to the success of the project!

View Sponsors ›View Credits ›

Getting Support

Visit docs.photoprism.app/user-guide to learn how to sync, organize, and share your pictures. If you need help installing our software at home, you are welcome to post your question in GitHub Discussions or ask in our Community Chat. Common problems can be quickly diagnosed and solved using our Troubleshooting Checklists. Eligible members are also welcome to email us for technical support and advice.

Upcoming Features and Enhancements

Our Project Roadmap shows what tasks are in progress and what features will be implemented next. You are invited to give ideas you like a thumbs-up, so we know what's most popular.

Be aware that we have a zero-bug policy and do our best to help users when they need support or have other questions. This comes at a price though, as we can't give exact release dates for new features. Our team receives many more requests than can be implemented, so we want to emphasize that we are in no way obligated to implement the features, enhancements, or other changes you request. We do, however, appreciate your feedback and carefully consider all requests.

Because sustained funding is key to quickly releasing new features, we encourage you to support our mission by signing up for a personal membership or purchasing a commercial license.

Become a Member ›

GitHub Issues ⚠️

We kindly ask you not to report bugs via GitHub Issues unless you are certain to have found a fully reproducible and previously unreported issue that must be fixed directly in the app. Thank you for your careful consideration!

Connect with the Community

Follow us on Mastodon, Bluesky, or join the Community Chat to get regular updates, connect with other users, and discuss your ideas. Our Code of Conduct explains the "dos and don’ts" when interacting with other community members.

As a contributor, you are also welcome to contact us directly if you have something on your mind that you don't want to discuss publicly. Please note, however, that due to the high volume of emails we receive, our team may be unable to get back to you immediately. We do our best to respond within five business days or less.

Every Contribution Makes a Difference

We welcome contributions of any kind, including blog posts, tutorials, translations, testing, writing documentation, and pull requests. Our Developer Guide contains all the information necessary for you to get started.


*PhotoPrism® is a registered trademark. By using the software and services we provide, you agree to our Terms of Service, [Privacy Policy](https://www.photoprism.app/p

Extension points exported contracts — how you extend this code

SearchForm (Interface)
SearchForm defines the minimal interface for query string parsing. [11 implementers]
internal/form/search.go
ResponseParser (Interface)
ResponseParser parses a raw engine response into the generic ApiResponse structure. [4 implementers]
internal/ai/vision/engine.go
Gorm (Interface)
Gorm is a gorm.DB connection provider interface. [3 implementers]
internal/entity/db_conn.go
Clusterer (Interface)
Clusterer defines the operation of learning common for all algorithms [2 implementers]
pkg/vector/alg/clusters.go
Registry (Interface)
Registry abstracts cluster node persistence so we can back it with auth_clients. Implementations should be Portal-local [1 …
internal/service/cluster/registry/registry.go
Logger (Interface)
Logger is a logrus compatible logger interface. [1 implementers]
internal/event/logger.go
IgnoreLogFunc (FuncType)
IgnoreLogFunc logs ignored file names.
pkg/fs/ignore.go
RequestBuilder (Interface)
RequestBuilder builds an API request for an engine based on the model configuration and input files. [2 implementers]
internal/ai/vision/engine.go

Core symbols most depended-on inside this repo

Run
called by 9658
internal/ai/face/model.go
Equal
called by 6620
internal/auth/acl/role.go
Fatal
called by 5229
internal/event/logger.go
Equal
called by 3481
internal/entity/auth_user.go
Photos
called by 2337
internal/entity/search/photos.go
Len
called by 2239
internal/photoprism/label.go
Equal
called by 1924
pkg/rnd/type.go
Errorf
called by 1773
internal/event/logger.go

Shape

Function 6,531
Method 3,674
Struct 442
TypeAlias 184
Class 128
Interface 22
FuncType 3

Languages

Go87%
TypeScript13%

Modules by API surface

assets/static/plugins/maplibre-gl-rtl-text/v0.2.3/maplibre-gl-rtl-text.js207 symbols
internal/photoprism/mediafile.go116 symbols
pkg/list/ordered/map_test.go102 symbols
internal/entity/auth_user.go97 symbols
internal/entity/auth_session.go87 symbols
frontend/src/model/photo.js80 symbols
internal/entity/photo.go75 symbols
internal/photoprism/mediafile_test.go73 symbols
internal/entity/auth_user_test.go71 symbols
frontend/src/common/session.js68 symbols
frontend/src/common/config.js66 symbols
docker/dummy/oidc/app/mock/storage.go64 symbols

Dependencies from manifests, versioned

filippo.io/edwards25519v1.2.0 · 1×
github.com/Azure/go-ntlmsspv0.1.1 · 1×
github.com/IGLOU-EU/go-wildcardv1.0.3 · 1×
github.com/KyleBanks/depthv1.2.1 · 1×
github.com/abema/go-mp4v1.6.0 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/bmatcuk/doublestar/v4v4.10.0 · 1×
github.com/boombuler/barcodev1.1.0 · 1×
github.com/bytedance/gopkgv0.1.4 · 1×
github.com/bytedance/sonicv1.15.1 · 1×
github.com/bytedance/sonic/loaderv0.5.1 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×

Datastores touched

(mysql)Database · 1 repos
dbDatabase · 1 repos
photoprismDatabase · 1 repos
appDatabase · 1 repos
mydbDatabase · 1 repos

For agents

$ claude mcp add photoprism \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact