Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing: Collect views, visits, and downloads statistics on shared albums. #2607

Open
LeehamElectronics opened this issue Aug 12, 2022 · 1 comment
Labels
idea Feedback wanted / feature request

Comments

@LeehamElectronics
Copy link
Sponsor

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.
image

Thanks for reading

@LeehamElectronics LeehamElectronics added the idea Feedback wanted / feature request label Aug 12, 2022
@LeehamElectronics LeehamElectronics changed the title Category: Short Description (PLEASE CHANGE) Sharing: Collect views, visits, and downloads statistics on shared albums. Aug 12, 2022
@darkpixel
Copy link

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:

  • Your most photographed person is "Sue" with 1234 pictures
  • Your most active year was 2018 with 54567 pictures
  • Your most active month for taking pictures is December with 76263 pictures
  • Your most active day was February 31st 2023 with 421 pictures taken

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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Feedback wanted / feature request
Projects
Status: Ideas 💭
Development

No branches or pull requests

2 participants