bpatrik/pigallery2
关于
一个快速、以目录为核心的照片图库网站,界面丰富,针对低资源服务器运行进行了优化,尤其适合 Raspberry Pi。
设计与媒体可以做什么
- ⚡ Fast: optimized for low-end hardware.
- ✔️ Simple: point it to your photos and you are ready.
- 📁 Directory-first: shows your folder structure as it is.
- Optional uploads (off by default) only add new files, never overwrite.
实测星标增长
- 24小时
- 0
- 7天
- +6
- 15天
- +24
- 1个月
- +44
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PiGallery2
A fast, directory-first, self-hosted photo gallery, built for low-resource servers like the Raspberry Pi. Point it at your photo folder and browse it as it is: PiGallery2 never modifies your photos.
Documentation · Live demo (the demo server sleeps when idle, so the first load may take up to 60 seconds)

🚀 Key features
- ⚡ Fast: optimized for low-end hardware.
- ✔️ Simple: point it to your photos and you are ready.
- 📁 Directory-first: shows your folder structure as it is.
- 🔒 Read-only: your photos are never modified.
- Optional uploads (off by default) only add new files, never overwrite.
Map, search, sharing, albums, faces, uploads and more: see the full feature list.
🏁 Getting started
Docker is the supported way to run PiGallery2 (amd64 and arm64v8 images):
docker run -d -p 80:80 \
-v <config folder>:/app/data/config \
-v <db folder>:/app/data/db \
-v <photos folder>:/app/data/images:ro \
-v <temp folder>:/app/data/tmp \
bpatrik/pigallery2:latest
Then open http://localhost, log in with admin / admin and change the password in the settings.
PiGallery2 does not rate limit requests itself, so put a reverse proxy in front of it before you expose it to the internet. The Docker guide has a docker-compose setup with nginx and HTTPS. A native install is possible, but not supported.
📖 Documentation
📱 Apps & 3rd party tools
- Install it as an app: PiGallery2 is a PWA, so you can install it on your phone as it is (browser menu -> Add to Home screen).
- Extensions: community extensions that you can install from the settings page.
- Native Android app: a community-made Android (and Android TV) client.
3rd party tools are not maintained by me, and I take no responsibility for them. More details.
🤝 Contributing
Bug fixes are welcome. I mostly merge bug fixes: to keep the app simple, a new feature should be a setting, a theme or an extension when possible. Please read the contribution guide before you start. Using an AI coding agent? See AGENTS.md.
❤️ Support
PiGallery2 is free, and I build it alone in my free time, which, since my daughter was born, mostly means nap time 👶. WebStorm and AI coding agents help me make the most of those short windows.
If PiGallery2 makes your photos a bit nicer to browse, consider ❤️ sponsoring me on GitHub or ☕ buying me a coffee on Ko-fi. A coffee is plenty, and pizza or a date night with my wife is even better 🍕.
Star history
License
探索相关项目
加载中…