mldonkey-next: bandwidth charts
The original mldonkey webapp includes a useful chart for inspecting the bandwidth used by the mldonkey core. I tried to include the same chart in mldonkey-next, but unfortunately, it seems that the serial interface of mldonkey does not include that data.
By looking at the mldonkey source code, it seems that bandwidth charts are drawn server-side, and the data used to draw those charts are not available elsewhere.
I therefore had to apply a patch to the mldonkey core, to make that data available to the serial interface.
Once data is available, drawing the chart in mldonkey-next is simple. Here is the difference:

This be well visible both on desktop and mobile:

Charts are also updated in real time.
Installation
New versions of the webapp and native app should already include this feature. However, please note that you’ll need a build of the mldonkey-core taken from my fork, which is the only one including the needed patch. As usual, the suggested solution is to use the docker image.
Have fun! 😉
Related Post
Cross-building the Ubuntu Kernel for the Raspberry Pi 4 (arm64)
I recently had to rebuild the Ubuntu kernel for the Raspberry Pi pretty often to [...]Binaries for POT 5.3.0-beta1 on Qt 5.6.0 and Experimental Accelerated QtWebKit
This is an experimental version of POT that includes a few new features. The driver [...]