https://github.com/specify/sp7-stats
Dashboard for analyzing Specify 7 usage statistics
https://github.com/specify/sp7-stats
Last synced: 4 months ago
JSON representation
Dashboard for analyzing Specify 7 usage statistics
- Host: GitHub
- URL: https://github.com/specify/sp7-stats
- Owner: specify
- License: mit
- Created: 2020-06-03T11:31:33.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-09-09T03:44:25.000Z (9 months ago)
- Last Synced: 2025-09-09T06:30:16.709Z (9 months ago)
- Language: PHP
- Homepage: https://max.patii.uk/projects/usage-stats
- Size: 1.18 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Specify 7 Usage Statistics
This website provides some information on the usage
of [Specify 7](https://github.com/specify/specify7).
## Screenshots
Usage stats in list view:

Usage stats in table view:

GitHub repository stats:

## Installation
### Configuration
1. Clone this repository
2. Install Docker and Docker compose
3. Copy `./env.example` file to `./.env` and change the variables as applicable
4. Edit `docker-compose.yml` in all the places where you see `CHANGE THIS:`
5. Copy `./sp7-stats/config/auth.example.conf` to
`./sp7-stats/config/auth.conf` and change the variables as applicable. That
would require you to create a GitHub OAuth
App. [See the instructions](https://github.com/specify/nginx-with-github-auth#installation)
6. Generate `fullchain.pem` and `privkey.pem` (certificate
and the private key) using Let's Encrypt and put (or symlink) these files
into the `./sp7-stats/config/` directory.
While in development, you can generate self-signed certificates:
```sh
openssl req \
-x509 -sha256 -nodes -newkey rsa:2048 -days 365 \
-keyout ./sp7-stats/config/privkey.pem \
-out ./sp7-stats/config/fullchain.pem
```
### Start up
Start the containers: `docker compose up -d`
### Optional settings
You can go over the other settings in the `./sp7-stats/config/optional.php` file
and see if there is anything you would like to adjust.
For example:
1. You can set up daily cron to the following
location `https:///cron/refresh_data.php`. This will automatically
unzip the files and compile the information so that users can get up to date
information.
2. You can change the duration of time before compiled data is considered out of
date by changing `SHOW_DATA_OUT_OF_DATE_WARNING_AFTER`. The default value is
86400 = 1
day[]()