Skip to content

daurpam/emule-homepage

Repository files navigation

Emule Homepage widget

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

Files

  • 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

Run

  1. clone this repo: git clone https://github.com/daurpam/emule-homepage.git
  2. Copy file statistics.ini from your eMule or aMule client
  3. Run command docker-compose up --build -d
  4. Test if info shows in browser with command curl http://localhost:5000/api/emule
  5. Add code of services.yaml in the file of Homepage services.yaml
  6. Modify [SERVER] in services.yaml with your IP or FDQN in which you are running this image
  7. Check if widget load with data

Example

image

Update info

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.

Roadmap

I'll try to add another version to add session stats.

About

Widget and service Emule Stats for Homepage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published