mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
Sharing: Collect views, visits, and downloads statistics on shared albums. #1526
Labels
No labels
ai
android
api
auth
awesome
bug
bug
ci
cli
config
database
declined
deprecated
docker
docs 📚
documents
duplicate
easy
enhancement
enhancement
enhancement
epic
faces
feedback wanted
frontend
hacktoberfest
help wanted
idea
in-progress
incomplete
index
invalid
ios
labels
live
live
low-priority
macos
member-feature
metadata
mobile
nas
needs-analysis
no-coding-required
no-coding-required
observability
performance
places
please-test
plus-feature
priority
pro-feature
question
raspberry-pi
raw
released
released
released
research
resolved
security
sharing
tested
tests
third-party-issue
thumbnails
upgrade
upstream-issue
ux
vector
video
waiting
won't fix
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism#1526
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LeehamElectronics on GitHub (Aug 11, 2022).
Is your feature request related to a problem? Please describe.
Not enough statistics
Description:
I have a few shared albums and I would like to know how many times they have been viewed and downloaded and how many unique visitors have visited the album share link. This would be great to just have some basic stats on your shared media, and it would also be good for testing security and keeping an eye on things, for example, if PhotoPrism reported back saying the Album x has had 100GB downloaded from 500 unique clients (IP's) then I would probably be a bit concerned that the album link was shared with too many people. I have tried doing this myself with NGINX logs and graphing software but it doesn't work very well.
Describe the solution you'd like
In the Album share setting window, a simple dialogue box that shows statistics on how many unique visitors the album link has and the total download traffic. Perhaps an additional button that shows a list of IP addresses that have requested the album link and how much data they pulled, maybe in a CSV form that can be downloaded. That's what would need to be done for the front end, for the back end a few simple counters would need to be made, counters for unique visitors (IP's) per album share link and a counter for the traffic upload per share link / IP.
Describe alternatives you've considered
I tried using NGINX goaccess log web panel but it's not a great solution and is very hard to navigate.
Additional context

Perhaps place the statistics button somewhere here? Upon being pressed, a new dialogue box opens showing the statistics mentioned.
Thanks for reading
@darkpixel commented on GitHub (Jun 20, 2024):
Honestly, I'd love to see this expanded on. I dug around and did a few searches but came up blank.
I would love to have a "stats" page in PhotoPrism that shows the size of all the images, number of images, size of the database, maybe some 'fun' breakdowns with the various areas:
It'd be a neat diversion...plus maybe there could be an "opt in" section to anonymously send some of those stats to the PhotoPrism site....see who gets the high score. :)