mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
7d798448ea6a42e3faac56a1426b4f06d68a83f6
Now displays Recently added to Jellystat via sync and does not only rely on an active connection to Jellyfin It will still show items from jellyfin that have been recently added that are have the DateCreate that is Greater than the Last Date Created item in the list
Jellystat is a free and open source Statistics App for Jellyfin! (This project is still in development - expect some weirdness)
Current Features
- Session Monitoring and logging
- Statistics for all Libraries and Users
- Watch History
- User Overview and activity
- Watch statisitcs
- Backup and restore Data
- Auto sync library items
- Jellyfin Statistics Plugin Integration
Required Development
- Responsive UI
- Code Optimizations
- Security Testing
- More Validations and Error Handling
- Multi-Server support
- More to come
Environmental Variables
| Env | Default | Example | Description |
|---|---|---|---|
| JS_BASE_URL | / | / | Base url |
| JS_USER | null |
User | Master Override User in case username or password used during setup is forgotten (Both JS_USER and JS_PASSWORD required to work) |
| JS_PASSWORD | null |
Password | Master Override Password in case username or password used during setup is forgotten (Both JS_USER and JS_PASSWORD required to work) |
POSTGRES_USER REQUIRED |
null |
postgres | Username that will be used in postgres database |
POSTGRES_PASSWORD REQUIRED |
null |
postgres | Password that will be used in postgres database |
| POSTGRES_DB | jfstat | jfstat | Name of postgres database |
POSTGRES_IP REQUIRED |
null |
jellystat-db/192.168.0.5 | Hostname/IP of postgres instance |
POSTGRES_PORT REQUIRED |
null |
5432 | Port Postgres is running on |
| REJECT_SELF_SIGNED_CERTIFICATES | true | false | Allow or deny self signed SSL certificates |
JWT_SECRET REQUIRED |
null |
my-secret-jwt-key | JWT Key to be used to encrypt JWT tokens for authentication |
| JS_GEOLITE_ACCOUNT_ID | null |
123456 | maxmind.com user id to be used for Geolocating IP Addresses (Can be found at https://www.maxmind.com/en/accounts/current/edit) |
| JS_GEOLITE_LICENSE_KEY | null |
ASDWdaSdawe2sd186 | License key you need to generate on maxmind to use their services |
Getting Started with Development
- Clone the project from git
- set your env variables before strating the server (Variable names as per the docker compose file).
- Run
npm installto install necessary packages - Run
npm run start-serverto only run the backend nodejs server - Run
npm run startto only run the frontend React UI - Run
npm run start-appto run both backend and frontend at the same time
When contributing please ensure to log a pull request on the unstable branch
Launching Jellystat using Docker
Check out our dockerhub to run Jellystat: https://hub.docker.com/r/cyfershepard/jellystat
Environment variables from files (Docker secrets)
You can set any environment variable from a file by using the prefix FILE__
As an example:
jellystat:
environment:
FILE__MYVAR: /run/secrets/MYSECRETFILE
Will set the environment variable MYVAR based on the contents of the /run/secrets/MYSECRETFILE file. see docker secrets for more info.
Screenshots
Support
- Bug reports and feature requests can be submitted via GitHub Issues.
- Join us in our Discord
API Documentation
To-do
Languages
JavaScript
95.5%
CSS
4%
Shell
0.2%
HTML
0.2%