Skip to content

hibenji/repocket_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repocket Stats

What is this?

This is a pretty simple dockerized php page. It shows you the stats of your balance and device amount and displays it on a nice page with a few graphs.

How does it work?

It uses the repocket api to get the data and stores it in a database, once a minute. It then uses the database to display the data on the page. And the docker container uses the alpine-php-webserver docker image to host the page easily.

Example

A screenshot of a sample looking dashbaord. screencapture-api-benji-link-repocket-dash-php-2023-11-16-17_22_15 (1)

How to use?

Using Docker:

docker run -d -p 8070:8080  \
--name=repocket_stats \
-e NAME="<Your nickname>" \
-e EMAIL="<repocket-email>" \
-e PASSWORD="<repocket-password>" \
-v /repocket_stats:/var/www/html/config \
hibenji/repocket_stats

Give access to the config folder (where the database is stored):

sudo chown nobody:nogroup /repocket_stats

Things in <> should be changed, everything else can be leaved as is.

8070: The port it will be hosted at. You can change this to whatever you want.

<Your nickname>: The name you want to be displayed on the page.

<repocket-email>: The email you use to login to repocket.

<repocket-password>: The password you use to login to repocket.

/repocket_stats: The path where the config will be stored. You can change this to whatever you want.

How to access the page?

You can access the page by going to http://<your-ip>:8070 (or whatever port you chose).

About

Simple repocket stats page.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published