MCPcopy Index your code
hub / github.com/bpatrik/pigallery2

github.com/bpatrik/pigallery2 @3.5.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.5.2 ↗ · + Follow
2,873 symbols 6,717 edges 386 files 67 documented · 2% updated 3d ago3.5.2 · 2026-01-24★ 2,228144 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PiGallery2

GitHub package.json version Coverage Status Docker build

PiGallery2 is a fast directory-first photo gallery website, optimized for running on low-resource servers (especially on Raspberry Pi).

🚀 Key Features

  • ⚡ Fast: Optimized for low-end hardware.
  • ✔️ Simple: Point to your photos and you are ready.
  • 📁 Directory-first: Shows your folder structure as it is.
  • Read-only: Your photo folder is never modified.

Full documentation here.

Try our live demo! (First load may take up to 60s while the server boots up)

🏁 Getting Started

The official and recommended way to run PiGallery2 is using Docker.

Install with Docker (Recommended)

Native Installation (Unsupported)

Native installation is possible for users familiar with Node.js but is not officially supported.

📖 Documentation

For more detailed information, please see our Documentation Website or the docs/ folder: - FAQ (Frequently Asked Questions) - Configuration Guide - User Rights - Contribution Guide

🤝 Contributing

Contributions are welcome! Please read our Contribution Guide to get started.

⭐ Star History

Star History Chart

📜 License

PiGallery2 is licensed under the MIT License.

Extension points exported contracts — how you extend this code

IServerExtension (Interface)
(no doc) [20 implementers]
src/backend/model/extension/IExtension.ts
IRenderable (Interface)
(no doc) [4 implementers]
src/frontend/app/model/IRenderable.ts
SortingMethod (Interface)
(no doc) [2 implementers]
src/common/entities/SortingMethods.ts
BenchmarkStep (Interface)
(no doc)
benchmark/Benchmark.ts
BenchmarkResult (Interface)
(no doc)
benchmark/BenchmarkRunner.ts
Object (Interface)
(no doc)
test/backend/integration/routers/GalleryRouter.spec.ts
Chainable (Interface)
(no doc)
test/cypress/support/component.ts
IObjectManager (Interface)
(no doc) [5 implementers]
src/backend/model/database/IObjectManager.ts

Core symbols most depended-on inside this repo

clone
called by 231
src/common/Utils.ts
get
called by 195
src/common/Utils.ts
getInstance
called by 134
src/backend/server.ts
getInstance
called by 124
src/backend/model/ObjectManagers.ts
toString
called by 120
src/common/entities/Error.ts
getConnection
called by 112
src/backend/model/database/SQLConnection.ts
stringify
called by 100
src/common/SearchQueryParser.ts
search
called by 92
src/backend/middlewares/GalleryMWs.ts

Shape

Method 1,750
Class 804
Interface 146
Function 140
Enum 33

Languages

TypeScript100%

Modules by API surface

src/common/config/public/ClientConfig.ts89 symbols
src/common/config/private/PrivateConfig.ts64 symbols
src/common/Utils.ts55 symbols
src/frontend/app/ui/gallery/lightbox/lightbox.gallery.component.spec.ts43 symbols
src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.ts37 symbols
src/frontend/app/ui/gallery/lightbox/lightbox.gallery.component.ts34 symbols
src/frontend/app/ui/gallery/gallery.component.spec.ts33 symbols
src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.ts31 symbols
src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.ts30 symbols
src/frontend/app/ui/gallery/cache.gallery.service.ts30 symbols
src/frontend/app/ui/gallery/thumbnailManager.service.ts29 symbols
src/frontend/app/ui/settings/workflow/workflow.component.ts27 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page