Popular Repositories table is dynamically updated whenever a launch happens on GESIS binder. GESIS binder uses a patched version of Event Logging, so it makes a post request to gallery app which saves the event into a database. Clicking a row on the table displays description of the repo (but only github repos) if available.
Repos in Created by GESIS and Featured Projects tables are manual selections of GESIS people.
When you open the gallery, you will see that there is a dropdown list of binders (GESIS, mybinder.org and Pangeo). Selecting a binder updates badge urls, so users can launch a repo from the gallery on preffered binder. The selection is also saved into a cookie.
When you open the gallery, you see that there are 5 tabs under Popular Repos: Last 24 Hours, Last week, Last 30 days, Last days and All time. For example for last 24 hours, from database we get launches happened in last 24 hours, count number of launches per repo and order them.
Soon we will also have an API and one endpoint will be something like /api/popuplar_repos/<from_datetime>/<to_datetime> and it will be possible to get popular repos of a specific day.
Note: Tabs for last 30 days and 60 days have the same data right now, because the new gallery is up since 10.05.2019.
I am wondering - would you be open to publishing events from the GESIS binder to archive.analytics.mybinder.org? We should add an ‘origin’ field, and have this be a nice aggregate space. I have a local patch that is a WIP towards this - we need this for the OVH cluster anyway. It is fairly minimal work both for us and you.
Do you mean that we send events to your StackDriver and your analytics-publisher makes archives and publish them or ? I think we also need permissions to do that.
yup! The idea being we’ll make you a scoped service key that lets you send events to our stackdriver, and then our analytics-publisher can continue doing its job. We’ll add an ‘origin’ field to the event schema to make sure we know where it comes from. How does that sound?
One request: can you update the drop down menu to only offer “mybinder.org” as launch location instead of the individuals clusters? We want to prevent as much as possible people relying on any particular cluster (via bookmarking, sharing links, etc.)