This docker container expose in a web browser the statistics of the Emule client, to get by a Homepage widget
Main statistics exposed:
- Total bytes uploaded
- Total bytes downloaded
- Total ratio
- Time from last reset of statistics
- Dockerfile: to create the docker image
- api.py: main program
- requirements.txt: python packages required to build image
- docker-compose.yml: file to build and launch container
- services.yaml: code to include on homepage config file
- emule.png: image icon for homepage widget
- statistics.ini: example of stats file from eMule
- clone this repo:
git clone https://github.com/daurpam/emule-homepage.git - Copy file statistics.ini from your eMule or aMule client
- Run command
docker-compose up --build -d - Test if info shows in browser with command
curl http://localhost:5000/api/emule - Add code of services.yaml in the file of Homepage services.yaml
- Modify [SERVER] in services.yaml with your IP or FDQN in which you are running this image
- Check if widget load with data
You can run a schedule program to overwrite statistics.ini file, with a newer version to update data in Homepage widget. There's no need to restart container.
I'll try to add another version to add session stats.